Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:

jobs:
build-android:
runs-on: macos-latest
runs-on: macos-15
steps:
- name: Checkout Repo
uses: actions/checkout@v4.2.2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
build-iOS:
runs-on: macos-latest
runs-on: macos-15
steps:
- name: Checkout Repo
uses: actions/checkout@v4.2.2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:

jobs:
package:
runs-on: macos-latest
runs-on: macos-15
steps:
- name: Checkout Repo
uses: actions/checkout@v4.2.2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
uses: ./.github/workflows/package.yml

publish:
runs-on: macos-latest
runs-on: macos-15
needs: [package]
steps:
- name: Setup Node.js
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: ./.github/workflows/package.yml

publish:
runs-on: macos-latest
runs-on: macos-15
needs: [package]
steps:
- name: Setup Node.js
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
build-test-android:
runs-on: macos-latest
runs-on: macos-15
steps:
- name: Checkout Repo
uses: actions/checkout@v4.2.2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
build-test-iOS:
runs-on: macos-latest
runs-on: macos-15
steps:
- name: Checkout Repo
uses: actions/checkout@v4.2.2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_call
jobs:
Build:
runs-on: macos-latest
runs-on: macos-15
steps:
- name: Checkout Repo
uses: actions/checkout@v4.2.2
Expand Down
4 changes: 3 additions & 1 deletion Apps/Playground/android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ android.jetifier.ignorelist=hermes-android
# Use this property to specify which architecture you want to build.
# You can also override it from the CLI using
# ./gradlew <task> -PreactNativeArchitectures=x86_64
reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
# NOTE: the 32-bit x86 ABI is not supported. bgfx's bx requires SSE4.x
# intrinsics, which are above the Android x86 ABI baseline (SSSE3).
reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86_64

# Use this property to enable support to the new architecture.
# This will allow you to use TurboModules and the Fabric render in
Expand Down
1 change: 1 addition & 0 deletions Apps/Playground/babel.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
module.exports = {
presets: ['module:@react-native/babel-preset'],
plugins: ['dynamic-import-node'],
};
9 changes: 7 additions & 2 deletions Apps/Playground/metro.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
const path = require("path");

