diff --git a/package.json b/package.json index e30d84a..d91e3f0 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "test:types": "nuxt-module-build prepare && nuxt prepare playground && vue-tsc --noEmit" }, "dependencies": { - "@nuxt/kit": "^3.19.3", + "@nuxt/kit": "^4.1.3", "citty": "^0.1.6", "consola": "^3.4.2", "destr": "^2.0.5", @@ -60,7 +60,7 @@ "devDependencies": { "@nuxt/eslint-config": "^1.9.0", "@nuxt/module-builder": "^1.0.2", - "@nuxt/schema": "^3.19.3", + "@nuxt/schema": "^4.1.3", "@nuxt/test-utils": "^3.19.2", "@types/git-url-parse": "^16.0.2", "@vitest/coverage-v8": "^3.2.4", @@ -70,7 +70,7 @@ "h3": "^1.15.4", "installed-check": "^9.3.0", "knip": "^5.66.2", - "nuxt": "^3.19.3", + "nuxt": "^4.1.3", "typescript": "^5.9.3", "unbuild": "^3.6.1", "vitest": "^3.2.4", diff --git a/playground/package.json b/playground/package.json index 1faf7c0..0b3580d 100644 --- a/playground/package.json +++ b/playground/package.json @@ -5,6 +5,6 @@ "build": "nuxt build" }, "dependencies": { - "nuxt": "^3.19.3" + "nuxt": "^4.1.3" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cf0627c..e6b5b2d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ importers: .: dependencies: '@nuxt/kit': - specifier: ^3.19.3 - version: 3.19.3(magicast@0.3.5) + specifier: ^4.1.3 + version: 4.1.3(magicast@0.3.5) citty: specifier: ^0.1.6 version: 0.1.6 @@ -55,8 +55,8 @@ importers: specifier: ^1.0.2 version: 1.0.2(@nuxt/cli@3.29.3(magicast@0.3.5))(@vue/compiler-core@3.5.22)(esbuild@0.25.10)(typescript@5.9.3)(vue-tsc@3.1.1(typescript@5.9.3))(vue@3.5.22(typescript@5.9.3)) '@nuxt/schema': - specifier: ^3.19.3 - version: 3.19.3 + specifier: ^4.1.3 + version: 4.1.3 '@nuxt/test-utils': specifier: ^3.19.2 version: 3.19.2(magicast@0.3.5)(typescript@5.9.3)(vitest@3.2.4(@types/node@24.7.2)(jiti@2.6.1)(terser@5.44.0)(yaml@2.8.1)) @@ -85,8 +85,8 @@ importers: specifier: ^5.66.2 version: 5.66.2(@types/node@24.7.2)(typescript@5.9.3) nuxt: - specifier: ^3.19.3 - version: 3.19.3(@parcel/watcher@2.5.1)(@types/node@24.7.2)(@vue/compiler-sfc@3.5.22)(db0@0.3.4)(eslint@9.38.0(jiti@2.6.1))(ioredis@5.8.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.52.4)(terser@5.44.0)(typescript@5.9.3)(vite@7.1.9(@types/node@24.7.2)(jiti@2.6.1)(terser@5.44.0)(yaml@2.8.1))(vue-tsc@3.1.1(typescript@5.9.3))(yaml@2.8.1) + specifier: ^4.1.3 + version: 4.1.3(@parcel/watcher@2.5.1)(@types/node@24.7.2)(@vue/compiler-sfc@3.5.22)(db0@0.3.4)(eslint@9.38.0(jiti@2.6.1))(ioredis@5.8.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.52.4)(terser@5.44.0)(typescript@5.9.3)(vite@7.1.9(@types/node@24.7.2)(jiti@2.6.1)(terser@5.44.0)(yaml@2.8.1))(vue-tsc@3.1.1(typescript@5.9.3))(yaml@2.8.1) typescript: specifier: ^5.9.3 version: 5.9.3 @@ -103,8 +103,8 @@ importers: playground: dependencies: nuxt: - specifier: ^3.19.3 - version: 3.19.3(@parcel/watcher@2.5.1)(@types/node@24.7.2)(@vue/compiler-sfc@3.5.22)(db0@0.3.4)(eslint@9.38.0(jiti@2.6.1))(ioredis@5.8.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.52.4)(terser@5.44.0)(typescript@5.9.3)(vite@7.1.9(@types/node@24.7.2)(jiti@2.6.1)(terser@5.44.0)(yaml@2.8.1))(vue-tsc@3.1.1(typescript@5.9.3))(yaml@2.8.1) + specifier: ^4.1.3 + version: 4.1.3(@parcel/watcher@2.5.1)(@types/node@24.7.2)(@vue/compiler-sfc@3.5.22)(db0@0.3.4)(eslint@9.38.0(jiti@2.6.1))(ioredis@5.8.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.52.4)(terser@5.44.0)(typescript@5.9.3)(vite@7.1.9(@types/node@24.7.2)(jiti@2.6.1)(terser@5.44.0)(yaml@2.8.1))(vue-tsc@3.1.1(typescript@5.9.3))(yaml@2.8.1) packages: @@ -610,6 +610,10 @@ packages: resolution: {integrity: sha512-ze46EW5xW+UxDvinvPkYt2MzR355Az1lA3bpX8KDialgnCwr+IbkBij/udbUEC6ZFbidPkfK1eKl4ESN7gMY+w==} engines: {node: '>=18.12.0'} + '@nuxt/kit@4.1.3': + resolution: {integrity: sha512-WK0yPIqcb3GQ8r4GutF6p/2fsyXnmmmkuwVLzN4YaJHrpA2tjEagjbxdjkWYeHW8o4XIKJ4micah4wPOVK49Mg==} + engines: {node: '>=18.12.0'} + '@nuxt/module-builder@1.0.2': resolution: {integrity: sha512-9M+0oZimbwom1J+HrfDuR5NDPED6C+DlM+2xfXju9wqB6VpVfYkS6WNEmS0URw8kpJcKBuogAc7ADO7vRS4s4A==} engines: {node: ^18.0.0 || >=20.0.0} @@ -618,8 +622,8 @@ packages: '@nuxt/cli': ^3.26.4 typescript: ^5.8.3 - '@nuxt/schema@3.19.3': - resolution: {integrity: sha512-qgqy1trhTmy3fx7k+rW0xejtAxRZmjI45MxZnpsORypqwQYf+njtoY8tO1oTtsOtH9QaHfjCig7l8bGGkkL1rw==} + '@nuxt/schema@4.1.3': + resolution: {integrity: sha512-ZLkIfleKHQF0PqTDEwuVVnnE/hyMdfY4m2zX8vRC0XMSbFS1I0MFcKkzWnJaMC13NYmGPnT3sX0o3lznweKHJQ==} engines: {node: ^14.18.0 || >=16.10.0} '@nuxt/test-utils@3.19.2': @@ -658,8 +662,8 @@ packages: vitest: optional: true - '@nuxt/vite-builder@3.19.3': - resolution: {integrity: sha512-pGCwOhNvWh4STIJdII0fkGKx80Heis2wK9X2lsTnu7oXQyTBnuqYxtP+l8sdqfX921v37ta++vskpRP1lYihCA==} + '@nuxt/vite-builder@4.1.3': + resolution: {integrity: sha512-yrblLSpGW6h9k+sDZa+vtevQz/6JLrPAj3n97HrEmVa6qB+4sE4HWtkMNUtWsOPe60sAm9usRsjDUkkiHZ0DpA==} engines: {node: ^20.19.0 || >=22.12.0} peerDependencies: rolldown: ^1.0.0-beta.38 @@ -2227,10 +2231,6 @@ packages: resolution: {integrity: sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==} engines: {node: '>= 0.8'} - enhanced-resolve@5.18.3: - resolution: {integrity: sha512-d4lC8xfavMeBjzGr2vECC3fsGXziXZQyJxD868h2M/mBI3PwAuODxAkLkq5HYuvrPYcUtiLzsTo8U3PgX3Ocww==} - engines: {node: '>=10.13.0'} - entities@4.5.0: resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} engines: {node: '>=0.12'} @@ -2429,9 +2429,6 @@ packages: exsolve@1.0.7: resolution: {integrity: sha512-VO5fQUzZtI6C+vx4w/4BWJpg3s/5l+6pRQEHzFRM8WFi4XffSP1Z+4qi7GbjWbvRQEbdIco5mIMq+zX4rPuLrw==} - externality@1.0.2: - resolution: {integrity: sha512-LyExtJWKxtgVzmgtEHyQtLFpw1KFhQphF9nTG8TpAIVkiI/xQ3FJh75tRFLYl4hkn7BNIIdLJInuDAavX35pMw==} - fake-indexeddb@6.2.3: resolution: {integrity: sha512-idzJXFtDIHNShFZ9ssS8IdsRgAP0t9zwWvSdCKsWK2dgh2xcXA6/2Oteaxar5GJqmwzZXCrKRO6F5IEiR4yJzw==} engines: {node: '>=18'} @@ -3186,13 +3183,13 @@ packages: nth-check@2.1.1: resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} - nuxt@3.19.3: - resolution: {integrity: sha512-J5vfkt69gamnl81iDgeSi1tZ0ADEesKfZizPfKxY10dMdjuelAo9WYItFmFGWZ9j1+uXtFJ+PLzqGmXfPLBsuw==} + nuxt@4.1.3: + resolution: {integrity: sha512-FPl+4HNIOTRYWQXtsZe5KJAr/eddFesuXABvcSTnFLYckIfnxcistwmbtPlkJhkW6vr/Jdhef5QqqYYkBsowGg==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true 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': optional: true @@ -3851,9 +3848,6 @@ packages: std-env@3.10.0: resolution: {integrity: sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==} - std-env@3.9.0: - resolution: {integrity: sha512-UGvjygr6F6tpH7o2qyqR6QYpwraIjKSdtzyBdyytFOHmPZY917kwdwLG0RbOjWOnKmnm3PeHjaoLLMie7kPLQw==} - streamx@2.23.0: resolution: {integrity: sha512-kn+e44esVfn2Fa/O0CPFcex27fjIL6MkVae0Mm6q+E6f0hWv578YCERbv+4m02cjxvDsPKLnmxral/rR6lBMAg==} @@ -3944,10 +3938,6 @@ packages: resolution: {integrity: sha512-yEFYrVhod+hdNyx7g5Bnkkb0G6si8HJurOoOEgC8B/O0uXLHlaey/65KRv6cuWBNhBgHKAROVpc7QyYqE5gFng==} engines: {node: '>=20'} - tapable@2.3.0: - resolution: {integrity: sha512-g9ljZiwki/LfxmQADO3dEY1CbpmXT5Hm2fJ+QaGKwSXUylMybePR7/67YW7jOrrvjEgL1Fmz5kzyAjWVWLlucg==} - engines: {node: '>=6'} - tar-stream@3.1.7: resolution: {integrity: sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==} @@ -5137,6 +5127,33 @@ snapshots: transitivePeerDependencies: - magicast + '@nuxt/kit@4.1.3(magicast@0.3.5)': + dependencies: + c12: 3.3.0(magicast@0.3.5) + consola: 3.4.2 + defu: 6.1.4 + destr: 2.0.5 + errx: 0.1.0 + exsolve: 1.0.7 + ignore: 7.0.5 + jiti: 2.6.1 + klona: 2.0.6 + mlly: 1.8.0 + ohash: 2.0.11 + pathe: 2.0.3 + pkg-types: 2.3.0 + rc9: 2.1.2 + scule: 1.3.0 + semver: 7.7.3 + std-env: 3.10.0 + tinyglobby: 0.2.15 + ufo: 1.6.1 + unctx: 2.4.1 + unimport: 5.4.1 + untyped: 2.0.0 + transitivePeerDependencies: + - magicast + '@nuxt/module-builder@1.0.2(@nuxt/cli@3.29.3(magicast@0.3.5))(@vue/compiler-core@3.5.22)(esbuild@0.25.10)(typescript@5.9.3)(vue-tsc@3.1.1(typescript@5.9.3))(vue@3.5.22(typescript@5.9.3))': dependencies: '@nuxt/cli': 3.29.3(magicast@0.3.5) @@ -5160,7 +5177,7 @@ snapshots: - vue - vue-tsc - '@nuxt/schema@3.19.3': + '@nuxt/schema@4.1.3': dependencies: '@vue/shared': 3.5.22 consola: 3.4.2 @@ -5202,9 +5219,9 @@ snapshots: - magicast - typescript - '@nuxt/vite-builder@3.19.3(@types/node@24.7.2)(eslint@9.38.0(jiti@2.6.1))(magicast@0.3.5)(optionator@0.9.4)(rollup@4.52.4)(terser@5.44.0)(typescript@5.9.3)(vue-tsc@3.1.1(typescript@5.9.3))(vue@3.5.22(typescript@5.9.3))(yaml@2.8.1)': + '@nuxt/vite-builder@4.1.3(@types/node@24.7.2)(eslint@9.38.0(jiti@2.6.1))(magicast@0.3.5)(optionator@0.9.4)(rollup@4.52.4)(terser@5.44.0)(typescript@5.9.3)(vue-tsc@3.1.1(typescript@5.9.3))(vue@3.5.22(typescript@5.9.3))(yaml@2.8.1)': dependencies: - '@nuxt/kit': 3.19.3(magicast@0.3.5) + '@nuxt/kit': 4.1.3(magicast@0.3.5) '@rollup/plugin-replace': 6.0.2(rollup@4.52.4) '@vitejs/plugin-vue': 6.0.1(vite@7.1.9(@types/node@24.7.2)(jiti@2.6.1)(terser@5.44.0)(yaml@2.8.1))(vue@3.5.22(typescript@5.9.3)) '@vitejs/plugin-vue-jsx': 5.1.1(vite@7.1.9(@types/node@24.7.2)(jiti@2.6.1)(terser@5.44.0)(yaml@2.8.1))(vue@3.5.22(typescript@5.9.3)) @@ -5215,7 +5232,6 @@ snapshots: esbuild: 0.25.10 escape-string-regexp: 5.0.0 exsolve: 1.0.7 - externality: 1.0.2 get-port-please: 3.2.0 h3: 1.15.4 jiti: 2.6.1 @@ -5223,9 +5239,7 @@ snapshots: magic-string: 0.30.19 mlly: 1.8.0 mocked-exports: 0.1.1 - ohash: 2.0.11 pathe: 2.0.3 - perfect-debounce: 2.0.0 pkg-types: 2.3.0 postcss: 8.5.6 rollup-plugin-visualizer: 6.0.4(rollup@4.52.4) @@ -6640,11 +6654,6 @@ snapshots: encodeurl@2.0.0: {} - enhanced-resolve@5.18.3: - dependencies: - graceful-fs: 4.2.11 - tapable: 2.3.0 - entities@4.5.0: {} error-stack-parser-es@1.0.5: {} @@ -6922,13 +6931,6 @@ snapshots: exsolve@1.0.7: {} - externality@1.0.2: - dependencies: - enhanced-resolve: 5.18.3 - mlly: 1.8.0 - pathe: 1.1.2 - ufo: 1.6.1 - fake-indexeddb@6.2.3: {} fast-deep-equal@3.1.3: {} @@ -7716,15 +7718,15 @@ snapshots: dependencies: boolbase: 1.0.0 - nuxt@3.19.3(@parcel/watcher@2.5.1)(@types/node@24.7.2)(@vue/compiler-sfc@3.5.22)(db0@0.3.4)(eslint@9.38.0(jiti@2.6.1))(ioredis@5.8.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.52.4)(terser@5.44.0)(typescript@5.9.3)(vite@7.1.9(@types/node@24.7.2)(jiti@2.6.1)(terser@5.44.0)(yaml@2.8.1))(vue-tsc@3.1.1(typescript@5.9.3))(yaml@2.8.1): + nuxt@4.1.3(@parcel/watcher@2.5.1)(@types/node@24.7.2)(@vue/compiler-sfc@3.5.22)(db0@0.3.4)(eslint@9.38.0(jiti@2.6.1))(ioredis@5.8.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.52.4)(terser@5.44.0)(typescript@5.9.3)(vite@7.1.9(@types/node@24.7.2)(jiti@2.6.1)(terser@5.44.0)(yaml@2.8.1))(vue-tsc@3.1.1(typescript@5.9.3))(yaml@2.8.1): dependencies: '@nuxt/cli': 3.29.3(magicast@0.3.5) '@nuxt/devalue': 2.0.2 '@nuxt/devtools': 2.6.5(vite@7.1.9(@types/node@24.7.2)(jiti@2.6.1)(terser@5.44.0)(yaml@2.8.1))(vue@3.5.22(typescript@5.9.3)) - '@nuxt/kit': 3.19.3(magicast@0.3.5) - '@nuxt/schema': 3.19.3 + '@nuxt/kit': 4.1.3(magicast@0.3.5) + '@nuxt/schema': 4.1.3 '@nuxt/telemetry': 'link:' - '@nuxt/vite-builder': 3.19.3(@types/node@24.7.2)(eslint@9.38.0(jiti@2.6.1))(magicast@0.3.5)(optionator@0.9.4)(rollup@4.52.4)(terser@5.44.0)(typescript@5.9.3)(vue-tsc@3.1.1(typescript@5.9.3))(vue@3.5.22(typescript@5.9.3))(yaml@2.8.1) + '@nuxt/vite-builder': 4.1.3(@types/node@24.7.2)(eslint@9.38.0(jiti@2.6.1))(magicast@0.3.5)(optionator@0.9.4)(rollup@4.52.4)(terser@5.44.0)(typescript@5.9.3)(vue-tsc@3.1.1(typescript@5.9.3))(vue@3.5.22(typescript@5.9.3))(yaml@2.8.1) '@unhead/vue': 2.0.19(vue@3.5.22(typescript@5.9.3)) '@vue/shared': 3.5.22 c12: 3.3.0(magicast@0.3.5) @@ -7766,7 +7768,7 @@ snapshots: radix3: 1.1.2 scule: 1.3.0 semver: 7.7.3 - std-env: 3.9.0 + std-env: 3.10.0 tinyglobby: 0.2.15 ufo: 1.6.1 ultrahtml: 1.6.0 @@ -8544,8 +8546,6 @@ snapshots: std-env@3.10.0: {} - std-env@3.9.0: {} - streamx@2.23.0: dependencies: events-universal: 1.0.1 @@ -8633,8 +8633,6 @@ snapshots: tagged-tag@1.0.0: {} - tapable@2.3.0: {} - tar-stream@3.1.7: dependencies: b4a: 1.7.3