diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index f0770a01..5a8d9485 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 with: - version: 8 + version: 10 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: @@ -49,10 +49,10 @@ jobs: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 with: - version: 8 + version: 10 - uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - run: pnpm i --no-frozen-lockfile - run: pnpm run lint @@ -62,10 +62,10 @@ jobs: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 with: - version: 8 + version: 10 - uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - run: pnpm i --no-frozen-lockfile - run: pnpm run build-mod # Upload build to artifacts diff --git a/package.json b/package.json index 11d5cdbb..672fabe8 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "root", "private": true, "files": [], + "packageManager": "pnpm@10.28.1+sha512.7d7dbbca9e99447b7c3bf7a73286afaaf6be99251eb9498baefa7d406892f67b879adb3a1d7e687fc4ccc1a388c7175fbaae567a26ab44d1067b54fcb0d6a316", "scripts": { "build": "tsc --build", "watch": "tsc --build --watch", @@ -27,7 +28,7 @@ ] }, "engines": { - "node": ">=18" + "node": ">=20" }, "workspaces": [ "packages/*", diff --git a/packages/controller/package.json b/packages/controller/package.json index 051c84bb..9f350bd6 100644 --- a/packages/controller/package.json +++ b/packages/controller/package.json @@ -17,7 +17,7 @@ "factorio" ], "engines": { - "node": ">=18" + "node": ">=20" }, "dependencies": { "@clusterio/lib": "workspace:*", diff --git a/packages/create/package.json b/packages/create/package.json index a323cfe2..b26a0e45 100644 --- a/packages/create/package.json +++ b/packages/create/package.json @@ -13,7 +13,7 @@ "factorio" ], "engines": { - "node": ">=18" + "node": ">=20" }, "dependencies": { "chalk": "catalog:", diff --git a/packages/ctl/package.json b/packages/ctl/package.json index 8bf7faf4..af4819ed 100644 --- a/packages/ctl/package.json +++ b/packages/ctl/package.json @@ -17,7 +17,7 @@ "factorio" ], "engines": { - "node": ">=18" + "node": ">=20" }, "dependencies": { "@clusterio/lib": "workspace:*", diff --git a/packages/host/package.json b/packages/host/package.json index 1969c419..638f1501 100644 --- a/packages/host/package.json +++ b/packages/host/package.json @@ -18,7 +18,7 @@ "factorio" ], "engines": { - "node": ">=18" + "node": ">=20" }, "dependencies": { "@clusterio/lib": "workspace:*", diff --git a/plugins/global_chat/package.json b/plugins/global_chat/package.json index 23c3ed96..14f0f38d 100644 --- a/plugins/global_chat/package.json +++ b/plugins/global_chat/package.json @@ -20,7 +20,7 @@ "url": "https://github.com/clusterio/clusterio/issues" }, "engines": { - "node": ">=18" + "node": ">=20" }, "peerDependencies": { "@clusterio/web_ui": "workspace:*", diff --git a/plugins/inventory_sync/package.json b/plugins/inventory_sync/package.json index b1ae2d0b..73e69188 100644 --- a/plugins/inventory_sync/package.json +++ b/plugins/inventory_sync/package.json @@ -20,7 +20,7 @@ "url": "https://github.com/clusterio/factorioClusterio/issues" }, "engines": { - "node": ">=18" + "node": ">=20" }, "peerDependencies": { "@clusterio/controller": "workspace:*", diff --git a/plugins/player_auth/package.json b/plugins/player_auth/package.json index 2579e2dc..358f04c4 100644 --- a/plugins/player_auth/package.json +++ b/plugins/player_auth/package.json @@ -20,7 +20,7 @@ "url": "https://github.com/clusterio/clusterio/issues" }, "engines": { - "node": ">=18" + "node": ">=20" }, "peerDependencies": { "@clusterio/controller": "workspace:*", diff --git a/plugins/research_sync/package.json b/plugins/research_sync/package.json index 3380a5cf..29704b02 100644 --- a/plugins/research_sync/package.json +++ b/plugins/research_sync/package.json @@ -20,7 +20,7 @@ "url": "https://github.com/clusterio/clusterio/issues" }, "engines": { - "node": ">=18" + "node": ">=20" }, "peerDependencies": { "@clusterio/controller": "workspace:*", diff --git a/plugins/statistics_exporter/package.json b/plugins/statistics_exporter/package.json index a01337f1..683cf207 100644 --- a/plugins/statistics_exporter/package.json +++ b/plugins/statistics_exporter/package.json @@ -20,7 +20,7 @@ "url": "https://github.com/clusterio/clusterio/issues" }, "engines": { - "node": ">=18" + "node": ">=20" }, "peerDependencies": { "@clusterio/web_ui": "workspace:*", diff --git a/plugins/subspace_storage/package.json b/plugins/subspace_storage/package.json index 480f28cc..63187fe0 100644 --- a/plugins/subspace_storage/package.json +++ b/plugins/subspace_storage/package.json @@ -20,7 +20,7 @@ "url": "https://github.com/clusterio/clusterio/issues" }, "engines": { - "node": ">=18" + "node": ">=20" }, "peerDependencies": { "@clusterio/controller": "workspace:*",