File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8787
8888 # == IntegratedTester ==
8989
90+ - name : Generate Brownie stores
91+ run : yarn run brownie:codegen
92+
9093 - name : Build integrated Android tester app
9194 run : yarn run build:tester-integrated:android
9295
@@ -95,12 +98,12 @@ jobs:
9598 - name : Package AAR with the Brownfield CLI
9699 run : |
97100 cd apps/RNApp
98- node ../../packages/cli/dist/index.js package:android --module-name :BrownfieldLib --variant release
101+ yarn run brownie: package:android
99102
100103 - name : Publish AAR artifact to Maven Local
101104 run : |
102105 cd apps/RNApp
103- node ../../packages/cli/dist/index.js publish:android --module-name :BrownfieldLib
106+ yarn run brownie: publish:android
104107
105108 - name : Verify debug AAR exists in Maven Local
106109 run : stat ~/.m2/repository/com/rnapp/brownfieldlib/0.0.1-local/brownfieldlib-0.0.1-local-debug.aar
@@ -176,7 +179,7 @@ jobs:
176179 - name : Package iOS framework with the Brownfield CLI
177180 run : |
178181 cd apps/RNApp
179- node ../../packages/cli/dist/index.js package:ios --scheme BrownfieldLib --configuration Release
182+ yarn run brownie: package:ios
180183
181184 # == AppleApp ==
182185
Original file line number Diff line number Diff line change 77 "ios" : " react-native run-ios" ,
88 "build:example:android-rn" : " react-native build-android" ,
99 "build:example:ios-rn" : " react-native build-ios" ,
10+ "brownie:package:android" : " brownie package:android --module-name :BrownfieldLib --variant release" ,
11+ "brownie:publish:android" : " brownie publish:android --module-name :BrownfieldLib" ,
12+ "brownie:package:ios" : " brownie package:ios --scheme BrownfieldLib --configuration Release" ,
1013 "lint" : " eslint ." ,
1114 "start" : " react-native start" ,
1215 "test" : " jest"
2528 "@babel/core" : " ^7.25.2" ,
2629 "@babel/preset-env" : " ^7.25.3" ,
2730 "@babel/runtime" : " ^7.25.0" ,
31+ "@callstack/brownie-cli" : " workspace:^" ,
2832 "@react-native-community/cli" : " 20.0.0" ,
2933 "@react-native-community/cli-platform-android" : " 20.0.0" ,
3034 "@react-native-community/cli-platform-ios" : " 20.0.0" ,
Original file line number Diff line number Diff line change 66 "start" : " react-native start" ,
77 "build:tester-integrated:android" : " cd kotlin && ./gradlew assembleDebug" ,
88 "build:tester-integrated:ios" : " cd swift && xcodebuild -workspace SwiftExample.xcworkspace -scheme SwiftExample -configuration Release -sdk iphonesimulator build CODE_SIGNING_ALLOWED=NO -derivedDataPath ./build" ,
9- "codegen" : " brownie codegen"
9+ "brownie: codegen" : " brownie codegen"
1010 },
1111 "dependencies" : {
1212 "@callstack/brownie" : " *" ,
2222 "@babel/core" : " ^7.25.2" ,
2323 "@babel/preset-env" : " ^7.25.3" ,
2424 "@babel/runtime" : " ^7.25.0" ,
25+ "@callstack/brownie-cli" : " workspace:^" ,
2526 "@react-native-community/cli" : " 20.0.0" ,
2627 "@react-native-community/cli-platform-android" : " 20.0.0" ,
2728 "@react-native-community/cli-platform-ios" : " 20.0.0" ,
Original file line number Diff line number Diff line change @@ -1542,6 +1542,7 @@ __metadata:
15421542 "@babel/core": "npm:^7.25.2"
15431543 "@babel/preset-env": "npm:^7.25.3"
15441544 "@babel/runtime": "npm:^7.25.0"
1545+ "@callstack/brownie-cli": "workspace:^"
15451546 "@callstack/react-native-brownfield": "npm:*"
15461547 "@react-native-community/cli": "npm:20.0.0"
15471548 "@react-native-community/cli-platform-android": "npm:20.0.0"
@@ -1665,6 +1666,7 @@ __metadata:
16651666 "@babel/preset-env": "npm:^7.25.3"
16661667 "@babel/runtime": "npm:^7.25.0"
16671668 "@callstack/brownie": "npm:*"
1669+ "@callstack/brownie-cli": "workspace:^"
16681670 "@callstack/react-native-brownfield": "npm:*"
16691671 "@react-native-community/cli": "npm:20.0.0"
16701672 "@react-native-community/cli-platform-android": "npm:20.0.0"
You can’t perform that action at this time.
0 commit comments