diff --git a/cli/cli.ts b/cli/cli.ts index 94e461daa..94330e4a0 100644 --- a/cli/cli.ts +++ b/cli/cli.ts @@ -31,7 +31,7 @@ export function createCLI(opts: CLIOptions) { throw new Error('Invalid template') } - const { runCommand } = await import('nuxi') + const { runCommand } = await import('@nuxt/cli') await runCommand('init', [dir, '-t', `gh:nuxt-content/docus/.starters/${template}`]) }, }) diff --git a/cli/package.json b/cli/package.json index 137f8572c..b5580dbeb 100644 --- a/cli/package.json +++ b/cli/package.json @@ -20,11 +20,11 @@ "dev": "tsx ./main.ts" }, "dependencies": { + "@nuxt/cli": "3.28.0", "@nuxt/kit": "^4.2.1", "c12": "^3.3.2", "citty": "^0.1.6", "defu": "^6.1.4", - "nuxi": "3.28.0", "scule": "^1.3.0", "ufo": "^1.6.1", "unctx": "^2.4.1" @@ -34,8 +34,5 @@ "tsup": "^8.5.1", "tsx": "^4.20.6" }, - "resolutions": { - "nuxi": "3.28.0" - }, "packageManager": "pnpm@10.22.0" } diff --git a/package.json b/package.json index 326c028b6..c822d03e4 100644 --- a/package.json +++ b/package.json @@ -30,8 +30,5 @@ "typescript": "^5.9.3", "vue-tsc": "^3.1.4" }, - "resolutions": { - "nuxi": "3.28.0" - }, "packageManager": "pnpm@10.22.0" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6d5e8fdb6..3dabec6ee 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,9 +4,6 @@ settings: autoInstallPeers: true excludeLinksFromLockfile: false -overrides: - nuxi: 3.28.0 - importers: .: @@ -41,6 +38,9 @@ importers: cli: dependencies: + '@nuxt/cli': + specifier: 3.28.0 + version: 3.28.0(magicast@0.5.1) '@nuxt/kit': specifier: ^4.2.1 version: 4.2.1(magicast@0.5.1) @@ -53,9 +53,6 @@ importers: defu: specifier: ^6.1.4 version: 6.1.4 - nuxi: - specifier: 3.28.0 - version: 3.28.0 scule: specifier: ^1.3.0 version: 1.3.0 @@ -1317,8 +1314,8 @@ packages: '@nodeutils/defaults-deep@1.1.0': resolution: {integrity: sha512-gG44cwQovaOFdSR02jR9IhVRpnDP64VN6JdjYJTfNz4J4fWn7TQnmrf22nSjRqlwlxPcW8PL/L3KbJg3tdwvpg==} - '@nuxt/cli@3.29.3': - resolution: {integrity: sha512-48GYmH4SyzR5pqd02UXVzBfrvEGaurPKMjSWxlHgqnpI5buwOYCvH+OqvHOmvnLrDP2bxR9hbDod/UIphOjMhg==} + '@nuxt/cli@3.28.0': + resolution: {integrity: sha512-WQ751WxWLBIeH3TDFt/LWQ2znyAKxpR5+gpv80oerwnVQs4GKajAfR6dIgExXZkjaPUHEFv2lVD9vM+frbprzw==} engines: {node: ^16.10.0 || >=18.0.0} hasBin: true @@ -2403,9 +2400,6 @@ packages: '@poppinss/colors@4.1.5': resolution: {integrity: sha512-FvdDqtcRCtz6hThExcFOgW0cWX+xwSMWcRuQe5ZEb2m7cVQOAVZOIMt+/v9RxGiD9/OY16qJBXK4CVKWAPalBw==} - '@poppinss/dumper@0.6.4': - resolution: {integrity: sha512-iG0TIdqv8xJ3Lt9O8DrPRxw1MRLjNpoqiSGU03P/wNLP/s0ra0udPJ1J2Tx5M0J3H/cVyEgpbn8xUKRY9j59kQ==} - '@poppinss/dumper@0.6.5': resolution: {integrity: sha512-NBdYIb90J7LfOI32dOewKI1r7wnkiH6m920puQ3qHUeZkxNkQiFnXVWoE6YtFSv6QOiPPf7ys6i+HWWecDz7sw==} @@ -2901,9 +2895,6 @@ packages: '@speed-highlight/core@1.2.12': resolution: {integrity: sha512-uilwrK0Ygyri5dToHYdZSjcvpS2ZwX0w5aSt3GCEN9hrjxWCoeV4Z2DTXuxjwbntaLQIEEAlCeNQss5SoHvAEA==} - '@speed-highlight/core@1.2.7': - resolution: {integrity: sha512-0dxmVj4gxg3Jg879kvFS/msl4s9F3T9UXC1InxgOf7t5NvcPD97u/WTA5vL/IxWHMn7qSxBozqrnnE2wvl1m8g==} - '@sqlite.org/sqlite-wasm@3.50.4-build1': resolution: {integrity: sha512-Qig2Wso7gPkU1PtXwFzndh+CTRzrIFxVGqv6eCetjU7YqxlHItj+GvQYwYTppCRgAPawtRN/4AJcEgB9xDHGug==} hasBin: true @@ -3977,10 +3968,6 @@ packages: resolution: {integrity: sha512-5mOlNS0mhX0707P2I0aZ2V/cmHUEO/fL7VFLqszkhUsxt7RwnmrInf/eEQKlf5GzvYeHIjT+Ov1HRfNmymlG0w==} engines: {node: '>=18'} - clipboardy@5.0.0: - resolution: {integrity: sha512-MQfKHaD09eP80Pev4qBxZLbxJK/ONnqfSYAPlCmPh+7BDboYtO/3BmB6HGzxDIT0SlTRc2tzS8lQqfcdLtZ0Kg==} - engines: {node: '>=20'} - cliui@8.0.1: resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} engines: {node: '>=12'} @@ -5319,10 +5306,6 @@ packages: resolution: {integrity: sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==} engines: {node: '>=18'} - is-wayland@0.1.0: - resolution: {integrity: sha512-QkbMsWkIfkrzOPxenwye0h56iAXirZYHG9eHVPb22fO9y+wPbaX/CHacOWBa/I++4ohTcByimhM1/nyCsH8KNA==} - engines: {node: '>=20'} - is-what@4.1.16: resolution: {integrity: sha512-ZhMwEosbFJkA0YhFnNDgTM4ZxDRsS6HqTo7qsZM08fehyRYIYa0yHu5R6mgo1n/8MgaPBXiPimPD77baVFYg+A==} engines: {node: '>=12.13'} @@ -6018,11 +6001,6 @@ packages: nth-check@2.1.1: resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} - nuxi@3.28.0: - resolution: {integrity: sha512-sH4z8U/wo9dOfeGHsngK6CMjG05lLm/Yt4PcVAQR1KrAa+Hrh+L4/U0UMKtlgQLze5KbFLit0fn4WXL6iqCZ6A==} - engines: {node: ^16.10.0 || >=18.0.0} - hasBin: true - nuxt-component-meta@https://pkg.pr.new/nuxt-component-meta@e3eb2c4: resolution: {tarball: https://pkg.pr.new/nuxt-component-meta@e3eb2c4} version: 0.14.0 @@ -7056,11 +7034,6 @@ packages: resolution: {integrity: sha512-1POYv7uv2gXoyGFpBCmpDVSNV74IfsWlDW216UPjbWufNf+bSU6GdbDsxdcxtfwb4xlI3yxzOTKClUosxARYrQ==} engines: {node: '>=0.10.0'} - srvx@0.8.16: - resolution: {integrity: sha512-hmcGW4CgroeSmzgF1Ihwgl+Ths0JqAJ7HwjP2X7e3JzY7u4IydLMcdnlqGQiQGUswz+PO9oh/KtCpOISIvs9QQ==} - engines: {node: '>=20.16.0'} - hasBin: true - srvx@0.9.6: resolution: {integrity: sha512-5L4rT6qQqqb+xcoDoklUgCNdmzqJ6vbcDRwPVGRXewF55IJH0pqh0lQlrJ266ZWTKJ4mfeioqHQJeAYesS+RrQ==} engines: {node: '>=20.16.0'} @@ -9140,11 +9113,11 @@ snapshots: dependencies: lodash: 4.17.21 - '@nuxt/cli@3.29.3(magicast@0.3.5)': + '@nuxt/cli@3.28.0(magicast@0.5.1)': dependencies: - c12: 3.3.2(magicast@0.3.5) + c12: 3.3.2(magicast@0.5.1) citty: 0.1.6 - clipboardy: 5.0.0 + clipboardy: 4.0.0 confbox: 0.2.2 consola: 3.4.2 defu: 6.1.4 @@ -9153,22 +9126,21 @@ snapshots: get-port-please: 3.2.0 giget: 2.0.0 h3: 1.15.4 + httpxy: 0.1.7 jiti: 2.6.1 listhen: 1.9.0 nypm: 0.6.2 - ofetch: 1.4.1 + ofetch: 1.5.1 ohash: 2.0.11 pathe: 2.0.3 - perfect-debounce: 2.0.0 + perfect-debounce: 1.0.0 pkg-types: 2.3.0 scule: 1.3.0 semver: 7.7.3 - srvx: 0.8.16 std-env: 3.10.0 tinyexec: 1.0.1 ufo: 1.6.1 - undici: 7.16.0 - youch: 4.1.0-beta.11 + youch: 4.1.0-beta.12 transitivePeerDependencies: - magicast @@ -9696,7 +9668,7 @@ snapshots: defu: 6.1.4 destr: 2.0.5 errx: 0.1.0 - exsolve: 1.0.7 + exsolve: 1.0.8 ignore: 7.0.5 jiti: 2.6.1 klona: 2.0.6 @@ -9921,7 +9893,7 @@ snapshots: dotenv: 16.6.1 git-url-parse: 16.1.0 is-docker: 3.0.0 - ofetch: 1.4.1 + ofetch: 1.5.1 package-manager-detector: 1.4.1 pathe: 2.0.3 rc9: 2.1.2 @@ -9938,7 +9910,7 @@ snapshots: dotenv: 16.6.1 git-url-parse: 16.1.0 is-docker: 3.0.0 - ofetch: 1.4.1 + ofetch: 1.5.1 package-manager-detector: 1.4.1 pathe: 2.0.3 rc9: 2.1.2 @@ -11031,12 +11003,6 @@ snapshots: dependencies: kleur: 4.1.5 - '@poppinss/dumper@0.6.4': - dependencies: - '@poppinss/colors': 4.1.5 - '@sindresorhus/is': 7.1.0 - supports-color: 10.2.2 - '@poppinss/dumper@0.6.5': dependencies: '@poppinss/colors': 4.1.5 @@ -11487,8 +11453,6 @@ snapshots: '@speed-highlight/core@1.2.12': {} - '@speed-highlight/core@1.2.7': {} - '@sqlite.org/sqlite-wasm@3.50.4-build1': {} '@standard-schema/spec@1.0.0': {} @@ -12707,13 +12671,6 @@ snapshots: is-wsl: 3.1.0 is64bit: 2.0.0 - clipboardy@5.0.0: - dependencies: - execa: 9.6.0 - is-wayland: 0.1.0 - is-wsl: 3.1.0 - is64bit: 2.0.0 - cliui@8.0.1: dependencies: string-width: 4.2.3 @@ -14287,8 +14244,6 @@ snapshots: is-unicode-supported@2.1.0: {} - is-wayland@0.1.0: {} - is-what@4.1.16: {} is-wsl@2.2.0: @@ -15072,7 +15027,7 @@ snapshots: mlly: 1.8.0 node-fetch-native: 1.6.7 node-mock-http: 1.0.3 - ofetch: 1.4.1 + ofetch: 1.5.1 ohash: 2.0.11 pathe: 2.0.3 perfect-debounce: 2.0.0 @@ -15290,8 +15245,6 @@ snapshots: dependencies: boolbase: 1.0.0 - nuxi@3.28.0: {} - nuxt-component-meta@https://pkg.pr.new/nuxt-component-meta@e3eb2c4(magicast@0.3.5): dependencies: '@nuxt/kit': 4.2.1(magicast@0.3.5) @@ -15439,7 +15392,7 @@ snapshots: nuxt@4.1.3(@parcel/watcher@2.5.1)(@types/node@24.10.1)(@vue/compiler-sfc@3.5.24)(better-sqlite3@12.4.1)(db0@0.3.4(better-sqlite3@12.4.1))(eslint@9.39.1(jiti@2.6.1))(idb-keyval@6.2.2)(ioredis@5.8.1)(lightningcss@1.30.2)(magicast@0.3.5)(meow@13.2.0)(optionator@0.9.4)(rollup@4.53.2)(terser@5.44.0)(tsx@4.20.6)(typescript@5.9.3)(vite@7.2.2(@types/node@24.10.1)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.44.0)(tsx@4.20.6)(yaml@2.8.1))(vue-tsc@3.1.4(typescript@5.9.3))(yaml@2.8.1): dependencies: - '@nuxt/cli': 3.29.3(magicast@0.3.5) + '@nuxt/cli': 3.30.0(magicast@0.3.5) '@nuxt/devalue': 2.0.2 '@nuxt/devtools': 2.6.5(vite@7.2.2(@types/node@24.10.1)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.44.0)(tsx@4.20.6)(yaml@2.8.1))(vue@3.5.22(typescript@5.9.3)) '@nuxt/kit': 4.1.3(magicast@0.3.5) @@ -17153,8 +17106,6 @@ snapshots: speakingurl@14.0.1: {} - srvx@0.8.16: {} - srvx@0.9.6: {} stable-hash-x@0.2.0: {} @@ -18231,8 +18182,8 @@ snapshots: youch@4.1.0-beta.11: dependencies: '@poppinss/colors': 4.1.5 - '@poppinss/dumper': 0.6.4 - '@speed-highlight/core': 1.2.7 + '@poppinss/dumper': 0.6.5 + '@speed-highlight/core': 1.2.12 cookie: 1.0.2 youch-core: 0.3.3