diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index bfcd3a225f..b5d7680610 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -18,11 +18,11 @@ jobs: steps: # Use specific Node.js version - - uses: actions/checkout@v4 - - name: Use Node.js 22.17 - uses: actions/setup-node@v4 + - uses: actions/checkout@v5 + - name: Use Node.js 24 + uses: actions/setup-node@v6 with: - node-version: 22.17 + node-version: 24 cache: 'npm' # Install packages @@ -90,11 +90,11 @@ jobs: steps: # Use specific Node.js version - - uses: actions/checkout@v4 - - name: Use Node.js 22.17 - uses: actions/setup-node@v4 + - uses: actions/checkout@v5 + - name: Use Node.js 24 + uses: actions/setup-node@v6 with: - node-version: 22.17 + node-version: 24 cache: 'npm' # Install packages @@ -106,7 +106,7 @@ jobs: run: npm run transpile - name: Test ${{ matrix.package }} - run: npm run test-with-coverage_lcov --workspace ${{ matrix.package}} + run: npm run test-with-coverage_lcov --workspace packages/${{ matrix.path }} - name: Coveralls Parallel uses: coverallsapp/github-action@v2 with: @@ -136,11 +136,11 @@ jobs: steps: # Use specific Node.js version - - uses: actions/checkout@v4 - - name: Use Node.js 22.17 - uses: actions/setup-node@v4 + - uses: actions/checkout@v5 + - name: Use Node.js 24 + uses: actions/setup-node@v6 with: - node-version: 22.17 + node-version: 24 cache: 'npm' # Install packages @@ -149,7 +149,7 @@ jobs: # Download artifact from build - name: Download itowns bundle - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: name: dist-itowns @@ -171,17 +171,17 @@ jobs: contents: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: # fetch all branches fetch-depth: 0 # Configure git user for later command induced commits - - uses: fregante/setup-git-user@v1 + - uses: fregante/setup-git-user@v2 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: - node-version: 22.17 + node-version: 24 registry-url: https://registry.npmjs.org/ - run: npm ci @@ -227,7 +227,7 @@ jobs: # Download artifact from build - name: Download itowns bundle - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: name: dist-itowns @@ -253,7 +253,7 @@ jobs: # Deploy to itowns.github.io LTS - name: Deploy LTS to itowns.github.io if: ${{ startsWith(github.event.head_commit.message, 'release v' ) }} - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} external_repository: iTowns/itowns.github.io @@ -268,7 +268,7 @@ jobs: # since it is not possible to use the same deploy key to simultaneously deploy two different # folders on iTowns/itowns.github.io (the release bundle on previous step and this one. if: ${{ !startsWith(github.event.head_commit.message, 'release v' ) }} - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} external_repository: iTowns/itowns.github.io @@ -286,12 +286,12 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - - name: Use Node.js 22.17 - uses: actions/setup-node@v4 + - name: Use Node.js 24 + uses: actions/setup-node@v6 with: - node-version: 22.17 + node-version: 24 - name: Message commit run: echo "is RELEASE => ${{ github.event.head_commit.message }} !!" @@ -313,7 +313,7 @@ jobs: # Download artifact from build - name: Download itowns bundle - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: name: dist-itowns diff --git a/package-lock.json b/package-lock.json index 7e623917f6..3d24ab60ff 100644 --- a/package-lock.json +++ b/package-lock.json @@ -140,6 +140,7 @@ "integrity": "sha512-lWBYIrF7qK5+GjY5Uy+/hEgp8OJWOD/rpy74GplYRhEauvbHDeFB8t5hPOZxCZ0Oxf4Cc36tK51/l3ymJysrKw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.26.2", @@ -2522,6 +2523,7 @@ "version": "8.17.10", "resolved": "https://registry.npmjs.org/@react-three/fiber/-/fiber-8.17.10.tgz", "integrity": "sha512-S6bqa4DqUooEkInYv/W+Jklv2zjSYCXAhm6qKpAQyOXhTEt5gBXnA7W6aoJ0bjmp9pAeaSj/AZUoz1HCSof/uA==", + "peer": true, "dependencies": { "@babel/runtime": "^7.17.8", "@types/debounce": "^1.2.1", @@ -2595,6 +2597,7 @@ "resolved": "https://registry.npmjs.org/@react-three/postprocessing/-/postprocessing-2.19.1.tgz", "integrity": "sha512-7P25LOSToH/I6b3UipNK17IIFlX4FDUmWcaomfwu82+CzhXTOz8Fcc1ZXEZ7vFA/5Fr/2peNlXgXZJvoa+aCdA==", "license": "MIT", + "peer": true, "dependencies": { "buffer": "^6.0.3", "maath": "^0.6.0", @@ -3063,6 +3066,7 @@ "integrity": "sha512-promo4eFwuiW+TfGxhi+0x3czqTYJkG8qB17ZUJiVF10Xm7NLVRSLUsfRTU/6h1e24VvRnXCx+hG7li58lkzog==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/linkify-it": "^5", "@types/mdurl": "^2" @@ -3208,6 +3212,7 @@ "resolved": "https://registry.npmjs.org/@types/three/-/three-0.174.0.tgz", "integrity": "sha512-De/+vZnfg2aVWNiuy1Ldu+n2ydgw1osinmiZTAn0necE++eOfsygL8JpZgFjR2uHmAPo89MkxBj3JJ+2BMe+Uw==", "license": "MIT", + "peer": true, "dependencies": { "@tweenjs/tween.js": "~23.1.3", "@types/stats.js": "*", @@ -3302,6 +3307,7 @@ "integrity": "sha512-mNtXP9LTVBy14ZF3o7JG69gRPBK/2QWtQd0j0oH26HcY/foyJJau6pNUez7QrM5UHnSvwlQcJXKsk0I99B9pOA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "8.26.0", "@typescript-eslint/types": "8.26.0", @@ -3837,6 +3843,7 @@ "integrity": "sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==", "dev": true, "license": "MIT", + "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -4643,6 +4650,7 @@ } ], "license": "MIT", + "peer": true, "dependencies": { "caniuse-lite": "^1.0.30001688", "electron-to-chromium": "^1.5.73", @@ -4782,9 +4790,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001703", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001703.tgz", - "integrity": "sha512-kRlAGTRWgPsOj7oARC9m1okJEXdL/8fekFVcxA8Hl7GH4r/sN4OJn/i6Flde373T50KS7Y37oFbMwlE8+F42kQ==", + "version": "1.0.30001753", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001753.tgz", + "integrity": "sha512-Bj5H35MD/ebaOV4iDLqPEtiliTN29qkGtEHCwawWn4cYm+bPJM2NsaP30vtZcnERClMzp52J4+aw2UNbK4o+zw==", "dev": true, "funding": [ { @@ -5837,7 +5845,8 @@ "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1413902.tgz", "integrity": "sha512-yRtvFD8Oyk7C9Os3GmnFZLu53yAfsnyw1s+mLmHHUK0GQEc9zthHWvS1r67Zqzm5t7v56PILHIVZ7kmFMaL2yQ==", "dev": true, - "license": "BSD-3-Clause" + "license": "BSD-3-Clause", + "peer": true }, "node_modules/diff": { "version": "5.2.0", @@ -6226,6 +6235,7 @@ "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", @@ -6370,6 +6380,7 @@ "integrity": "sha512-/mHNE9jINJfiD2EKkg1BKyPyUk4zdnT54YgbOgfjSakWT5oyX/qQLVNTkehyfpcMxZXMy1zyonZ2v7hZTX43Yw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@rtsao/scc": "^1.1.0", "array-includes": "^3.1.8", @@ -9107,6 +9118,7 @@ "integrity": "sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "argparse": "^2.0.1", "entities": "^4.4.0", @@ -10379,6 +10391,7 @@ "resolved": "https://registry.npmjs.org/postprocessing/-/postprocessing-6.37.1.tgz", "integrity": "sha512-fZszlSB8j+PaxtS8g4qMxdj+ifzvoCPnbHSOjclTlr4mbhd6/huQqOViM6lhhPIrW2fiZc+IRcnReoKYvyMwNg==", "license": "Zlib", + "peer": true, "peerDependencies": { "three": ">= 0.157.0 < 0.175.0" } @@ -10421,6 +10434,7 @@ "resolved": "https://registry.npmjs.org/proj4/-/proj4-2.19.10.tgz", "integrity": "sha512-uL6/C6kA8+ncJAEDmUeV8PmNJcTlRLDZZa4/87CzRpb8My4p+Ame4LhC4G3H/77z2icVqcu3nNL9h5buSdnY+g==", "license": "MIT", + "peer": true, "dependencies": { "mgrs": "1.0.0", "wkt-parser": "^1.5.1" @@ -10731,6 +10745,7 @@ "version": "18.3.1", "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", + "peer": true, "dependencies": { "loose-envify": "^1.1.0" }, @@ -10738,28 +10753,6 @@ "node": ">=0.10.0" } }, - "node_modules/react-dom": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", - "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", - "optional": true, - "dependencies": { - "loose-envify": "^1.1.0", - "scheduler": "^0.23.2" - }, - "peerDependencies": { - "react": "^18.3.1" - } - }, - "node_modules/react-dom/node_modules/scheduler": { - "version": "0.23.2", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", - "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", - "optional": true, - "dependencies": { - "loose-envify": "^1.1.0" - } - }, "node_modules/react-merge-refs": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/react-merge-refs/-/react-merge-refs-2.1.1.tgz", @@ -11415,6 +11408,7 @@ "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", @@ -12552,7 +12546,8 @@ "version": "0.174.0", "resolved": "https://registry.npmjs.org/three/-/three-0.174.0.tgz", "integrity": "sha512-p+WG3W6Ov74alh3geCMkGK9NWuT62ee21cV3jEnun201zodVF4tCE5aZa2U122/mkLRmhJJUQmLLW1BH00uQJQ==", - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/three-stdlib": { "version": "2.35.14", @@ -12794,7 +12789,8 @@ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==", "dev": true, - "license": "0BSD" + "license": "0BSD", + "peer": true }, "node_modules/type-check": { "version": "0.4.0", @@ -12935,6 +12931,7 @@ "integrity": "sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ==", "dev": true, "license": "Apache-2.0", + "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -13222,6 +13219,7 @@ "integrity": "sha512-UFynvx+gM44Gv9qFgj0acCQK2VE1CtdfwFdimkapco3hlPCJ/zeq73n2yVKimVbtm+TnApIugGhLJnkU6gjYXA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@types/eslint-scope": "^3.7.7", "@types/estree": "^1.0.6", @@ -13269,6 +13267,7 @@ "integrity": "sha512-MfwFQ6SfwinsUVi0rNJm7rHZ31GyTcpVE5pgVA3hwFRb7COD4TzjUUwhGWKfO50+xdc2MQPuEBBJoqIMGt3JDw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@discoveryjs/json-ext": "^0.6.1", "@webpack-cli/configtest": "^3.0.1", diff --git a/packages/Geographic/package.json b/packages/Geographic/package.json index 42f0feee23..221d27a0a9 100644 --- a/packages/Geographic/package.json +++ b/packages/Geographic/package.json @@ -14,7 +14,7 @@ "lint": "eslint \"src/**/*.{js,ts,tsx}\" \"test/**/*.js\"", "transpile": "tsc && cross-env BABEL_DISABLE_CACHE=1 babel src --out-dir lib --extensions .js,.ts", "test-unit": "npm run base-test-unit test/unit", - "base-test-unit": "cross-env BABEL_DISABLE_CACHE=1 mocha --import=../../config/babel-register/register.mjs", + "base-test-unit": "cross-env BABEL_DISABLE_CACHE=1 NODE_OPTIONS=--no-experimental-strip-types mocha --import=../../config/babel-register/register.mjs", "test-with-coverage": "c8 -n src -r html cross-env npm run test-unit", "test-with-coverage_lcov": "c8 -n src --reporter=lcov cross-env npm run test-unit", "watch": "npm run transpile -- --watch", diff --git a/packages/Main/package.json b/packages/Main/package.json index 20872daaae..53d5e1902e 100644 --- a/packages/Main/package.json +++ b/packages/Main/package.json @@ -16,7 +16,7 @@ "types": "tsc && tsc-alias", "transpile": "npm run types && cross-env BABEL_DISABLE_CACHE=1 babel src --out-dir lib --extensions .js,.ts", "test-unit": "npm run base-test-unit test/unit", - "base-test-unit": "cross-env BABEL_DISABLE_CACHE=1 mocha --timeout 5000 --file test/unit/bootstrap.js --import=../../config/babel-register/register.mjs", + "base-test-unit": "cross-env BABEL_DISABLE_CACHE=1 NODE_OPTIONS=--no-experimental-strip-types mocha --timeout 5000 --file test/unit/bootstrap.js --import=../../config/babel-register/register.mjs", "test-with-coverage": "c8 -n src -r html cross-env npm run test-unit", "test-with-coverage_lcov": "c8 -n src --reporter=lcov cross-env npm run test-unit", "watch": "npm run transpile -- --watch",