Skip to content

Commit

Permalink
updated nvm to use 16
Browse files Browse the repository at this point in the history
  • Loading branch information
sahil-rokt committed Nov 29, 2024
1 parent 1f3610e commit 852047b
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ steps:
- rbenv local 3.2.2
- cd RoktSampleApp
- xcrun simctl boot "iPhone 15" || true
- nvm use 12
- nvm use 16
- npm install pm2 -g
- npm install
- pm2 stop all || true
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/release.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ steps:
- git checkout "v$(buildkite-agent meta-data get VERSION)"
- cd RoktSampleApp
- xcrun simctl boot "iPhone 15" || true
- nvm use 12
- nvm use 16
- npm install pm2 -g
- npm install
- pm2 stop all || true
Expand Down
19 changes: 19 additions & 0 deletions RoktSampleApp/android/app/build_defs.bzl
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
"""Helper definitions to glob .aar and .jar targets"""

def create_aar_targets(aarfiles):
for aarfile in aarfiles:
name = "aars__" + aarfile[aarfile.rindex("/") + 1:aarfile.rindex(".aar")]
lib_deps.append(":" + name)
android_prebuilt_aar(
name = name,
aar = aarfile,
)

def create_jar_targets(jarfiles):
for jarfile in jarfiles:
name = "jars__" + jarfile[jarfile.rindex("/") + 1:jarfile.rindex(".jar")]
lib_deps.append(":" + name)
prebuilt_jar(
name = name,
binary_jar = jarfile,
)
6 changes: 3 additions & 3 deletions RoktSampleApp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
"react-native-toast-message": "2.1.5"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/runtime": "^7.12.5",
"@babel/core": "^7.13.0",
"@babel/runtime": "^7.13.0",
"@react-native-community/eslint-config": "^2.0.0",
"babel-jest": "^26.6.3",
"eslint": "^7.32.0",
"eslint": "7.32.0",
"jest": "^26.6.3",
"metro-react-native-babel-preset": "0.72.3",
"react-test-renderer": "18.1.0"
Expand Down

0 comments on commit 852047b

Please sign in to comment.