Skip to content

Commit

Permalink
[no-issue]: Fix meditrak app build (#4264)
Browse files Browse the repository at this point in the history
* Try frozen lockfile

* Hide output spam

* Bump react-native version
facebook/react-native#35210
  • Loading branch information
IgorNadj authored Nov 15, 2022
1 parent 994fda9 commit b9f8c83
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/meditrak-app/appcenter-post-clone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ nvm use
cd ../..

# install root dependencies
SKIP_BUILD_INTERNAL_DEPENDENCIES=true yarn install
SKIP_BUILD_INTERNAL_DEPENDENCIES=true yarn install --frozen-lockfile

# move to meditrak folder
cd packages/meditrak-app
Expand Down
3 changes: 2 additions & 1 deletion packages/meditrak-app/appcenter-pre-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ else

# install ndk 21.0.6113669 as it's required by realm (https://github.com/realm/realm-js/issues/4740)
SDKMANAGER=$ANDROID_HOME/tools/bin/sdkmanager
echo y | $SDKMANAGER "ndk;21.0.6113669"
# `grep -v = || true` used to hide unnecessary huge output (https://stackoverflow.com/a/52464819)
echo y | $SDKMANAGER "ndk;21.0.6113669" | grep -v = || true
fi
2 changes: 1 addition & 1 deletion packages/meditrak-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"npm-bump": "^0.0.23",
"prop-types": "^15.7.2",
"react": "16.13.1",
"react-native": "^0.63.4",
"react-native": "^0.63.5",
"react-native-database": "^0.1.7",
"react-native-device-info": "^7.2.1",
"react-native-dotenv": "^0.2.0",
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5462,7 +5462,7 @@ __metadata:
npm-bump: ^0.0.23
prop-types: ^15.7.2
react: 16.13.1
react-native: ^0.63.4
react-native: ^0.63.5
react-native-database: ^0.1.7
react-native-device-info: ^7.2.1
react-native-dotenv: ^0.2.0
Expand Down Expand Up @@ -28931,9 +28931,9 @@ __metadata:
languageName: node
linkType: hard

"react-native@npm:^0.63.4":
version: 0.63.4
resolution: "react-native@npm:0.63.4"
"react-native@npm:^0.63.5":
version: 0.63.5
resolution: "react-native@npm:0.63.5"
dependencies:
"@babel/runtime": ^7.0.0
"@react-native-community/cli": ^4.10.0
Expand Down Expand Up @@ -28966,7 +28966,7 @@ __metadata:
react: 16.13.1
bin:
react-native: ./cli.js
checksum: 6a603230dda3ce5a3bf093420727148dc157629e05f577f317382fa0384c59dfee796031736a653bc9743b8bb79e014613614ee27f9fa05b3733baffbade3958
checksum: 9d59867c9b59b84317d3522d4c947fcb6a452b0e535811874e75d8d32ebcd8655ac15cdeb8e792b132aee84b763b09f80a4be08f1d88a726157b13b7fcb841dd
languageName: node
linkType: hard

Expand Down

0 comments on commit b9f8c83

Please sign in to comment.