diff --git a/knip.json b/knip.json index 27d4d3858..37c59ce61 100644 --- a/knip.json +++ b/knip.json @@ -4,7 +4,7 @@ ".": { "ignoreDependencies": [ "@nuxt/test-utils", - "nuxt", + "@nuxt/schema", "vue", "vue-router" ], diff --git a/package.json b/package.json index 690647135..0ee69a76d 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "@antfu/eslint-config": "^7.0.1", "@codspeed/vitest-plugin": "^5.0.1", "@nuxt/eslint-config": "^1.12.1", + "@nuxt/nitro-server": "^4.3.0", "@nuxt/test-utils": "^3.23.0", "@types/node": "^24.10.9", "@types/semver": "^7.7.1", @@ -32,7 +33,7 @@ "eslint": "^9.39.2", "exsolve": "^1.0.8", "knip": "^5.82.0", - "nuxt": "^4.2.2", + "nuxt": "^4.3.0", "pkg-pr-new": "^0.0.62", "semver": "^7.7.3", "std-env": "^3.10.0", @@ -44,7 +45,7 @@ }, "resolutions": { "@nuxt/cli": "workspace:*", - "@nuxt/schema": "4.2.2", + "@nuxt/schema": "4.3.0", "create-nuxt": "workspace:*", "create-nuxt-app": "workspace:*", "eslint-plugin-jsdoc": "62.1.0", diff --git a/packages/nuxi/package.json b/packages/nuxi/package.json index 34d7af75a..9a27c6d9b 100644 --- a/packages/nuxi/package.json +++ b/packages/nuxi/package.json @@ -34,8 +34,8 @@ "devDependencies": { "@bomb.sh/tab": "^0.0.11", "@clack/prompts": "1.0.0-alpha.9", - "@nuxt/kit": "^4.2.2", - "@nuxt/schema": "^4.2.2", + "@nuxt/kit": "^4.3.0", + "@nuxt/schema": "^4.3.0", "@nuxt/test-utils": "^3.23.0", "@types/copy-paste": "^2.1.0", "@types/debug": "^4.1.12", diff --git a/packages/nuxt-cli/package.json b/packages/nuxt-cli/package.json index beac4029c..e538e3a0e 100644 --- a/packages/nuxt-cli/package.json +++ b/packages/nuxt-cli/package.json @@ -32,6 +32,14 @@ "dev:prepare": "tsdown --watch", "prepack": "tsdown" }, + "peerDependencies": { + "@nuxt/schema": "^4.3.0" + }, + "peerDependenciesMeta": { + "@nuxt/schema": { + "optional": true + } + }, "dependencies": { "@bomb.sh/tab": "^0.0.11", "@clack/prompts": "1.0.0-alpha.9", @@ -61,17 +69,9 @@ "ufo": "^1.6.3", "youch": "^4.1.0-beta.13" }, - "peerDependencies": { - "@nuxt/schema": "^4.0.0" - }, - "peerDependenciesMeta": { - "@nuxt/schema": { - "optional": true - } - }, "devDependencies": { - "@nuxt/kit": "^4.2.2", - "@nuxt/schema": "^4.2.2", + "@nuxt/kit": "^4.3.0", + "@nuxt/schema": "^4.3.0", "@types/debug": "^4.1.12", "@types/node": "^24.10.9", "get-port-please": "^3.2.0", diff --git a/playground/package.json b/playground/package.json index 6949bb42e..d33e3aa7b 100644 --- a/playground/package.json +++ b/playground/package.json @@ -10,7 +10,7 @@ "test": "vitest" }, "dependencies": { - "nuxt": "^4.2.2", + "nuxt": "^4.3.0", "vue-router": "^5.0.2" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7da8f17c0..e0fd260e5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,7 +6,7 @@ settings: overrides: '@nuxt/cli': workspace:* - '@nuxt/schema': 4.2.2 + '@nuxt/schema': 4.3.0 create-nuxt: workspace:* create-nuxt-app: workspace:* eslint-plugin-jsdoc: 62.1.0 @@ -28,6 +28,9 @@ importers: '@nuxt/eslint-config': specifier: ^1.12.1 version: 1.12.1(@typescript-eslint/utils@8.54.0(eslint@9.39.2(jiti@2.6.1))(typescript@5.9.3))(@vue/compiler-sfc@3.5.27)(eslint@9.39.2(jiti@2.6.1))(typescript@5.9.3) + '@nuxt/nitro-server': + specifier: ^4.3.0 + version: 4.3.0(db0@0.3.4)(ioredis@5.9.2)(magicast@0.5.1)(nuxt@4.3.0(@parcel/watcher@2.5.6)(@types/node@24.10.9)(@vue/compiler-sfc@3.5.27)(db0@0.3.4)(eslint@9.39.2(jiti@2.6.1))(ioredis@5.9.2)(magicast@0.5.1)(optionator@0.9.4)(rolldown@1.0.0-rc.1)(rollup@4.57.0)(terser@5.46.0)(typescript@5.9.3)(vite@7.3.1(@types/node@24.10.9)(jiti@2.6.1)(terser@5.46.0)(yaml@2.8.2))(yaml@2.8.2))(rolldown@1.0.0-rc.1)(typescript@5.9.3) '@nuxt/test-utils': specifier: ^3.23.0 version: 3.23.0(crossws@0.4.4(srvx@0.10.1))(magicast@0.5.1)(typescript@5.9.3)(vitest@3.2.4(@types/debug@4.1.12)(@types/node@24.10.9)(jiti@2.6.1)(terser@5.46.0)(yaml@2.8.2)) @@ -53,7 +56,7 @@ importers: specifier: ^5.82.0 version: 5.82.1(@types/node@24.10.9)(typescript@5.9.3) nuxt: - specifier: ^4.2.2 + specifier: ^4.3.0 version: 4.3.0(@parcel/watcher@2.5.6)(@types/node@24.10.9)(@vue/compiler-sfc@3.5.27)(db0@0.3.4)(eslint@9.39.2(jiti@2.6.1))(ioredis@5.9.2)(magicast@0.5.1)(optionator@0.9.4)(rolldown@1.0.0-rc.1)(rollup@4.57.0)(terser@5.46.0)(typescript@5.9.3)(vite@7.3.1(@types/node@24.10.9)(jiti@2.6.1)(terser@5.46.0)(yaml@2.8.2))(yaml@2.8.2) pkg-pr-new: specifier: ^0.0.62 @@ -123,11 +126,11 @@ importers: specifier: 1.0.0-alpha.9 version: 1.0.0-alpha.9 '@nuxt/kit': - specifier: ^4.2.2 + specifier: ^4.3.0 version: 4.3.0(magicast@0.5.1) '@nuxt/schema': - specifier: 4.2.2 - version: 4.2.2 + specifier: 4.3.0 + version: 4.3.0 '@nuxt/test-utils': specifier: ^3.23.0 version: 3.23.0(crossws@0.4.4(srvx@0.10.1))(magicast@0.5.1)(typescript@5.9.3)(vitest@3.2.4(@types/debug@4.1.12)(@types/node@24.10.9)(jiti@2.6.1)(terser@5.46.0)(yaml@2.8.2)) @@ -337,11 +340,11 @@ importers: version: 4.1.0-beta.13 devDependencies: '@nuxt/kit': - specifier: ^4.2.2 + specifier: ^4.3.0 version: 4.3.0(magicast@0.5.1) '@nuxt/schema': - specifier: 4.2.2 - version: 4.2.2 + specifier: 4.3.0 + version: 4.3.0 '@types/debug': specifier: ^4.1.12 version: 4.1.12 @@ -394,7 +397,7 @@ importers: playground: dependencies: nuxt: - specifier: ^4.2.2 + specifier: ^4.3.0 version: 4.3.0(@parcel/watcher@2.5.6)(@types/node@24.10.9)(@vue/compiler-sfc@3.5.27)(db0@0.3.4)(eslint@9.39.2(jiti@2.6.1))(ioredis@5.9.2)(magicast@0.5.1)(optionator@0.9.4)(rolldown@1.0.0-rc.1)(rollup@4.57.0)(terser@5.46.0)(typescript@5.9.3)(vite@7.3.1(@types/node@24.10.9)(jiti@2.6.1)(terser@5.46.0)(yaml@2.8.2))(yaml@2.8.2) vue-router: specifier: ^5.0.2 @@ -1060,8 +1063,8 @@ packages: peerDependencies: nuxt: ^4.3.0 - '@nuxt/schema@4.2.2': - resolution: {integrity: sha512-lW/1MNpO01r5eR/VoeanQio8Lg4QpDklMOHa4mBHhhPNlBO1qiRtVYzjcnNdun3hujGauRaO9khGjv93Z5TZZA==} + '@nuxt/schema@4.3.0': + resolution: {integrity: sha512-+Ps3exseMFH3MOapbBmDdpaHpPV7wqcB6+Ir9w8h91771HwMOWrQomAZpqDvw7FtFraoD5Xw7dhSKDhkwJRSmQ==} engines: {node: ^14.18.0 || >=16.10.0} '@nuxt/telemetry@2.6.6': @@ -3487,9 +3490,6 @@ packages: resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==} engines: {node: '>=16'} - get-tsconfig@4.13.0: - resolution: {integrity: sha512-1VKTZJCwBrvbd+Wn3AOgQP/2Av+TfTCOlE4AcRJE72W1ksZXbAx8PPBR9RzgTeSPzlPMHrbANMH3LbltH73wxQ==} - get-tsconfig@4.13.1: resolution: {integrity: sha512-EoY1N2xCn44xU6750Sx7OjOIT59FkmstNc3X6y5xpz7D5cBtZRe/3pSlTkDJgqsOk3WwZPkWfonhhUJfttQo3w==} @@ -3520,6 +3520,7 @@ packages: glob@10.5.0: resolution: {integrity: sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==} + deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me hasBin: true glob@13.0.0: @@ -6644,7 +6645,7 @@ snapshots: - uploadthing - xml2js - '@nuxt/schema@4.2.2': + '@nuxt/schema@4.3.0': dependencies: '@vue/shared': 3.5.27 defu: 6.1.4 @@ -8486,7 +8487,7 @@ snapshots: eslint-import-context@0.1.9(unrs-resolver@1.11.1): dependencies: - get-tsconfig: 4.13.0 + get-tsconfig: 4.13.1 stable-hash-x: 0.2.0 optionalDependencies: unrs-resolver: 1.11.1 @@ -8585,7 +8586,7 @@ snapshots: enhanced-resolve: 5.18.4 eslint: 9.39.2(jiti@2.6.1) eslint-plugin-es-x: 7.8.0(eslint@9.39.2(jiti@2.6.1)) - get-tsconfig: 4.13.0 + get-tsconfig: 4.13.1 globals: 15.15.0 globrex: 0.1.2 ignore: 5.3.2 @@ -8938,10 +8939,6 @@ snapshots: get-stream@8.0.1: {} - get-tsconfig@4.13.0: - dependencies: - resolve-pkg-maps: 1.0.0 - get-tsconfig@4.13.1: dependencies: resolve-pkg-maps: 1.0.0 @@ -9994,7 +9991,7 @@ snapshots: '@nuxt/devtools': 3.1.1(vite@7.3.1(@types/node@24.10.9)(jiti@2.6.1)(terser@5.46.0)(yaml@2.8.2))(vue@3.5.27(typescript@5.9.3)) '@nuxt/kit': 4.3.0(magicast@0.5.1) '@nuxt/nitro-server': 4.3.0(db0@0.3.4)(ioredis@5.9.2)(magicast@0.5.1)(nuxt@4.3.0(@parcel/watcher@2.5.6)(@types/node@24.10.9)(@vue/compiler-sfc@3.5.27)(db0@0.3.4)(eslint@9.39.2(jiti@2.6.1))(ioredis@5.9.2)(magicast@0.5.1)(optionator@0.9.4)(rolldown@1.0.0-rc.1)(rollup@4.57.0)(terser@5.46.0)(typescript@5.9.3)(vite@7.3.1(@types/node@24.10.9)(jiti@2.6.1)(terser@5.46.0)(yaml@2.8.2))(yaml@2.8.2))(rolldown@1.0.0-rc.1)(typescript@5.9.3) - '@nuxt/schema': 4.2.2 + '@nuxt/schema': 4.3.0 '@nuxt/telemetry': 2.6.6(magicast@0.5.1) '@nuxt/vite-builder': 4.3.0(@types/node@24.10.9)(eslint@9.39.2(jiti@2.6.1))(magicast@0.5.1)(nuxt@4.3.0(@parcel/watcher@2.5.6)(@types/node@24.10.9)(@vue/compiler-sfc@3.5.27)(db0@0.3.4)(eslint@9.39.2(jiti@2.6.1))(ioredis@5.9.2)(magicast@0.5.1)(optionator@0.9.4)(rolldown@1.0.0-rc.1)(rollup@4.57.0)(terser@5.46.0)(typescript@5.9.3)(vite@7.3.1(@types/node@24.10.9)(jiti@2.6.1)(terser@5.46.0)(yaml@2.8.2))(yaml@2.8.2))(optionator@0.9.4)(rolldown@1.0.0-rc.1)(rollup@4.57.0)(terser@5.46.0)(typescript@5.9.3)(vue@3.5.27(typescript@5.9.3))(yaml@2.8.2) '@unhead/vue': 2.1.2(vue@3.5.27(typescript@5.9.3)) diff --git a/tsconfig.json b/tsconfig.json index 0ad2e37d7..368e8659c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,6 +4,9 @@ "module": "ESNext", "moduleResolution": "Bundler", "resolveJsonModule": true, + "types": [ + "@nuxt/nitro-server" + ], "allowImportingTsExtensions": true, "allowJs": true, "strict": true,