diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index 4f65e10c0d..dc7fbd51e5 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -23,6 +23,9 @@ jobs: - name: Install dependencies run: pnpm install + - name: Check engine ranges, peer dependency ranges and installed versions + run: pnpm installed-check --fix + - name: Build (stub) run: pnpm dev:prepare diff --git a/.github/workflows/lint-sherif.yml b/.github/workflows/lint-monorepo.yml similarity index 80% rename from .github/workflows/lint-sherif.yml rename to .github/workflows/lint-monorepo.yml index 1477d94c3b..aa5bc53109 100644 --- a/.github/workflows/lint-sherif.yml +++ b/.github/workflows/lint-monorepo.yml @@ -4,12 +4,14 @@ on: push: paths: - "**/package.json" + - "pnpm-lock.yaml" branches: - main - 3.x pull_request: paths: - "**/package.json" + - "pnpm-lock.yaml" branches: - main - 3.x @@ -32,5 +34,9 @@ jobs: - name: Install dependencies run: pnpm install + - name: Lint monorepo run: pnpm sherif -r multiple-dependency-versions + + - name: Check engine ranges, peer dependency ranges and installed versions + run: pnpm installed-check diff --git a/package.json b/package.json index 0c3db186b3..5c1c6c1a7d 100644 --- a/package.json +++ b/package.json @@ -91,6 +91,7 @@ "eslint-typegen": "0.3.2", "h3": "npm:h3-nightly@2.0.0-1718872656.6765a6e", "happy-dom": "15.11.7", + "installed-check": "9.3.0", "jiti": "2.4.1", "knip": "5.39.1", "markdownlint-cli": "0.43.0", @@ -116,7 +117,7 @@ }, "packageManager": "pnpm@9.14.4", "engines": { - "node": "^16.10.0 || >=18.0.0" + "node": "^20.9.0 || >=22.0.0" }, "version": "" } diff --git a/packages/kit/package.json b/packages/kit/package.json index b0c98a3232..1889e82a42 100644 --- a/packages/kit/package.json +++ b/packages/kit/package.json @@ -57,6 +57,6 @@ "webpack": "5.96.1" }, "engines": { - "node": "^14.18.0 || >=16.10.0" + "node": "^18.12.0 || ^20.0.0 || >=22.0.0" } } diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index 60f1e477d4..ace7631bef 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -136,7 +136,7 @@ }, "peerDependencies": { "@parcel/watcher": "^2.1.0", - "@types/node": "^14.18.0 || >=16.10.0" + "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0" }, "peerDependenciesMeta": { "@parcel/watcher": { @@ -147,6 +147,6 @@ } }, "engines": { - "node": "^14.18.0 || >=16.10.0" + "node": "^18.12.0 || ^20.9.0 || >=22.0.0" } } diff --git a/packages/rspack/package.json b/packages/rspack/package.json index d16704b63c..b9e76635e7 100644 --- a/packages/rspack/package.json +++ b/packages/rspack/package.json @@ -84,6 +84,6 @@ "vue": "^3.3.4" }, "engines": { - "node": "^14.18.0 || >=16.10.0" + "node": "^18.12.0 || ^20.9.0 || >=22.0.0" } } diff --git a/packages/schema/package.json b/packages/schema/package.json index 6675be8bfe..bb6d76f72e 100644 --- a/packages/schema/package.json +++ b/packages/schema/package.json @@ -74,6 +74,6 @@ "untyped": "^1.5.1" }, "engines": { - "node": "^14.18.0 || >=16.10.0" + "node": "^18.12.0 || ^20.0.0 || >=22.0.0" } } diff --git a/packages/ui-templates/package.json b/packages/ui-templates/package.json index 4b1d30e945..f00e8ebd70 100644 --- a/packages/ui-templates/package.json +++ b/packages/ui-templates/package.json @@ -31,5 +31,8 @@ "tinyglobby": "0.2.10", "unocss": "0.65.0", "vite": "6.0.2" + }, + "engines": { + "node": "^18.0.0 || ^20.0.0 || >=22.0.0" } } diff --git a/packages/vite/package.json b/packages/vite/package.json index a5adeb10c6..26f73c5e85 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -66,6 +66,6 @@ "vue": "^3.3.4" }, "engines": { - "node": "^14.18.0 || >=16.10.0" + "node": "^18.12.0 || ^20.9.0 || >=22.0.0" } } diff --git a/packages/webpack/package.json b/packages/webpack/package.json index fde7486b5b..21773a51ac 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -86,6 +86,6 @@ "vue": "^3.3.4" }, "engines": { - "node": "^14.18.0 || >=16.10.0" + "node": "^18.12.0 || ^20.9.0 || >=22.0.0" } } diff --git a/playground/package.json b/playground/package.json index 7316c14927..0f5e407014 100644 --- a/playground/package.json +++ b/playground/package.json @@ -8,5 +8,8 @@ }, "dependencies": { "nuxt": "workspace:*" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dfe1d96c25..bb737a52ed 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -115,6 +115,9 @@ importers: happy-dom: specifier: 15.11.7 version: 15.11.7 + installed-check: + specifier: 9.3.0 + version: 9.3.0 jiti: specifier: 2.4.1 version: 2.4.1 @@ -2099,6 +2102,14 @@ packages: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} + '@npmcli/map-workspaces@3.0.6': + resolution: {integrity: sha512-tkYs0OYnzQm6iIRdfy+LcLBjcKuQCeE5YLb8KnrIlutJfheNaPvPpgoFEyEFgbjzl5PLZ3IA/BWAwRU0eHuQDA==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + + '@npmcli/name-from-folder@2.0.0': + resolution: {integrity: sha512-pwK+BfEBZJbKdNYpHHRTNBwBoqrN/iIMO0AiGvYsp3Hoaq0WbgGSWQR6SCldZovoDpY3yje5lkFUe6gsDgJ2vg==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + '@nuxt/devalue@2.0.2': resolution: {integrity: sha512-GBzP8zOc7CGWyFQS6dv1lQz8VVpz5C2yRszbXufwG/9zhStTIH50EtD87NmWbTMwXDvZLNg8GIpb1UFdH93JCA==} @@ -2302,6 +2313,18 @@ packages: resolution: {integrity: sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==} engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} + '@pnpm/constants@10.0.0': + resolution: {integrity: sha512-dxIXcW1F1dxIGfye2JXE7Q8WVwYB0axVzdBOkvE1WKIVR4xjB8e6k/Dkjo7DpbyfW5Vu2k21p6dyM32YLSAWoQ==} + engines: {node: '>=18.12'} + + '@pnpm/error@6.0.3': + resolution: {integrity: sha512-OIYhG7HQh4zUFh2s8/6bp7glVRjNxms7bpzXVOLV7pyRa+rSYFmqJ8zDsBC64k58nuaxS85Ip+SCDjFxsFGeOg==} + engines: {node: '>=18.12'} + + '@pnpm/workspace.read-manifest@2.2.2': + resolution: {integrity: sha512-ryiFUKQfu5sYAtX/jsYRHsTHoB6p6rNBZQkXODlmMczcGeIE78cuz1xf5+xS6Dq2CayiqImuSmCiWbT5uT90Nw==} + engines: {node: '>=18.12'} + '@polka/url@1.0.0-next.25': resolution: {integrity: sha512-j7P6Rgr3mmtdkeDGTe0E/aYyWEWVtc5yFXtHCRHs28/jptDEWfaVOc5T7cblqy1XKPPfCxJc/8DwQ5YgLOZOVQ==} @@ -3131,6 +3154,18 @@ packages: '@volar/typescript@2.4.8': resolution: {integrity: sha512-6xkIYJ5xxghVBhVywMoPMidDDAFT1OoQeXwa27HSgJ6AiIKRe61RXLoik+14Z7r0JvnblXVsjsRLmCr42SGzqg==} + '@voxpelli/semver-set@6.0.0': + resolution: {integrity: sha512-FC6UgwEA6k2dPK8SslOR0nKAW4fRB3d4shV3Jo9AEdUUdyWp3s8KgJPUJLpjcXz+hb+qaI8PhQcz/UH9oBMbUw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@voxpelli/type-helpers@3.4.0': + resolution: {integrity: sha512-nDPbVFZ7y7aEMAVRC1LIllMMvwE5Qgd0z+cyd+K4z0NJ7LAjcjydhPw4RYAoYF3JzvZVpra/S0SRN/dCFE8E+A==} + engines: {node: '>=18.0.0'} + + '@voxpelli/typed-utils@1.10.2': + resolution: {integrity: sha512-icXQSR6SeGL6kr9koJw9zkDZqWyFXgpJG8kTaDydjZhy9/V0MQB9tYyibvRgJHlk98SDJJhPLCouTdqOdn+riw==} + engines: {node: '>=18.0.0'} + '@vue-macros/common@1.12.3': resolution: {integrity: sha512-dlSqrGdIDhqMOz92XtlMNyuHHeHe594O6f10XLtmlB0Jrq/Pl4Hj8rXAnVlRdjg+ptbZRSNL6MSgOPPoC82owg==} engines: {node: '>=16.14.0'} @@ -3575,6 +3610,10 @@ packages: buffer@6.0.3: resolution: {integrity: sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==} + buffered-async-iterable@1.0.1: + resolution: {integrity: sha512-QqoUm0XP17Bu6zzyvpK92K7jNYMoFYgKM0ZKr0OkoDlElpTTeucGmdJL8I7W+reFIfvgUWOm1PgJC+OxM2lMEQ==} + engines: {node: '>=18.6.0'} + builtin-modules@3.3.0: resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} engines: {node: '>=6'} @@ -4810,6 +4849,10 @@ packages: hosted-git-info@2.8.9: resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} + hosted-git-info@7.0.2: + resolution: {integrity: sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==} + engines: {node: ^16.14.0 || >=18.0.0} + html-entities@2.5.2: resolution: {integrity: sha512-K//PSRMQk4FZ78Kyau+mZurHn3FH0Vwr+H36eE0rPbeYkRRi9YxceYPhuN60UwWorxyKHhqoAJl2OFKa4BVtaA==} @@ -4971,6 +5014,15 @@ packages: resolution: {integrity: sha512-X7rqawQBvfdjS10YU1y1YVreA3SsLrW9dX2CewP2EbBJM4ypVNLDkO5y04gejPwKIY9lR+7r9gn3rFPt/kmWFg==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + installed-check-core@8.3.1: + resolution: {integrity: sha512-5yH+YyCw2AO1OQpOSce2yUaooOSrK8XXmkOn2xdVpdtpt0pqwfdqU77FIpWN4fPHDcINKUf4R7hgDEfqpy1Z9g==} + engines: {node: '>=18.6.0'} + + installed-check@9.3.0: + resolution: {integrity: sha512-4aL5tUyCc/MVkaKnTqg5CdMa20uf7HYHjHJfiv4WeIoBoSKDLd/frMnIRUglnUovHUHrwRuzUDHOd4DidHKkkA==} + engines: {node: '>=18.6.0'} + hasBin: true + internal-slot@1.0.7: resolution: {integrity: sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==} engines: {node: '>= 0.4'} @@ -5254,6 +5306,10 @@ packages: json-parse-even-better-errors@2.3.1: resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} + json-parse-even-better-errors@3.0.2: + resolution: {integrity: sha512-fi0NG4bPjCHunUJffmLd0gxssIgkNmArMvis4iNah6Owg1MCJjWhEcDLmsK6iGkJq3tHwbDkTlce70/tmXN4cQ==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + json-schema-to-typescript-lite@14.1.0: resolution: {integrity: sha512-b8K6P3aiLgiYKYcHacgZKrwPXPyjekqRPV5vkNfBt0EoohcOSXEbcuGzgi6KQmsAhuy5Mh2KMxofXodRhMxURA==} @@ -5338,6 +5394,10 @@ packages: linkify-it@5.0.0: resolution: {integrity: sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==} + list-installed@5.3.1: + resolution: {integrity: sha512-MLK5hj3vViLbs/RDgi/tY7rhi9ifiwnKppUF21mH2DqqMznvZhZ8TnjI0W6ZS0iCsl1qGAiHrUIMhjK7xrJstg==} + engines: {node: '>=18.6.0'} + listhen@1.9.0: resolution: {integrity: sha512-I8oW2+QL5KJo8zXNWX046M134WchxsXC7SawLPvRQpogCbkyQIaFxPE89A2HiwR7vAK2Dm2ERBAmyjTYGYEpBg==} hasBin: true @@ -5515,6 +5575,10 @@ packages: resolution: {integrity: sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA==} engines: {node: '>=4.3.0 <5.0.0 || >=5.10'} + meow@12.1.1: + resolution: {integrity: sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==} + engines: {node: '>=16.10'} + merge-stream@2.0.0: resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} @@ -5817,6 +5881,10 @@ packages: normalize-package-data@2.5.0: resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} + normalize-package-data@6.0.2: + resolution: {integrity: sha512-V6gygoYb/5EmNI+MEGrWkC+e6+Rr7mTmfHrxDbLzxQogBkgzo76rkok0Am6thgSF7Mv2nLOajAJj5vDJZEFn7g==} + engines: {node: ^16.14.0 || >=18.0.0} + normalize-path@3.0.0: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} engines: {node: '>=0.10.0'} @@ -5825,6 +5893,10 @@ packages: resolution: {integrity: sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==} engines: {node: '>=0.10.0'} + npm-normalize-package-bin@3.0.1: + resolution: {integrity: sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + npm-run-path@4.0.1: resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} engines: {node: '>=8'} @@ -6086,6 +6158,10 @@ packages: resolution: {integrity: sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==} engines: {node: '>=4'} + pony-cause@2.1.11: + resolution: {integrity: sha512-M7LhCsdNbNgiLYiP4WjsfLUuFmCfnjdF6jKe2R9NKl4WFN+HZPGHJZ9lnLP7f9ZnKe3U9nuWD0szirmj+migUg==} + engines: {node: '>=12.0.0'} + possible-typed-array-names@1.0.0: resolution: {integrity: sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==} engines: {node: '>= 0.4'} @@ -6468,6 +6544,10 @@ packages: read-cache@1.0.0: resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==} + read-package-json-fast@3.0.2: + resolution: {integrity: sha512-0J+Msgym3vrLOUB3hzQCuZHII0xkNGCtz/HJH9xZshwv9DbDwkw1KaE3gx/e2J5rpEY5rtOy6cyhKOPrkP7FZw==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + read-pkg-up@7.0.1: resolution: {integrity: sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==} engines: {node: '>=8'} @@ -6476,6 +6556,18 @@ packages: resolution: {integrity: sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==} engines: {node: '>=8'} + read-pkg@9.0.1: + resolution: {integrity: sha512-9viLL4/n1BJUCT1NXVTdS1jtm80yDEgR5T4yCelII49Mbj0v1rZdKqj7zCiYdbB0CuCgdrvHcNogAKTFPBocFA==} + engines: {node: '>=18'} + + read-workspaces@1.2.2: + resolution: {integrity: sha512-P/girX6N7FDk7mGo/i4DB2HzanhnEhuLIAG2RvBkubQxwtEimtIDtCyA1DcHG4IC22+sr6rCppFyW8IflQ5q+Q==} + engines: {node: '>=18.6.0'} + + read-yaml-file@2.1.0: + resolution: {integrity: sha512-UkRNRIwnhG+y7hpqnycCL/xbTk7+ia9VuVTC0S+zVbwd65DI9eUpRMfsWIGrCWxTU/mi+JW8cHQCrv+zfCbEPQ==} + engines: {node: '>=10.13'} + readable-stream@2.3.8: resolution: {integrity: sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==} @@ -6913,6 +7005,10 @@ packages: resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==} engines: {node: '>=12'} + strip-bom@4.0.0: + resolution: {integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==} + engines: {node: '>=8'} + strip-final-newline@3.0.0: resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==} engines: {node: '>=12'} @@ -7392,6 +7488,10 @@ packages: validate-npm-package-license@3.0.4: resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} + version-guard@1.1.3: + resolution: {integrity: sha512-JwPr6erhX53EWH/HCSzfy1tTFrtPXUe927wdM1jqBBeYp1OM+qPHjWbsvv6pIBduqdgxxS+ScfG7S28pzyr2DQ==} + engines: {node: '>=0.10.48'} + vfile-location@5.0.3: resolution: {integrity: sha512-5yXvWDEgqeiYiBe1lbxYF7UMAIm/IcopxMHrMQDq3nvKcjPKIhZklUKL+AE7J7uApI4kwe2snsK+eI6UTj9EHg==} @@ -8620,6 +8720,15 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.17.1 + '@npmcli/map-workspaces@3.0.6': + dependencies: + '@npmcli/name-from-folder': 2.0.0 + glob: 10.4.5 + minimatch: 9.0.5 + read-package-json-fast: 3.0.2 + + '@npmcli/name-from-folder@2.0.0': {} + '@nuxt/devalue@2.0.2': {} '@nuxt/devtools-kit@1.5.1(vite@6.0.2(@types/node@22.10.1)(jiti@2.4.1)(sass@1.78.0)(terser@5.32.0)(tsx@4.19.1)(yaml@2.5.1))': @@ -9035,6 +9144,18 @@ snapshots: '@pkgr/core@0.1.1': {} + '@pnpm/constants@10.0.0': {} + + '@pnpm/error@6.0.3': + dependencies: + '@pnpm/constants': 10.0.0 + + '@pnpm/workspace.read-manifest@2.2.2': + dependencies: + '@pnpm/constants': 10.0.0 + '@pnpm/error': 6.0.3 + read-yaml-file: 2.1.0 + '@polka/url@1.0.0-next.25': {} '@redocly/ajv@8.11.2': @@ -10174,6 +10295,16 @@ snapshots: path-browserify: 1.0.1 vscode-uri: 3.0.8 + '@voxpelli/semver-set@6.0.0': + dependencies: + semver: 7.6.3 + + '@voxpelli/type-helpers@3.4.0': {} + + '@voxpelli/typed-utils@1.10.2': + dependencies: + '@voxpelli/type-helpers': 3.4.0 + '@vue-macros/common@1.12.3(rollup@4.28.0)(vue@3.5.13(typescript@5.6.3))': dependencies: '@babel/types': 7.26.0 @@ -10703,6 +10834,8 @@ snapshots: base64-js: 1.5.1 ieee754: 1.2.1 + buffered-async-iterable@1.0.1: {} + builtin-modules@3.3.0: {} bundle-name@4.1.0: @@ -12160,6 +12293,10 @@ snapshots: hosted-git-info@2.8.9: {} + hosted-git-info@7.0.2: + dependencies: + lru-cache: 10.4.3 + html-entities@2.5.2: {} html-escaper@2.0.2: {} @@ -12301,6 +12438,23 @@ snapshots: ini@4.1.3: {} + installed-check-core@8.3.1: + dependencies: + '@voxpelli/semver-set': 6.0.0 + '@voxpelli/typed-utils': 1.10.2 + is-glob: 4.0.3 + list-installed: 5.3.1 + picomatch: 4.0.2 + semver: 7.6.3 + + installed-check@9.3.0: + dependencies: + chalk: 5.3.0 + installed-check-core: 8.3.1 + meow: 12.1.1 + pony-cause: 2.1.11 + version-guard: 1.1.3 + internal-slot@1.0.7: dependencies: es-errors: 1.3.0 @@ -12568,6 +12722,8 @@ snapshots: json-parse-even-better-errors@2.3.1: {} + json-parse-even-better-errors@3.0.2: {} + json-schema-to-typescript-lite@14.1.0: dependencies: '@apidevtools/json-schema-ref-parser': 11.7.0 @@ -12657,6 +12813,13 @@ snapshots: dependencies: uc.micro: 2.1.0 + list-installed@5.3.1: + dependencies: + buffered-async-iterable: 1.0.1 + pony-cause: 2.1.11 + read-pkg: 9.0.1 + read-workspaces: 1.2.2 + listhen@1.9.0: dependencies: '@parcel/watcher': 2.5.0 @@ -12934,6 +13097,8 @@ snapshots: errno: 0.1.8 readable-stream: 2.3.8 + meow@12.1.1: {} + merge-stream@2.0.0: {} merge2@1.4.1: {} @@ -13404,7 +13569,7 @@ snapshots: uncrypto: 0.1.3 unctx: 2.3.1 unenv: 1.10.0 - unimport: 3.13.4(rollup@4.28.0) + unimport: 3.14.2(rollup@4.28.0) unstorage: 1.13.1(ioredis@5.4.1) unwasm: 0.3.9 transitivePeerDependencies: @@ -13466,10 +13631,18 @@ snapshots: semver: 5.7.2 validate-npm-package-license: 3.0.4 + normalize-package-data@6.0.2: + dependencies: + hosted-git-info: 7.0.2 + semver: 7.6.3 + validate-npm-package-license: 3.0.4 + normalize-path@3.0.0: {} normalize-range@0.1.2: {} + npm-normalize-package-bin@3.0.1: {} + npm-run-path@4.0.1: dependencies: path-key: 3.1.1 @@ -13760,6 +13933,8 @@ snapshots: pluralize@8.0.0: {} + pony-cause@2.1.11: {} + possible-typed-array-names@1.0.0: {} postcss-calc@10.0.2(postcss@8.4.49): @@ -14142,6 +14317,11 @@ snapshots: dependencies: pify: 2.3.0 + read-package-json-fast@3.0.2: + dependencies: + json-parse-even-better-errors: 3.0.2 + npm-normalize-package-bin: 3.0.1 + read-pkg-up@7.0.1: dependencies: find-up: 4.1.0 @@ -14155,6 +14335,25 @@ snapshots: parse-json: 5.2.0 type-fest: 0.6.0 + read-pkg@9.0.1: + dependencies: + '@types/normalize-package-data': 2.4.4 + normalize-package-data: 6.0.2 + parse-json: 8.1.0 + type-fest: 4.26.1 + unicorn-magic: 0.1.0 + + read-workspaces@1.2.2: + dependencies: + '@npmcli/map-workspaces': 3.0.6 + '@pnpm/workspace.read-manifest': 2.2.2 + read-pkg: 9.0.1 + + read-yaml-file@2.1.0: + dependencies: + js-yaml: 4.1.0 + strip-bom: 4.0.0 + readable-stream@2.3.8: dependencies: core-util-is: 1.0.3 @@ -14711,6 +14910,8 @@ snapshots: dependencies: ansi-regex: 6.1.0 + strip-bom@4.0.0: {} + strip-final-newline@3.0.0: {} strip-indent@3.0.0: @@ -15264,6 +15465,8 @@ snapshots: spdx-correct: 3.2.0 spdx-expression-parse: 3.0.1 + version-guard@1.1.3: {} + vfile-location@5.0.3: dependencies: '@types/unist': 3.0.3 diff --git a/test/fixtures/basic-types/package.json b/test/fixtures/basic-types/package.json index 56d7071758..1891b939f9 100644 --- a/test/fixtures/basic-types/package.json +++ b/test/fixtures/basic-types/package.json @@ -14,5 +14,8 @@ "vitest": "1.6.0", "vue": "latest", "vue-router": "latest" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0.0" } } diff --git a/test/fixtures/basic/package.json b/test/fixtures/basic/package.json index 6fc71522ff..b38be7c666 100644 --- a/test/fixtures/basic/package.json +++ b/test/fixtures/basic/package.json @@ -15,5 +15,8 @@ "ufo": "latest", "unplugin": "latest", "vue": "latest" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0.0" } } diff --git a/test/fixtures/hmr/package.json b/test/fixtures/hmr/package.json index b97a566e9c..b74ef3c44d 100644 --- a/test/fixtures/hmr/package.json +++ b/test/fixtures/hmr/package.json @@ -6,5 +6,8 @@ }, "dependencies": { "nuxt": "workspace:*" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0.0" } } diff --git a/test/fixtures/minimal-types/package.json b/test/fixtures/minimal-types/package.json index 8cdd0337f1..01260993dd 100644 --- a/test/fixtures/minimal-types/package.json +++ b/test/fixtures/minimal-types/package.json @@ -7,5 +7,8 @@ }, "dependencies": { "nuxt": "workspace:*" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0.0" } } diff --git a/test/fixtures/minimal/package.json b/test/fixtures/minimal/package.json index b3c2d82157..ec8752d986 100644 --- a/test/fixtures/minimal/package.json +++ b/test/fixtures/minimal/package.json @@ -6,5 +6,8 @@ }, "dependencies": { "nuxt": "workspace:*" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0.0" } } diff --git a/test/fixtures/runtime-compiler/package.json b/test/fixtures/runtime-compiler/package.json index cf133dcd9b..4c45c2f351 100644 --- a/test/fixtures/runtime-compiler/package.json +++ b/test/fixtures/runtime-compiler/package.json @@ -6,5 +6,8 @@ }, "dependencies": { "nuxt": "workspace:*" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0.0" } } diff --git a/test/fixtures/suspense/package.json b/test/fixtures/suspense/package.json index 44a373a436..ab5e89d39a 100644 --- a/test/fixtures/suspense/package.json +++ b/test/fixtures/suspense/package.json @@ -9,5 +9,8 @@ }, "devDependencies": { "typescript": "latest" + }, + "engines": { + "node": "^18.12.0 || ^20.9.0 || >=22.0.0" } }