From e4a1fa17b16d008d4636ad0626f98476f3529c3b Mon Sep 17 00:00:00 2001 From: Simone De Vittorio <57841624+simonedevit@users.noreply.github.com> Date: Sat, 28 Nov 2026 11:57:34 +0100 Subject: [PATCH 1/4] ci(general): test on Node.js 22, 24 and 26 LTS #20 - run the test (pull requests) and build (push on main) workflows on a Node.js 22.x, 24.x and 26.x matrix - add a "test" job summing up the matrix result, so the check required by the branch protection rule of main keeps working - upgrade actions/checkout and actions/setup-node from v2 to v7 (actions based on Node.js 20 are deprecated on GitHub runners) --- .github/workflows/build.yml | 14 ++++++++++---- .github/workflows/test.yml | 29 ++++++++++++++++++++++++----- 2 files changed, 34 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b5dc4ba..e4de5f5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,16 +6,22 @@ on: - main jobs: build: + name: build (Node.js ${{ matrix.node-version }}) runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + # Node.js LTS lines declared in the "engines" field of package.json files + node-version: ['22.x', '24.x', '26.x'] steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v7 - - name: Set up Node.js - uses: actions/setup-node@v2 + - name: Set up Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v7 with: - node-version: '^22.11.0' + node-version: ${{ matrix.node-version }} - name: Install dependencies run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 28c13e8..6b07a40 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,17 +5,23 @@ on: branches: - main jobs: - test: + test-matrix: + name: test (Node.js ${{ matrix.node-version }}) runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + # Node.js LTS lines declared in the "engines" field of package.json files + node-version: ['22.x', '24.x', '26.x'] steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v7 - - name: Set up Node.js - uses: actions/setup-node@v2 + - name: Set up Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v7 with: - node-version: '^22.11.0' + node-version: ${{ matrix.node-version }} - name: Install dependencies run: | @@ -24,3 +30,16 @@ jobs: - name: Run tests with Jest run: npm test working-directory: packages/library + + # Single status check summing up the whole matrix: it is the "test" check required by + # the branch protection rule of main, so the rule doesn't need to change with the matrix. + test: + if: ${{ always() }} + needs: test-matrix + runs-on: ubuntu-latest + + steps: + - name: Check test matrix result + run: | + echo "Test matrix result: ${{ needs.test-matrix.result }}" + test "${{ needs.test-matrix.result }}" = "success" From 68358b0994add3a73908630b8b99c47fd24fc8a0 Mon Sep 17 00:00:00 2001 From: Simone De Vittorio <57841624+simonedevit@users.noreply.github.com> Date: Sat, 28 Nov 2026 11:57:41 +0100 Subject: [PATCH 2/4] chore(general): update npm package metadata Improve description and keywords, add bugs URL and repository type, move author and drop homepage. --- packages/library/package.json | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/packages/library/package.json b/packages/library/package.json index c71b883..296cc62 100644 --- a/packages/library/package.json +++ b/packages/library/package.json @@ -1,12 +1,16 @@ { "name": "reactylon", "version": "3.5.8", - "description": "A powerful multiplatform framework built on Babylon.js and React, designed to create interactive and immersive 3D experiences.", + "description": "Reactylon: a powerful multiplatform React framework built on Babylon.js, designed to create interactive and immersive 3D and XR (VR/AR/MR) experiences for web, mobile and headsets.", "type": "module", "main": "index.js", "types": "index.d.ts", - "homepage": "https://reactylon.com/docs", + "author": "Simone De Vittorio", + "bugs": { + "url": "https://github.com/simonedevit/reactylon/issues" + }, "repository": { + "type": "git", "url": "https://github.com/simonedevit/reactylon.git" }, "scripts": { @@ -19,7 +23,27 @@ "test:debug": "NODE_OPTIONS=--experimental-vm-modules node --inspect-brk ../../node_modules/.bin/jest --runInBand", "release": "npm run build && npm run test && commit-and-tag-version --commit-all && git push --follow-tags && bash ../../scripts/publish.sh" }, - "keywords": [], + "keywords": [ + "reactylon", + "react", + "babylonjs", + "babylon.js", + "babylon", + "3d", + "webgl", + "webgpu", + "webxr", + "xr", + "vr", + "ar", + "mr", + "react-native", + "babylon-native", + "spatial-computing", + "react-renderer", + "jsx", + "gamedev" + ], "commit-and-tag-version": { "scripts": { "postchangelog": "bash ../../scripts/changelog.sh" @@ -88,6 +112,5 @@ "node": "^22.11.0", "npm": "^10.9.0" }, - "author": "Simone De Vittorio", "license": "MIT" } From 4126b9709c86bca1bb82868a5d7385b66bc3252d Mon Sep 17 00:00:00 2001 From: Simone De Vittorio <57841624+simonedevit@users.noreply.github.com> Date: Sat, 28 Nov 2026 11:57:59 +0100 Subject: [PATCH 3/4] chore(general): declare Node.js 24 and 26 LTS support #20 Broaden the "engines" field of all workspace manifests (and of their package-lock.json records) to the Node.js LTS lines. As already done for Node.js 22, the lower bound of each line is its first LTS release with the bundled npm version: - node: ^22.11.0 || ^24.11.0 || ^26.13.0 - npm: ^10.9.0 || ^11.6.1 The package-lock.json record of the library workspace is also synced with its current version (3.5.7 -> 3.5.8). --- package-lock.json | 18 +++++++++--------- package.json | 4 ++-- packages/common/package.json | 4 ++-- packages/generator/package.json | 4 ++-- packages/library/package.json | 4 ++-- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/package-lock.json b/package-lock.json index 202e106..b8371c1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,8 +22,8 @@ "typescript": "^5.4.5" }, "engines": { - "node": "^22.11.0", - "npm": "^10.9.0" + "node": "^22.11.0 || ^24.11.0 || ^26.13.0", + "npm": "^10.9.0 || ^11.6.1" } }, "node_modules/@babel/code-frame": { @@ -18233,8 +18233,8 @@ "nodemon": "^3.1.3" }, "engines": { - "node": "^22.11.0", - "npm": "^10.9.0" + "node": "^22.11.0 || ^24.11.0 || ^26.13.0", + "npm": "^10.9.0 || ^11.6.1" } }, "packages/generator": { @@ -18245,13 +18245,13 @@ "nodemon": "^3.1.3" }, "engines": { - "node": "^22.11.0", - "npm": "^10.9.0" + "node": "^22.11.0 || ^24.11.0 || ^26.13.0", + "npm": "^10.9.0 || ^11.6.1" } }, "packages/library": { "name": "reactylon", - "version": "3.5.7", + "version": "3.5.8", "license": "MIT", "dependencies": { "acorn": "^8.11.3", @@ -18294,8 +18294,8 @@ "webpack-dev-server": "^5.0.4" }, "engines": { - "node": "^22.11.0", - "npm": "^10.9.0" + "node": "^22.11.0 || ^24.11.0 || ^26.13.0", + "npm": "^10.9.0 || ^11.6.1" }, "peerDependencies": { "@babylonjs/core": "^7.0.0 || ^8.0.0 || ^9.0.0", diff --git a/package.json b/package.json index 37e9c4e..a95b9c9 100644 --- a/package.json +++ b/package.json @@ -38,8 +38,8 @@ "typescript": "^5.4.5" }, "engines": { - "node": "^22.11.0", - "npm": "^10.9.0" + "node": "^22.11.0 || ^24.11.0 || ^26.13.0", + "npm": "^10.9.0 || ^11.6.1" }, "author": "Simone De Vittorio", "license": "MIT" diff --git a/packages/common/package.json b/packages/common/package.json index 5244ddd..b24ff81 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -16,8 +16,8 @@ "@babylonjs/core": "^9.0.0" }, "engines": { - "node": "^22.11.0", - "npm": "^10.9.0" + "node": "^22.11.0 || ^24.11.0 || ^26.13.0", + "npm": "^10.9.0 || ^11.6.1" }, "author": "Simone De Vittorio", "license": "MIT" diff --git a/packages/generator/package.json b/packages/generator/package.json index 015b7f9..f001e77 100644 --- a/packages/generator/package.json +++ b/packages/generator/package.json @@ -13,8 +13,8 @@ "nodemon": "^3.1.3" }, "engines": { - "node": "^22.11.0", - "npm": "^10.9.0" + "node": "^22.11.0 || ^24.11.0 || ^26.13.0", + "npm": "^10.9.0 || ^11.6.1" }, "author": "Simone De Vittorio", "license": "MIT" diff --git a/packages/library/package.json b/packages/library/package.json index 296cc62..b492fc7 100644 --- a/packages/library/package.json +++ b/packages/library/package.json @@ -109,8 +109,8 @@ "webpack-dev-server": "^5.0.4" }, "engines": { - "node": "^22.11.0", - "npm": "^10.9.0" + "node": "^22.11.0 || ^24.11.0 || ^26.13.0", + "npm": "^10.9.0 || ^11.6.1" }, "license": "MIT" } From 7629ed568d0bfd69791ad073c0197b3079993943 Mon Sep 17 00:00:00 2001 From: Simone De Vittorio <57841624+simonedevit@users.noreply.github.com> Date: Sat, 28 Nov 2026 12:18:58 +0100 Subject: [PATCH 4/4] chore(general): restore homepage in npm package metadata --- packages/library/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/library/package.json b/packages/library/package.json index b492fc7..6e5c8f4 100644 --- a/packages/library/package.json +++ b/packages/library/package.json @@ -6,6 +6,7 @@ "main": "index.js", "types": "index.d.ts", "author": "Simone De Vittorio", + "homepage": "https://reactylon.com/docs", "bugs": { "url": "https://github.com/simonedevit/reactylon/issues" },