Skip to content
Merged
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
14 changes: 10 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
29 changes: 24 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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"
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions packages/generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
34 changes: 29 additions & 5 deletions packages/library/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
{
"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",
"author": "Simone De Vittorio",
"homepage": "https://reactylon.com/docs",
"bugs": {
"url": "https://github.com/simonedevit/reactylon/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/simonedevit/reactylon.git"
},
"scripts": {
Expand All @@ -19,7 +24,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"
Expand Down Expand Up @@ -85,9 +110,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"
},
"author": "Simone De Vittorio",
"license": "MIT"
}