* feat: replace {{ packageName }} in deps' packageImportPath
* chore: extract interpolating to a separate function
* feat: add support for templating in packageInstance too
* docs: add paragraphs about interpolation
* Update packages/platform-android/native_modules.gradle
* Fix GH whitespace changes
* Make the change backwards-compatible
Libraries already expect to be able to use R and BuildConfig
classes without having to worry about their packages. To match the
expectations the script will replace un-fully-qualified references
to fully-qualified.
* Update dependencies.md
* Update native_modules.gradle
* Update native_modules.gradle
Co-authored-by: Mike Grabowski <[email protected]>
* fix: scoped packages with `.` produces incorrect package name
This fixes#1031 (a regression introduced with #910). It also makes sure that the package name contains only allowed chars.
* Fix cleansed name creation
* chore: create sourcemaps
* chore: get coverage for all files
* update collectCoverageFrom
* add files entry to cli-types
* remove scripts from tools
Co-authored-by: Michał Pierzchała <[email protected]>
* fix: script to link all packages
Fix#978
* chore: ignore `global-cli` in lerna config
* adjust glob so it works on mac...
Co-authored-by: Michał Pierzchała <[email protected]>
* Get and use LaunchPackageName in place of pacakageNameWithSuffix
Build system may alter application id for build and flavor purposes. This commit alters the system to not need a packageNameWithSuffix, but instead pull the launch package name directly from the merged manifest and use that to launch it on the device.
* cleanup getLaunchPackageName into it's own file
* Cleanup style
* Added flowtyping to getLaunchPackageName, added a jest test for it.
Also fixed some faulty RegExps as a result of testing.
* Fix grammar in comment
* Move sample files for test to __fixtures__
* Update paths to be OS-agnostic
* Tests passing, barring Windows pathing issue with snapshot
* build flavor test
* move code to platform-android
* reuse test helpers
* fix typescript
* Convert tests to typescript - part 1
* Update index.ts
Co-authored-by: Michał Pierzchała <[email protected]>
Co-authored-by: Chris Fanti <[email protected]>