Commit Graph
158 Commits
Author SHA1 Message Date
Kacper Wiszczuk 8cac6b010d v4.10.0 2020-06-04 20:04:23 +02:00
Hung-Wei Wu 6bd0b3263a chore: upgrade logkitty to 0.7.1 2020-05-26 22:43:53 +02:00
Kacper Wiszczuk 48136adfb8 v4.9.0 2020-05-18 16:25:48 +02:00
Kacper Wiszczuk f497f5a9f1 imp: Manifest cleanup (#1162) 2020-05-08 12:31:18 +02:00
Jussi Kinnula 4743f923b2 Fix Android project's configuration manifestPath is not used… (#1160) 2020-05-08 11:18:48 +02:00
Michał Pierzchała 3061e2cf43 fix: bring back --appId flag; fix wrong appName instructions (#1155)
* docs: fix wrong appName instructions

* fixup deprecation warnings

* revert faulty appId deprecation
2020-05-08 09:56:23 +02:00
Michał Pierzchała 65aaa0a113 v4.8.0 2020-04-24 18:53:10 +02:00
Bartosz Kaszubowski a5d837543d chore: update docs link in the Android installation error messa… (#1125) 2020-04-22 16:00:02 +02:00
Vojtech Novak bd20b37e28 fix: do not ignore androidProject.sourceDir option (#1122) 2020-04-20 21:58:16 +02:00
Kacper Wiszczuk d72a28ab3a v4.7.0 2020-04-14 15:25:55 +02:00
Michał Pierzchała dca351d037 v4.6.3 2020-04-08 18:01:08 +02:00
Michał Pierzchała 9bd7a5eb5f v4.6.2 2020-04-08 17:43:10 +02:00
Michał Pierzchała 0c068d1d1b v4.6.1 2020-04-08 17:38:51 +02:00
Kacper Wiszczuk 44af4821c5 v4.6.0 2020-04-06 17:08:16 +02:00
Kacper Wiszczuk 2d63746600 fix: split output by EOL (#1098) 2020-04-05 22:17:13 +02:00
Michał Pierzchała e686c15940 v4.5.1 2020-04-01 19:02:10 +02:00
Christian Brevik 1675af5450 fix: don't use appIdSuffix to generate run task (#1087)
* fix: don't use appidsuffix to generate run task

* fix lint
2020-03-31 20:01:23 +02:00
Michał Pierzchała a4a0f78491 v4.5.0 2020-03-30 14:39:22 +02:00
Trevor Cook 4c8af54e29 fix: android config returns incorrect paths (#1080)
* docs: update Android config typedef

* fix: android config returning incorrect paths
2020-03-29 17:34:04 +02:00
Michał Pierzchała 4824113076 v4.4.0 2020-03-25 12:31:55 +01:00
Stanisław ChmielaandMike Grabowski c98214af60 feat: do not import BuildConfig/R, but use FQDN reference (#871)
* 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]>
2020-03-19 18:22:06 +01:00
Mike GrabowskiandMichał Pierzchała 21f1b03c01 fix: custom root or calling Gradle outside of project directory (#1057)
* fix: custom root

* chore: dont re-create file

* chore: refactor Jest helpers to allow arbitrary scripts to run

* chore: rename

* chore: add e2e test

* chore: no snapshot testing for Gradle output

* chore: final tweaks and uncomment cleanup

* fix: use proper env for e2e

* chore: move everything to beforeAll

* Update jest/helpers.ts

Co-Authored-By: Michał Pierzchała <[email protected]>

* chore: naming updates

* chore: address comments

Co-authored-by: Michał Pierzchała <[email protected]>
2020-03-18 16:48:49 +01:00
Michał Pierzchała 79498d598e followup: fix what #1029 broke (#1053)
* followup: fix what #1029 broke

* get rid of appName from dependencies
2020-03-16 16:47:49 +01:00
Michał Pierzchała 19ac71f02c feat(android): add appName; deprecate root, appFolder, appId (#1029)
* feat: add appName; deprecate root, appFolder, appId

* add deprecation warnings
2020-03-16 14:39:08 +01:00
Michał Pierzchała 0f80035053 chore: revert "fix: Metro Bundler crashing on run-android on Windows (#489)" (#1052) 2020-03-14 17:51:32 +01:00
Elvinas 3f37b390d6 fix: scoped packages with . produces incorrect package name (#1033)
* 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
2020-03-11 12:58:38 +01:00
Michał Pierzchała 6cded84050 v4.3.0 2020-03-10 15:40:09 +01:00
grabbou 9092319332 v4.2.3 2020-03-04 14:20:12 +01:00
grabbou a70064bfbe Revert "chore: remove extraneous properties from the run-android doc"
This reverts commit ca4a0aeb78.
2020-03-03 17:32:31 +01:00
Michał Pierzchała 6b44357800 v4.2.2 2020-02-28 10:13:03 +01:00
Antón Molleda ad49a0a4eb Fix: add missing dependencies (#1020)
* fix: missing dependencies

Fix #1017

* chore: make `build-clean(-all)` work cross-platform
2020-02-26 08:17:41 +01:00
Michał Pierzchała 5c7a7934c4 chore: update RN docs links to reactnative.dev (#1016) 2020-02-25 20:46:16 +01:00
Michał Pierzchała 69c3703aad v4.2.1 2020-02-25 18:27:20 +01:00
Michał Pierzchała 59f2ac11d0 chore: don't publish maps and d.ts 2020-02-25 18:26:19 +01:00
Michał Pierzchała c311e02027 v4.2.0 2020-02-25 17:52:53 +01:00
Antón MolledaandMichał Pierzchała be0335be51 Create sourcemaps for easier debugging (#996)
* 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]>
2020-02-24 20:42:58 +01:00
Michał Pierzchała 9560d0d530 chore: upgrade chalk to v3 (#1003) 2020-02-23 21:17:55 +01:00
Michał Pierzchała f1209fca4e v4.1.1 2020-02-21 18:42:08 +01:00
Michał Pierzchała 0f553e78f5 chore: use script to link packages because lerna is buggy (#1000) 2020-02-21 18:40:40 +01:00
Michał Pierzchała d74bd88f52 Revert "feat: run-android respects applicationId from build.gradle when running app " (#999)
* Revert "feat: run-android respects applicationId from build.gradle when running app  (#934)"

This reverts commit ada3e497325b5b3d0441f620d6ad276e4d773bd5.

* fix types
2020-02-21 17:44:29 +01:00
Antón MolledaandMichał Pierzchała 1c93b9b46e fix: script to link all packages (#988)
* 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]>
2020-02-20 22:12:13 +01:00
Michał Pierzchała e69def803a v4.0.2 2020-02-14 13:09:57 +01:00
Michał Pierzchała 55eb34b6e0 fix: resolve CLI through react-native to avoid hoisting issues (#973)
* fix: resolve CLI through react-native to avoid hoisting issues

* fix tests
2020-02-14 13:04:44 +01:00
Michał Pierzchała 17351905b9 v4.0.1 2020-02-14 10:23:27 +01:00
Michał Pierzchała 04dd30df47 fix: correctly resolve cli path in directories containing spaces (#969)
* fix(android): correctly resolve cli path in projects containing spaces

* fix iOS too
2020-02-14 10:11:36 +01:00
Mike Grabowski 9ad9b679ee fix: running Android builds on Windows (#966)
* fix: machines where shebang doesnt work

* fix: update

* fix: revert that change
2020-02-13 23:50:08 +01:00
grabbou 40ad80d92f v4.0.0 2020-02-05 17:22:23 +01:00
grabbou ca4a0aeb78 chore: remove extraneous properties from the run-android doc 2020-02-05 17:20:53 +01:00
19c556070f feat: run-android respects applicationId from build.gradle when running app (#934)
* 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]>
2020-02-05 17:20:47 +01:00
grabbou ae2ebe1e81 v3.0.5-alpha.1 2020-02-05 16:58:16 +01:00