From 696be1150a0965f15fe26273b498037cd24f1065 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Thu, 12 Dec 2024 13:02:12 +0000 Subject: [PATCH] chore: downgrade `engines.node` to reflect only deps --- .github/workflows/autofix.yml | 2 +- .github/workflows/lint-monorepo.yml | 2 +- package.json | 2 +- packages/kit/package.json | 2 +- packages/nuxt/package.json | 4 ++-- packages/schema/package.json | 2 +- playground/package.json | 2 +- test/fixtures/basic-types/package.json | 2 +- test/fixtures/hmr/package.json | 2 +- test/fixtures/minimal-types/package.json | 2 +- test/fixtures/minimal/package.json | 2 +- test/fixtures/runtime-compiler/package.json | 2 +- test/fixtures/suspense/package.json | 2 +- 13 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index dc7fbd51e5..8370e90613 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -24,7 +24,7 @@ jobs: run: pnpm install - name: Check engine ranges, peer dependency ranges and installed versions - run: pnpm installed-check --fix + run: pnpm installed-check -d --fix - name: Build (stub) run: pnpm dev:prepare diff --git a/.github/workflows/lint-monorepo.yml b/.github/workflows/lint-monorepo.yml index aa5bc53109..7b225b16e0 100644 --- a/.github/workflows/lint-monorepo.yml +++ b/.github/workflows/lint-monorepo.yml @@ -39,4 +39,4 @@ jobs: run: pnpm sherif -r multiple-dependency-versions - name: Check engine ranges, peer dependency ranges and installed versions - run: pnpm installed-check + run: pnpm installed-check -d diff --git a/package.json b/package.json index b6bf7ba10f..98bcb519c9 100644 --- a/package.json +++ b/package.json @@ -122,7 +122,7 @@ }, "packageManager": "pnpm@9.15.0", "engines": { - "node": "^20.9.0 || ^22.0.0 || >=23.0.0" + "node": "^16.10.0 || >=18.0.0" }, "version": "" } diff --git a/packages/kit/package.json b/packages/kit/package.json index a2a6ba1d22..5e8a32b77b 100644 --- a/packages/kit/package.json +++ b/packages/kit/package.json @@ -58,6 +58,6 @@ "webpack": "5.96.1" }, "engines": { - "node": "^18.12.0 || ^20.0.0 || >=22.0.0" + "node": ">=18.0.0" } } diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index e709d3cff0..5a512e317c 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -141,7 +141,7 @@ }, "peerDependencies": { "@parcel/watcher": "^2.1.0", - "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0" + "@types/node": ">=18.12.0" }, "peerDependenciesMeta": { "@parcel/watcher": { @@ -152,6 +152,6 @@ } }, "engines": { - "node": "^18.12.0 || ^20.9.0 || >=22.0.0" + "node": ">=18.12.0" } } diff --git a/packages/schema/package.json b/packages/schema/package.json index a60d86147b..86190d869d 100644 --- a/packages/schema/package.json +++ b/packages/schema/package.json @@ -76,6 +76,6 @@ "untyped": "^1.5.1" }, "engines": { - "node": "^18.12.0 || ^20.0.0 || >=22.0.0" + "node": "^14.18.0 || >=16.10.0" } } diff --git a/playground/package.json b/playground/package.json index 0f5e407014..5ea6e06566 100644 --- a/playground/package.json +++ b/playground/package.json @@ -10,6 +10,6 @@ "nuxt": "workspace:*" }, "engines": { - "node": "^18.12.0 || ^20.9.0 || >=22.0.0" + "node": ">=18.12.0" } } diff --git a/test/fixtures/basic-types/package.json b/test/fixtures/basic-types/package.json index 1891b939f9..1ad48cd41a 100644 --- a/test/fixtures/basic-types/package.json +++ b/test/fixtures/basic-types/package.json @@ -16,6 +16,6 @@ "vue-router": "latest" }, "engines": { - "node": "^18.12.0 || ^20.9.0 || >=22.0.0" + "node": ">=18.12.0" } } diff --git a/test/fixtures/hmr/package.json b/test/fixtures/hmr/package.json index b74ef3c44d..7036c02e9e 100644 --- a/test/fixtures/hmr/package.json +++ b/test/fixtures/hmr/package.json @@ -8,6 +8,6 @@ "nuxt": "workspace:*" }, "engines": { - "node": "^18.12.0 || ^20.9.0 || >=22.0.0" + "node": ">=18.12.0" } } diff --git a/test/fixtures/minimal-types/package.json b/test/fixtures/minimal-types/package.json index 01260993dd..168399cabc 100644 --- a/test/fixtures/minimal-types/package.json +++ b/test/fixtures/minimal-types/package.json @@ -9,6 +9,6 @@ "nuxt": "workspace:*" }, "engines": { - "node": "^18.12.0 || ^20.9.0 || >=22.0.0" + "node": ">=18.12.0" } } diff --git a/test/fixtures/minimal/package.json b/test/fixtures/minimal/package.json index ec8752d986..b6bea1b468 100644 --- a/test/fixtures/minimal/package.json +++ b/test/fixtures/minimal/package.json @@ -8,6 +8,6 @@ "nuxt": "workspace:*" }, "engines": { - "node": "^18.12.0 || ^20.9.0 || >=22.0.0" + "node": ">=18.12.0" } } diff --git a/test/fixtures/runtime-compiler/package.json b/test/fixtures/runtime-compiler/package.json index 4c45c2f351..b8dc3a57d4 100644 --- a/test/fixtures/runtime-compiler/package.json +++ b/test/fixtures/runtime-compiler/package.json @@ -8,6 +8,6 @@ "nuxt": "workspace:*" }, "engines": { - "node": "^18.12.0 || ^20.9.0 || >=22.0.0" + "node": ">=18.12.0" } } diff --git a/test/fixtures/suspense/package.json b/test/fixtures/suspense/package.json index ab5e89d39a..94228c96c4 100644 --- a/test/fixtures/suspense/package.json +++ b/test/fixtures/suspense/package.json @@ -11,6 +11,6 @@ "typescript": "latest" }, "engines": { - "node": "^18.12.0 || ^20.9.0 || >=22.0.0" + "node": ">=18.12.0" } }