Skip to content

Commit e5ea4ad

Browse files
revert RN selection script
1 parent a420584 commit e5ea4ad

18 files changed

+17
-1894
lines changed

.github/workflows/pr.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ on:
44
branches:
55
- master
66

7-
env:
8-
react-native-version: "0.74"
9-
107
jobs:
118
build-android:
129
runs-on: macos-latest
@@ -21,10 +18,7 @@ jobs:
2118
working-directory: ./Package
2219

2320
- name: NPM Install (Playground)
24-
run: |
25-
npx tsx scripts/internal/set-react-version.mts ${{ env.react-native-version }}
26-
node scripts/set-permissions-version.js
27-
npm install --legacy-peer-deps
21+
run: npm install
2822
working-directory: ./Apps/Playground
2923
# - name: Build Android Bundle
3024
# run: npm run build:android
@@ -47,10 +41,7 @@ jobs:
4741
working-directory: ./Package
4842

4943
- name: NPM Install (Playground)
50-
run: |
51-
npx tsx scripts/internal/set-react-version.mts ${{ env.react-native-version }}
52-
node scripts/set-permissions-version.js
53-
npm install --legacy-peer-deps
44+
run: npm install
5445
working-directory: ./Apps/Playground
5546

5647
- name: Clean and Install Pods
@@ -91,9 +82,9 @@ jobs:
9182

9283
- name: NPM Install (Playground)
9384
run: |
94-
npx tsx scripts/internal/set-react-version.mts ${{ env.react-native-version }}
95-
node scripts/set-permissions-version.js
96-
npm install --legacy-peer-deps
85+
Copy-Item -Path "package-windows.json" -Destination "package.json" -Force
86+
Copy-Item -Path "package-lock-windows.json" -Destination "package-lock.json" -Force
87+
npm install
9788
working-directory: ./Apps/Playground
9889

9990
# Windows development version need a bundle to be built

Apps/Playground/package-lock-windows.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14410,4 +14410,4 @@
1441014410
}
1441114411
}
1441214412
}
14413-
}
14413+
}

Apps/Playground/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Apps/Playground/package.json

Lines changed: 10 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,20 @@
2121
"@babylonjs/react-native": "file:../../Modules/@babylonjs/react-native",
2222
"@react-native-community/slider": "^4.2.2",
2323
"@react-native/new-app-screen": "0.80.0",
24-
"@rnx-kit/metro-config": "2.1.0",
25-
"react": "18.2.0",
26-
"react-native": "0.73.11",
27-
"react-native-permissions": "4.1.5"
24+
"react": "19.1.0",
25+
"react-native": "0.80.0",
26+
"react-native-permissions": "^5.4.1"
2827
},
2928
"devDependencies": {
3029
"@babel/core": "^7.25.2",
3130
"@babel/preset-env": "^7.25.3",
3231
"@babel/runtime": "^7.25.0",
33-
"@react-native-community/cli": "12.3.7",
34-
"@react-native-community/cli-platform-android": "12.3.7",
35-
"@react-native-community/cli-platform-ios": "12.3.7",
36-
"@react-native/babel-preset": "0.73.21",
32+
"@react-native-community/cli": "19.0.0",
33+
"@react-native-community/cli-platform-android": "19.0.0",
34+
"@react-native-community/cli-platform-ios": "19.0.0",
35+
"@react-native/babel-preset": "0.80.0",
3736
"@react-native/eslint-config": "0.80.0",
38-
"@react-native/metro-config": "0.73.5",
37+
"@react-native/metro-config": "0.80.0",
3938
"@react-native/typescript-config": "0.80.0",
4039
"@types/jest": "^29.5.13",
4140
"@types/react": "^19.1.0",
@@ -45,19 +44,9 @@
4544
"prettier": "2.8.8",
4645
"react-test-renderer": "19.1.0",
4746
"react-native-test-app": "^4.3.15",
48-
"typescript": "5.0.4",
49-
"react-native-macos": "0.73.36",
50-
"react-native-windows": "0.73.22",
51-
"@callstack/react-native-visionos": "0.73.12"
52-
},
53-
"defaultPlatformPackages": {
54-
"android": "react-native",
55-
"ios": "react-native",
56-
"macos": "react-native-macos",
57-
"visionos": "@callstack/react-native-visionos",
58-
"windows": "react-native-windows"
47+
"typescript": "5.0.4"
5948
},
6049
"engines": {
6150
"node": ">=18"
6251
}
63-
}
52+
}

Apps/Playground/scripts/helpers.js

Lines changed: 0 additions & 164 deletions
This file was deleted.

Apps/Playground/scripts/internal/generate-manifest-docs.mts

Lines changed: 0 additions & 85 deletions
This file was deleted.

0 commit comments

Comments
 (0)