diff --git a/.github/workflows/preview-community.yaml b/.github/workflows/preview-community.yaml index 7abac613..2a7e23c0 100644 --- a/.github/workflows/preview-community.yaml +++ b/.github/workflows/preview-community.yaml @@ -18,7 +18,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '22' + node-version: '24' - name: Install dependencies run: npm ci - name: Refresh library star counts diff --git a/.github/workflows/production.yaml b/.github/workflows/production.yaml index d6a09edb..2e9a47df 100644 --- a/.github/workflows/production.yaml +++ b/.github/workflows/production.yaml @@ -21,7 +21,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '22' + node-version: '24' - name: Install dependencies run: npm ci @@ -52,7 +52,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '22' + node-version: '24' - name: Install dependencies run: npm ci - name: Refresh library star counts diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 620cd6d7..94825df4 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -15,7 +15,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '22' + node-version: '24' - name: Install dependencies run: npm ci @@ -37,7 +37,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '22' + node-version: '24' - name: Install dependencies run: npm ci diff --git a/package-lock.json b/package-lock.json index 8940dd19..d6b1cea4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -47,7 +47,7 @@ }, "devDependencies": { "@playwright/test": "^1.61.1", - "@types/node": "^20", + "@types/node": "^24", "@types/node-forge": "^1.3.11", "@types/react": "^18", "@types/react-dom": "^18", @@ -58,6 +58,9 @@ "typescript": "^5.4.5", "vite-tsconfig-paths": "^4.3.2", "vitest": "^1.6.1" + }, + "engines": { + "node": "24.x" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -5983,12 +5986,13 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "20.12.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.2.tgz", - "integrity": "sha512-zQ0NYO87hyN6Xrclcqp7f8ZbXNbRfoGWNcMvHTPQp9UUrwI0mI7XBz+cu7/W6/VClYo2g63B0cjull/srU7LgQ==", + "version": "24.19.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.19.2.tgz", + "integrity": "sha512-93d49wCWJkCyN87MxLpNN6KXPCwFw7bVUg79mGUV1OS40JGWwVCr8n61DXCSqz7CV6/VfPkb7xec7uP2M+QHWQ==", "dev": true, + "license": "MIT", "dependencies": { - "undici-types": "~5.26.4" + "undici-types": ">=7.24.0 <7.24.7" } }, "node_modules/@types/node-forge": { @@ -14318,10 +14322,11 @@ } }, "node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", - "dev": true + "version": "7.24.6", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.24.6.tgz", + "integrity": "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==", + "dev": true, + "license": "MIT" }, "node_modules/unicode-canonical-property-names-ecmascript": { "version": "2.0.1", diff --git a/package.json b/package.json index 3f04f071..12a265b5 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,9 @@ "version": "0.1.0", "private": true, "type": "module", + "engines": { + "node": "24.x" + }, "scripts": { "dev": "next dev -p 1234 --webpack", "generate:library-data": "tsx src/scripts/generate-library-data.ts", @@ -54,7 +57,7 @@ }, "devDependencies": { "@playwright/test": "^1.61.1", - "@types/node": "^20", + "@types/node": "^24", "@types/node-forge": "^1.3.11", "@types/react": "^18", "@types/react-dom": "^18",