const { makeMetroConfig } = require("@rnx-kit/metro-config");
module.exports = makeMetroConfig({
const { getDefaultConfig, mergeConfig } = require("@react-native/metro-config");

module.exports = mergeConfig(getDefaultConfig(__dirname), {
resolver: {
disableHierarchicalLookup: true,
nodeModulesPaths: [path.resolve(__dirname, "node_modules")],
},
transformer: {
getTransformOptions: async () => ({
transform: {
Expand Down
83 changes: 31 additions & 52 deletions Apps/Playground/package-lock-windows.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@
"name": "Playground",
"version": "0.0.1",
"dependencies": {
"@babylonjs/core": "9.0.0",
"@babylonjs/loaders": "9.0.0",
"@babylonjs/core": "9.22.2",
"@babylonjs/loaders": "9.22.2",
"@babylonjs/react-native": "file:../../Modules/@babylonjs/react-native",
"@react-native-community/slider": "^4.2.2",
"@react-native/new-app-screen": "^0.81.4",
"@rnx-kit/metro-config": "2.1.0",
"base-64": "^1.0.0",
"react": "19.1.4",
"react-native": "^0.81.4",
Expand All @@ -32,6 +31,7 @@
"@types/jest": "^29.5.13",
"@types/react": "^19.1.0",
"@types/react-test-renderer": "^19.1.0",
"babel-plugin-dynamic-import-node": "^2.3.3",
"eslint": "^8.19.0",
"jest": "^29.6.3",
"prettier": "2.8.8",
Expand Down Expand Up @@ -10461,11 +10461,15 @@
}
},
"node_modules/@babylonjs/core": {
"version": "9.0.0",
"version": "9.22.2",
"resolved": "https://registry.npmjs.org/@babylonjs/core/-/core-9.22.2.tgz",
"integrity": "sha512-jCtGm33D9BLdcEivgaaulhcCzOfYDib0oO7lPL2Yk2N3aITpaI/xgbyLscFlUVIerdma3WRs7sI/NZNlbNAo0A==",
"license": "Apache-2.0"
},
"node_modules/@babylonjs/loaders": {
"version": "9.0.0",
"version": "9.22.2",
"resolved": "https://registry.npmjs.org/@babylonjs/loaders/-/loaders-9.22.2.tgz",
"integrity": "sha512-OhT6o+xhjT58FUAcOC5SuIpbFCkV6urV8JPRDlE5SgKIzZlc+T5JPLrdzJaoC4ZosgJFcHWFVQKomaByWLua6w==",
"license": "Apache-2.0",
"peerDependencies": {
"@babylonjs/core": "^9.0.0",
Expand Down Expand Up @@ -12062,28 +12066,6 @@
}
}
},
"node_modules/@rnx-kit/metro-config": {
"version": "2.1.0",
"license": "MIT",
"dependencies": {
"@rnx-kit/tools-node": "^3.0.0",
"@rnx-kit/tools-react-native": "^2.0.0",
"@rnx-kit/tools-workspaces": "^0.2.0"
},
"engines": {
"node": ">=16.17"
},
"peerDependencies": {
"@react-native/metro-config": "*",
"react": "*",
"react-native": "*"
},
"peerDependenciesMeta": {
"@react-native/metro-config": {
"optional": true
}
}
},
"node_modules/@rnx-kit/react-native-host": {
"version": "0.5.16",
"dev": true,
Expand All @@ -12097,6 +12079,7 @@
},
"node_modules/@rnx-kit/tools-filesystem": {
"version": "0.2.0",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=18.12"
Expand All @@ -12112,6 +12095,7 @@
},
"node_modules/@rnx-kit/tools-node": {
"version": "3.0.4",
"dev": true,
"license": "MIT",
"dependencies": {
"@rnx-kit/types-node": "^1.0.0"
Expand All @@ -12122,6 +12106,7 @@
},
"node_modules/@rnx-kit/tools-react-native": {
"version": "2.3.7",
"dev": true,
"license": "MIT",
"dependencies": {
"@rnx-kit/tools-filesystem": "^0.2.0",
Expand All @@ -12132,22 +12117,9 @@
"node": ">=16.17"
}
},
"node_modules/@rnx-kit/tools-workspaces": {
"version": "0.2.3",
"license": "MIT",
"dependencies": {
"fast-glob": "^3.2.7",
"find-up": "^5.0.0",
"micromatch": "^4.0.0",
"read-yaml-file": "^2.1.0",
"strip-json-comments": "^3.1.1"
},
"engines": {
"node": ">=16.17"
}
},
"node_modules/@rnx-kit/types-bundle-config": {
"version": "1.0.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@rnx-kit/types-metro-serializer-esbuild": "^1.0.0",
Expand All @@ -12169,6 +12141,7 @@
},
"node_modules/@rnx-kit/types-kit-config": {
"version": "1.0.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@rnx-kit/types-bundle-config": "^1.0.0"
Expand All @@ -12179,13 +12152,15 @@
},
"node_modules/@rnx-kit/types-metro-serializer-esbuild": {
"version": "1.0.1",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=18.12"
}
},
"node_modules/@rnx-kit/types-node": {
"version": "1.0.0",
"dev": true,
"license": "MIT",
"dependencies": {
"@rnx-kit/types-kit-config": "^1.0.0"
Expand All @@ -12196,20 +12171,23 @@
},
"node_modules/@rnx-kit/types-plugin-cyclic-dependencies": {
"version": "1.0.0",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=18.12"
}
},
"node_modules/@rnx-kit/types-plugin-duplicates-checker": {
"version": "1.0.0",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=18.12"
}
},
"node_modules/@rnx-kit/types-plugin-typescript": {
"version": "1.0.0",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=18.12"
Expand Down Expand Up @@ -12933,6 +12911,16 @@
"@babel/core": "^7.8.0"
}
},
"node_modules/babel-plugin-dynamic-import-node": {
"version": "2.3.3",
"resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz",
"integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"object.assign": "^4.1.0"
}
},
"node_modules/babel-plugin-istanbul": {
"version": "6.1.1",
"license": "BSD-3-Clause",
Expand Down Expand Up @@ -18695,17 +18683,6 @@
"dev": true,
"license": "MIT"
},
"node_modules/read-yaml-file": {
"version": "2.1.0",
"license": "MIT",
"dependencies": {
"js-yaml": "^4.0.0",
"strip-bom": "^4.0.0"
},
"engines": {
"node": ">=10.13"
}
},
"node_modules/readable-stream": {
"version": "3.6.2",
"license": "MIT",
Expand Down Expand Up @@ -19535,6 +19512,7 @@
},
"node_modules/strip-bom": {
"version": "4.0.0",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
Expand All @@ -19556,6 +19534,7 @@
},
"node_modules/strip-json-comments": {
"version": "3.1.1",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
Expand Down
Loading
Loading