diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 1110574..55fed09 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,7 +4,7 @@ updates: - package-ecosystem: "github-actions" directory: "/" schedule: - interval: "monthly" + interval: "quarterly" commit-message: prefix: "chore(ci): " groups: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 55d042f..4b649d1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,24 +12,25 @@ jobs: fail-fast: false matrix: node: [ - {"name": "LTS", "version": "lts/-2"}, - {"name": "latest", "version": "latest"} + "22", + "24", + "26", ] - name: Node ${{ matrix.node.name }} + name: Node v${{ matrix.node }} env: CI: true steps: - - uses: actions/checkout@v6 - - name: Setup node ${{ matrix.node.name }} + - uses: actions/checkout@v7 + - name: Setup node v${{ matrix.node }} uses: actions/setup-node@v6 with: - node-version: ${{ matrix.node.version }} + node-version: ${{ matrix.node }} - run: npm install - run: npm run build:all - name: Archive production artifacts uses: actions/upload-artifact@v7 with: - name: dist-node-${{ matrix.node.name }} + name: dist-node-v${{ matrix.node }} path: dist retention-days: 30 - run: NODE_ENV=development npm run test:e2e diff --git a/README.md b/README.md index 6b1768d..7316c15 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ The project uses a **webpack-based build system** that reads library metadata fr Prerequisites: * wget or curl -* Node.js (>=18.12.0) +* Node.js (>=22) * npm * git * zip diff --git a/package.json b/package.json index 6a9b3bd..97e8911 100644 --- a/package.json +++ b/package.json @@ -5,13 +5,13 @@ "type": "module", "homepage": "https://ochafik.com/openscad2/", "dependencies": { - "@gltf-transform/core": "^4.1.1", - "@gltf-transform/extensions": "^4.1.1", + "@gltf-transform/core": "4.1.1", + "@gltf-transform/extensions": "4.1.1", "@monaco-editor/loader": "^1.4.0", "@monaco-editor/react": "^4.6.0", "@testing-library/jest-dom": "^5.17.0", "@testing-library/react": "^13.4.0", - "@testing-library/user-event": "^13.5.0", + "@testing-library/user-event": "^14.6.1", "blurhash": "^2.0.5", "chroma-js": "^3.1.2", "debug": "^4.4.0", @@ -23,7 +23,7 @@ "react": "^18.3.1", "react-dom": "^18.3.1", "thumbhash": "^0.1.1", - "uuid": "^11.0.3", + "uuid": "^14.0.1", "uzip": "^0.20201231.0" }, "scripts": { @@ -58,32 +58,32 @@ ] }, "engines": { - "node": ">=18.12.0" + "node": ">=22" }, "devDependencies": { - "@types/chroma-js": "^2.4.5", + "@types/chroma-js": "^3.1.2", "@types/debug": "^4.1.12", "@types/filesystem": "^0.0.36", "@types/jest": "^29.5.14", - "@types/node": "^22.10.2", + "@types/node": "^26.1.1", "@types/react": "^18.3.18", "@types/react-dom": "^18.3.5", "@types/uzip": "^0.20201231.2", - "@types/web": "^0.0.140", - "copy-webpack-plugin": "^12.0.2", + "@types/web": "^0.0.352", + "copy-webpack-plugin": "^14.0.0", "css-loader": "^7.1.2", "jest": "^29.7.0", "jest-puppeteer": "^11.0.0", "livereload": "^0.9.3", - "puppeteer": "^23.11.1", + "puppeteer": "^25.3.0", "serve": "^14.2.4", "style-loader": "^4.0.0", "ts-loader": "^9.5.1", "tslib": "^2.8.1", "typescript": "^5.9.2", - "webpack": "^5.97.1", - "webpack-cli": "^6.0.1", - "webpack-dev-server": "^5.2.0", + "webpack": "^5.108.4", + "webpack-cli": "^7.2.1", + "webpack-dev-server": "^6.0.0", "workbox-webpack-plugin": "^7.3.0" } -} \ No newline at end of file +}