Commit cbcc18d
feat: unify expo and bare RN in ReactNativeBrownfield (#234)
* chore: bootstrapped demo Expo app
* chore: use expo config plugin in expo demo app
* chore: reset Expo project
* chore: use workspace specifier for monorepo deps
* fix: do not toss up source sets in Gradle plugin
* feat: base implementation for brownfield Expo config plugin
* chore: update lock files
* chore: update app.json in ExpoApp
* chore: enable debug logging in app.json in ExpoApp
* feat: use new logging system in the plugin
* feat: templates engine for project modifications
* feat: patch for Expo SDK pre v55, fix source file paths
* feat: implemented Android brownfield plugin
* chore: update ExpoApp scripts
* fix: dedent gradle script insertion
* fix: depend on Material in AndroidApp; fix typo in gradle scripting comments
* fix: package name in ExpoApp
* chore: use debug signing config for AndroidApp release variant - for testing purposes
* chore: missing indent in gradleHelpers insertion
* fix: add missing expo modifications to template build.gradle.kts
* chore: use the Expo classes in template ReactNativeHostManager.kt
* fix: iOS xcode project processing of target UUID
* fix: make Android Expo config explicitly specify versions of RN Android deps to be properly resolved by Gradle when consumed
* fix: running package:ios again
* chore: udpate rock to 0.12.8
* chore: make nodemon watch template files in dev script for brownfield package
* chore: reformat files, extract capitalized string helper, suppress unchecked cast compilation warnings
* chore: deintegrate isExpo gradle plugin prop in favor of auto-detection
* chore: typo in Android native demo app theme name
* feat: config Maven publishing for part of the core expo modules
* fix: correct artifact, group and version discovery for manually whitelisted publishable projects
* feat: inject transitive dependencies into POM publication files
* feat: instead of publishing, inject proper POM and Gradle Module JSON metadata with Expo transitive deps
* feat: functional Expo demo in AndroidApp
* chore: re-enable signing of gradle plugin
* chore: use 0.0.1-snapshot by default in Expo plugin on Android
* fix: filter out remaining expo transitive dependencies, add version mediation mechanisms
* feat: seamless integration of Expo features into the brownfield CLI
* refactor: restructure RNApp sources
* feat: reuse RNApp sources in ExpoApp
* feat: set up flavors for AndroidApp to consume expo or vanilla artifacts
* ci: update CI to account for AndroidApp flavors
* chore: remove obsolete comment
* fix: monorepo-prone expo detection in CLI
* feat: proper code sharing for RN demo apps
* fix: make ReactNativeHostManager singatures match across flavors, properly initialize React Native
* fix: restore .brownie.ts files in each project for codegen to work properly
* feat: added an image view to the demo app
* chore: strip obsolete comment
* fix: proper module name in ios script
* fix: brownie not to crash on Android
* fix: handle brownie no stores in project in the CLI
* feat: demo apps reorganized, pulled in clean template for expo app
* feat: integrate brownie store with Expo demo app
* docs: update docs
* feat: temporarily deintegrate brownie from expo demo before android is implemented in brownie
* chore: rename expo app project
* chore: re-enable signing of the gradle plugin
* chore: add changesets
* refactor: format files
* fix(ci): path to RN project in androidapp-road-test
* refactor: format files to comply with detekt
* chore: revert changes to brownie
* fix: paths in packageIos in RN projects
* ci: update workflow for Apple apps
* feat: demo iOS app supporting interchanging brownfield artifacts
* fix: patchExpoPre55.sh
* fix: reorder build phases in iOS to first run patching after expo configure
* wip: reorder build script phases PoC for Expo config plugin
* chore: reorder code properly
* chore: use SNAPSHOT for CI and local
* chore: add plugin publish and patch scripts for local maven
* chore: fix appleapp-road-test ci
* chore: use macos runner for appleapp CI
* fix(ci): update maven path for expo flavor
* fix(ci): expo android
* feat: ensure build phase correct order using post_integrate
* feat: add ReactNativeHostManager to source files
* fix: use the bundleURL in loadView
* feat: present Expo RN UI in Apple App
* chore: use latest version for brownfield-gradle-plugin
* feat: add source files to PBXSourcesBuildPhase
* feat: allow entry points other than main
* feat: add configuration for vanilla and expo to AppleApp
* fix: add info.plist to AppleApp
* fix: bundle reference
* fix(ci): add guard to only run pods for vanilla
* docs: update ExpoApp usages
* feat: remove coil dependency from plugin to the lib
* refactor: remove TODO comments
* feat: guard script reordering against expo version
* feat: separate brownie usage by platform
* chore: build android app with release variant
* docs: add Expo Integration section
* chore: bump versions
* fix: remove color prop
* Update docs/docs/docs/getting-started/expo.mdx
Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
* Update docs/docs/docs/getting-started/expo.mdx
Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
* docs: remove images
* refactor: fix indentation
* feat: unify expo and bare RN in ReactNativeBrownfield
* chore: remove changeset bump
* refactor: remove unused property and enforce failure
* refactor: split classes by concerns
* refactor: move duplicate code to a shareable resource
* fix: make the class internal
* chore: podfile changes
* feat: add JSBundle load for Expo and make it reusable
* fix: fail early for non-extension bundle path
* docs: update
---------
Co-authored-by: artus9033 <artus9033@gmail.com>
Co-authored-by: Michał Pierzchała <thymikee@gmail.com>1 parent 5a18a76 commit cbcc18d
File tree
15 files changed
+459
-221
lines changed- apps
- AppleApp/Brownfield Apple App
- RNApp/ios
- docs/docs/docs/getting-started
- packages/react-native-brownfield
- ios
- src/expo-config-plugin
- ios
- template/ios
15 files changed
+459
-221
lines changedLines changed: 5 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 13 | + | |
18 | 14 | | |
19 | 15 | | |
20 | 16 | | |
| |||
23 | 19 | | |
24 | 20 | | |
25 | 21 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | 22 | | |
30 | 23 | | |
31 | 24 | | |
32 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
33 | 29 | | |
| 30 | + | |
34 | 31 | | |
35 | 32 | | |
36 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 19 | + | |
42 | 20 | | |
43 | 21 | | |
44 | 22 | | |
45 | 23 | | |
46 | | - | |
| 24 | + | |
47 | 25 | | |
48 | 26 | | |
49 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2350 | 2350 | | |
2351 | 2351 | | |
2352 | 2352 | | |
2353 | | - | |
| 2353 | + | |
2354 | 2354 | | |
2355 | 2355 | | |
2356 | 2356 | | |
| |||
2843 | 2843 | | |
2844 | 2844 | | |
2845 | 2845 | | |
2846 | | - | |
| 2846 | + | |
2847 | 2847 | | |
2848 | 2848 | | |
2849 | 2849 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
123 | 127 | | |
124 | 128 | | |
125 | 129 | | |
| |||
140 | 144 | | |
141 | 145 | | |
142 | 146 | | |
143 | | - | |
| 147 | + | |
144 | 148 | | |
145 | 149 | | |
146 | 150 | | |
147 | 151 | | |
148 | | - | |
| 152 | + | |
149 | 153 | | |
150 | | - | |
151 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
152 | 157 | | |
153 | 158 | | |
154 | | - | |
155 | | - | |
| 159 | + | |
156 | 160 | | |
157 | 161 | | |
158 | 162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
Lines changed: 140 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
Lines changed: 38 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments