Skip to content

Commit

Permalink
fix(ci): bundle app before building
Browse files Browse the repository at this point in the history
  • Loading branch information
szymonrybczak committed Jun 25, 2024
1 parent 311825a commit 83db2d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"android": "react-native run-android --appId com.pagerviewexample",
"build:android": "npm run mkdist && react-native bundle --entry-file index.js --platform android --dev true --bundle-output dist/main.android.jsbundle --assets-dest dist/res",
"build:ios": "npm run mkdist && react-native bundle --entry-file index.js --platform ios --dev true --bundle-output dist/main.ios.jsbundle --assets-dest dist",
"build:visionos": "npm run mkdist && react-native bundle --entry-file index.js --platform ios --dev true --bundle-output dist/main.visionos.jsbundle --assets-dest dist",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"bootstrap-no-pods": "yarn example && yarn",
"bootstrap-fabric": "yarn example && yarn && yarn example pods-fabric",
"test:e2e:android": "bash ./scripts/run-maestro-tests.sh android",
"run-example-android": "cd example;react-native run-android --mode \"Release\"",
"run-example-ios": "cd example;react-native run-ios --mode \"Release\" --simulator \"iPhone 13 (15.2)\"",
"run-example-android": "cd example;yarn build:android;react-native run-android --mode \"Release\" --appId com.pagerviewexample",
"run-example-ios": "cd example;yarn build:ios;react-native run-ios --mode \"Release\"",
"test:e2e:ios": "bash ./scripts/run-maestro-tests.sh ios"
},
"keywords": [
Expand Down

0 comments on commit 83db2d2

Please sign in to comment.