diff --git a/docs/content/docs/5.v9/2.guide/19.breaking-changes-in-v9.md b/docs/content/docs/5.v9/2.guide/19.breaking-changes-in-v9.md index 12b6e249b..045cbe3fa 100644 --- a/docs/content/docs/5.v9/2.guide/19.breaking-changes-in-v9.md +++ b/docs/content/docs/5.v9/2.guide/19.breaking-changes-in-v9.md @@ -48,6 +48,8 @@ Reasons for change 1. Context - i18n files are used both server-side and client-side, using a dedicated `i18n/` folder in the root directory outside `app/` and `server/` makes more sense. 2. Clean - less clutter/fragmentation of i18n files, and should make resolving and loading files easier for us. +To ease the migration to v9 you can disable this feature by setting `restructureDir: false`, this will be removed in v10. + ## Locale `iso` renamed to `language` The `iso` property on a locale object has been renamed to `language` to be consistent with the usage of Language Tags on the web (e.g. `navigator.language` and `Accept-Language`). The original `iso` property name referred to ISO standards which describe valid Language Tags, see the [related issue](https://github.com/nuxt-modules/i18n/issues/2449) for more details. diff --git a/package.json b/package.json index 3ef721e45..34a4f8daa 100644 --- a/package.json +++ b/package.json @@ -91,7 +91,7 @@ "@intlify/unplugin-vue-i18n": "^5.0.0", "@intlify/utils": "^0.13.0", "@miyaneee/rollup-plugin-json5": "^1.2.0", - "@nuxt/kit": "^3.13.1", + "@nuxt/kit": "^3.13.2", "@rollup/plugin-yaml": "^4.1.2", "@vue/compiler-sfc": "^3.5.5", "debug": "^4.3.5", @@ -115,7 +115,7 @@ "@babel/types": "^7.24.7", "@eslint/js": "9.5.0", "@nuxt/module-builder": "^0.8.4", - "@nuxt/schema": "^3.13.1", + "@nuxt/schema": "^3.13.2", "@types/debug": "^4.1.9", "@types/eslint": "^8.56.6", "@unhead/vue": "^1.8.8", @@ -134,7 +134,7 @@ "lint-staged": "^15.2.7", "nitropack": "^2.9.7", "npm-run-all2": "^6.2.0", - "nuxt": "^3.13.1", + "nuxt": "^3.13.2", "ofetch": "^1.3.4", "pkg-pr-new": "^0.0.20", "playwright-core": "^1.45.3", diff --git a/playground/layers/i18n-layer/nuxt.config.ts b/playground/layers/i18n-layer/nuxt.config.ts index 88d0caf2c..e58195654 100644 --- a/playground/layers/i18n-layer/nuxt.config.ts +++ b/playground/layers/i18n-layer/nuxt.config.ts @@ -2,6 +2,7 @@ export default defineNuxtConfig({ modules: ['@nuxtjs/i18n'], i18n: { + restructureDir: false, langDir: 'locales', lazy: true, baseUrl: 'http://localhost:3000', diff --git a/playground/nuxt.config.ts b/playground/nuxt.config.ts index a09f1a663..44b5acce0 100644 --- a/playground/nuxt.config.ts +++ b/playground/nuxt.config.ts @@ -117,6 +117,7 @@ export default defineNuxtConfig({ // }, // debug: true, i18n: { + restructureDir: false, experimental: { localeDetector: './localeDetector.ts', switchLocalePathLinkSSR: true, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7a8829229..2f0905cdc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -29,8 +29,8 @@ importers: specifier: ^1.2.0 version: 1.2.0(rollup@3.29.4) '@nuxt/kit': - specifier: ^3.13.1 - version: 3.13.1(magicast@0.3.5)(rollup@3.29.4)(webpack-sources@3.2.3) + specifier: ^3.13.2 + version: 3.13.2(magicast@0.3.5)(rollup@3.29.4)(webpack-sources@3.2.3) '@rollup/plugin-yaml': specifier: ^4.1.2 version: 4.1.2(rollup@3.29.4) @@ -94,10 +94,10 @@ importers: version: 9.5.0 '@nuxt/module-builder': specifier: ^0.8.4 - version: 0.8.4(@nuxt/kit@3.13.1(magicast@0.3.5)(rollup@3.29.4)(webpack-sources@3.2.3))(nuxi@3.13.2)(typescript@5.6.2)(vue-tsc@2.0.22(typescript@5.6.2))(webpack-sources@3.2.3) + version: 0.8.4(@nuxt/kit@3.13.2(magicast@0.3.5)(rollup@3.29.4)(webpack-sources@3.2.3))(nuxi@3.13.2)(typescript@5.6.2)(webpack-sources@3.2.3) '@nuxt/schema': - specifier: ^3.13.1 - version: 3.13.1(rollup@3.29.4)(webpack-sources@3.2.3) + specifier: ^3.13.2 + version: 3.13.2(rollup@3.29.4)(webpack-sources@3.2.3) '@types/debug': specifier: ^4.1.9 version: 4.1.12 @@ -153,8 +153,8 @@ importers: specifier: ^6.2.0 version: 6.2.0 nuxt: - specifier: ^3.13.1 - version: 3.13.1(@opentelemetry/api@1.9.0)(@parcel/watcher@2.4.1)(@types/node@20.14.9)(encoding@0.1.13)(eslint@9.5.0)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@3.29.4)(terser@5.31.1)(typescript@5.6.2)(vite@5.4.3(@types/node@20.14.9)(terser@5.31.1))(vue-tsc@2.0.22(typescript@5.6.2))(webpack-sources@3.2.3) + specifier: ^3.13.2 + version: 3.13.2(@opentelemetry/api@1.9.0)(@parcel/watcher@2.4.1)(@types/node@20.14.9)(encoding@0.1.13)(eslint@9.5.0)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@3.29.4)(terser@5.31.1)(typescript@5.6.2)(vite@5.4.3(@types/node@20.14.9)(terser@5.31.1))(webpack-sources@3.2.3) ofetch: specifier: ^1.3.4 version: 1.3.4 @@ -181,7 +181,7 @@ importers: version: 7.14.1(eslint@9.5.0)(typescript@5.6.2) unbuild: specifier: ^2.0.0 - version: 2.0.0(typescript@5.6.2)(vue-tsc@2.0.22(typescript@5.6.2)) + version: 2.0.0(typescript@5.6.2) undici: specifier: ^6.19.2 version: 6.19.2 @@ -235,7 +235,7 @@ importers: version: link:.. nuxt: specifier: latest - version: 3.12.4(@opentelemetry/api@1.9.0)(@parcel/watcher@2.4.1)(@types/node@20.14.9)(encoding@0.1.13)(eslint@9.5.0)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.2)(terser@5.31.1)(typescript@5.6.2)(vite@5.3.5(@types/node@20.14.9)(terser@5.31.1))(vue-tsc@2.0.22(typescript@5.6.2))(webpack-sources@3.2.3) + version: 3.12.4(@opentelemetry/api@1.9.0)(@parcel/watcher@2.4.1)(@types/node@20.14.9)(encoding@0.1.13)(eslint@9.5.0)(ioredis@5.4.1)(magicast@0.3.4)(optionator@0.9.4)(rollup@4.21.2)(terser@5.31.1)(typescript@5.6.2)(vite@5.3.5(@types/node@20.14.9)(terser@5.31.1))(vue-tsc@2.0.22(typescript@5.6.2))(webpack-sources@3.2.3) specs/fixtures/basic: devDependencies: @@ -263,14 +263,14 @@ importers: dependencies: '@nuxt/devtools': specifier: ^1.0.8 - version: 1.4.2(rollup@4.21.2)(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3) + version: 1.4.2(rollup@4.21.2)(vite@5.4.3(@types/node@20.14.9)(terser@5.31.1))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3) devDependencies: '@nuxtjs/i18n': specifier: link:../../.. version: link:../../.. nuxt: specifier: latest - version: 3.13.2(@opentelemetry/api@1.9.0)(@parcel/watcher@2.4.1)(@types/node@20.14.9)(encoding@0.1.13)(eslint@9.5.0)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.2)(terser@5.31.1)(typescript@5.6.2)(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1))(vue-tsc@2.0.22(typescript@5.6.2))(webpack-sources@3.2.3) + version: 3.13.2(@opentelemetry/api@1.9.0)(@parcel/watcher@2.4.1)(@types/node@20.14.9)(encoding@0.1.13)(eslint@9.5.0)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.2)(terser@5.31.1)(typescript@5.6.2)(vite@5.4.3(@types/node@20.14.9)(terser@5.31.1))(webpack-sources@3.2.3) specs/fixtures/different_domains: devDependencies: @@ -8504,7 +8504,7 @@ snapshots: '@intlify/message-compiler@10.0.0': dependencies: '@intlify/shared': 10.0.0 - source-map-js: 1.2.0 + source-map-js: 1.2.1 '@intlify/message-compiler@10.0.1': dependencies: @@ -8747,7 +8747,7 @@ snapshots: '@nuxt/content@2.13.0(ioredis@5.4.1)(magicast@0.3.5)(nuxt@3.12.4(@opentelemetry/api@1.9.0)(@parcel/watcher@2.4.1)(@types/node@20.14.9)(encoding@0.1.13)(eslint@9.5.0)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.2)(terser@5.31.1)(typescript@5.6.2)(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1))(vue-tsc@2.0.22(typescript@5.6.2))(webpack-sources@3.2.3))(rollup@4.21.2)(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3)': dependencies: - '@nuxt/kit': 3.13.1(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) '@nuxtjs/mdc': 0.8.2(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) '@vueuse/core': 10.11.0(vue@3.5.5(typescript@5.6.2)) '@vueuse/head': 2.0.0(vue@3.5.5(typescript@5.6.2)) @@ -8803,8 +8803,8 @@ snapshots: '@nuxt/devtools-kit@1.3.6(magicast@0.3.4)(rollup@4.21.2)(vite@5.4.3(@types/node@20.14.9)(terser@5.31.1))(webpack-sources@3.2.3)': dependencies: - '@nuxt/kit': 3.13.1(magicast@0.3.4)(rollup@4.21.2)(webpack-sources@3.2.3) - '@nuxt/schema': 3.13.1(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/kit': 3.13.2(magicast@0.3.4)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/schema': 3.13.2(rollup@4.21.2)(webpack-sources@3.2.3) execa: 7.2.0 vite: 5.4.3(@types/node@20.14.9)(terser@5.31.1) transitivePeerDependencies: @@ -8815,8 +8815,8 @@ snapshots: '@nuxt/devtools-kit@1.3.6(magicast@0.3.5)(rollup@4.21.2)(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1))(webpack-sources@3.2.3)': dependencies: - '@nuxt/kit': 3.13.1(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) - '@nuxt/schema': 3.13.1(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/schema': 3.13.2(rollup@4.21.2)(webpack-sources@3.2.3) execa: 7.2.0 vite: 5.4.5(@types/node@20.14.9)(terser@5.31.1) transitivePeerDependencies: @@ -8827,8 +8827,8 @@ snapshots: '@nuxt/devtools-kit@1.3.9(magicast@0.3.4)(rollup@4.21.2)(vite@5.3.5(@types/node@20.14.9)(terser@5.31.1))(webpack-sources@3.2.3)': dependencies: - '@nuxt/kit': 3.13.1(magicast@0.3.4)(rollup@4.21.2)(webpack-sources@3.2.3) - '@nuxt/schema': 3.13.1(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/kit': 3.13.2(magicast@0.3.4)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/schema': 3.13.2(rollup@4.21.2)(webpack-sources@3.2.3) execa: 7.2.0 vite: 5.3.5(@types/node@20.14.9)(terser@5.31.1) transitivePeerDependencies: @@ -8839,8 +8839,8 @@ snapshots: '@nuxt/devtools-kit@1.3.9(magicast@0.3.4)(rollup@4.21.2)(vite@5.4.3(@types/node@20.14.9)(terser@5.31.1))(webpack-sources@3.2.3)': dependencies: - '@nuxt/kit': 3.13.1(magicast@0.3.4)(rollup@4.21.2)(webpack-sources@3.2.3) - '@nuxt/schema': 3.13.1(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/kit': 3.13.2(magicast@0.3.4)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/schema': 3.13.2(rollup@4.21.2)(webpack-sources@3.2.3) execa: 7.2.0 vite: 5.4.3(@types/node@20.14.9)(terser@5.31.1) transitivePeerDependencies: @@ -8851,8 +8851,8 @@ snapshots: '@nuxt/devtools-kit@1.3.9(magicast@0.3.4)(rollup@4.21.2)(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1))(webpack-sources@3.2.3)': dependencies: - '@nuxt/kit': 3.13.1(magicast@0.3.4)(rollup@4.21.2)(webpack-sources@3.2.3) - '@nuxt/schema': 3.13.1(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/kit': 3.13.2(magicast@0.3.4)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/schema': 3.13.2(rollup@4.21.2)(webpack-sources@3.2.3) execa: 7.2.0 vite: 5.4.5(@types/node@20.14.9)(terser@5.31.1) transitivePeerDependencies: @@ -8863,8 +8863,8 @@ snapshots: '@nuxt/devtools-kit@1.3.9(magicast@0.3.5)(rollup@4.21.2)(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1))(webpack-sources@3.2.3)': dependencies: - '@nuxt/kit': 3.13.1(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) - '@nuxt/schema': 3.13.1(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/schema': 3.13.2(rollup@4.21.2)(webpack-sources@3.2.3) execa: 7.2.0 vite: 5.4.5(@types/node@20.14.9)(terser@5.31.1) transitivePeerDependencies: @@ -8875,8 +8875,8 @@ snapshots: '@nuxt/devtools-kit@1.4.2(magicast@0.3.5)(rollup@3.29.4)(vite@5.4.3(@types/node@20.14.9)(terser@5.31.1))(webpack-sources@3.2.3)': dependencies: - '@nuxt/kit': 3.13.1(magicast@0.3.5)(rollup@3.29.4)(webpack-sources@3.2.3) - '@nuxt/schema': 3.13.1(rollup@3.29.4)(webpack-sources@3.2.3) + '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@3.29.4)(webpack-sources@3.2.3) + '@nuxt/schema': 3.13.2(rollup@3.29.4)(webpack-sources@3.2.3) execa: 7.2.0 vite: 5.4.3(@types/node@20.14.9)(terser@5.31.1) transitivePeerDependencies: @@ -8887,8 +8887,8 @@ snapshots: '@nuxt/devtools-kit@1.4.2(magicast@0.3.5)(rollup@4.21.2)(vite@5.4.3(@types/node@20.14.9)(terser@5.31.1))(webpack-sources@3.2.3)': dependencies: - '@nuxt/kit': 3.13.1(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) - '@nuxt/schema': 3.13.1(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/schema': 3.13.2(rollup@4.21.2)(webpack-sources@3.2.3) execa: 7.2.0 vite: 5.4.3(@types/node@20.14.9)(terser@5.31.1) transitivePeerDependencies: @@ -8899,8 +8899,8 @@ snapshots: '@nuxt/devtools-kit@1.4.2(magicast@0.3.5)(rollup@4.21.2)(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1))(webpack-sources@3.2.3)': dependencies: - '@nuxt/kit': 3.13.1(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) - '@nuxt/schema': 3.13.1(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/schema': 3.13.2(rollup@4.21.2)(webpack-sources@3.2.3) execa: 7.2.0 vite: 5.4.5(@types/node@20.14.9)(terser@5.31.1) transitivePeerDependencies: @@ -8917,7 +8917,7 @@ snapshots: '@iconify-json/tabler': 1.1.114 '@nuxt/devtools': 1.4.2(rollup@4.21.2)(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3) '@nuxt/devtools-kit': 1.3.6(magicast@0.3.5)(rollup@4.21.2)(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1))(webpack-sources@3.2.3) - '@nuxt/kit': 3.13.1(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) '@unocss/core': 0.61.0 '@unocss/nuxt': 0.61.0(magicast@0.3.5)(postcss@8.4.40)(rollup@4.21.2)(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1))(webpack-sources@3.2.3)(webpack@5.92.1) '@unocss/preset-attributify': 0.61.0 @@ -9329,6 +9329,34 @@ snapshots: - vue - webpack-sources + '@nuxt/kit@3.12.4(magicast@0.3.4)(rollup@4.21.2)(webpack-sources@3.2.3)': + dependencies: + '@nuxt/schema': 3.12.4(rollup@4.21.2)(webpack-sources@3.2.3) + c12: 1.11.2(magicast@0.3.4) + consola: 3.2.3 + defu: 6.1.4 + destr: 2.0.3 + globby: 14.0.2 + hash-sum: 2.0.0 + ignore: 5.3.2 + jiti: 1.21.0 + klona: 2.0.6 + knitwork: 1.1.0 + mlly: 1.7.1 + pathe: 1.1.2 + pkg-types: 1.2.0 + scule: 1.3.0 + semver: 7.6.3 + ufo: 1.5.4 + unctx: 2.3.1 + unimport: 3.11.1(rollup@4.21.2)(webpack-sources@3.2.3) + untyped: 1.4.2 + transitivePeerDependencies: + - magicast + - rollup + - supports-color + - webpack-sources + '@nuxt/kit@3.12.4(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3)': dependencies: '@nuxt/schema': 3.12.4(rollup@4.21.2)(webpack-sources@3.2.3) @@ -9441,6 +9469,62 @@ snapshots: - supports-color - webpack-sources + '@nuxt/kit@3.13.2(magicast@0.3.4)(rollup@4.21.2)(webpack-sources@3.2.3)': + dependencies: + '@nuxt/schema': 3.13.2(rollup@4.21.2)(webpack-sources@3.2.3) + c12: 1.11.2(magicast@0.3.4) + consola: 3.2.3 + defu: 6.1.4 + destr: 2.0.3 + globby: 14.0.2 + hash-sum: 2.0.0 + ignore: 5.3.2 + jiti: 1.21.0 + klona: 2.0.6 + knitwork: 1.1.0 + mlly: 1.7.1 + pathe: 1.1.2 + pkg-types: 1.2.0 + scule: 1.3.0 + semver: 7.6.3 + ufo: 1.5.4 + unctx: 2.3.1 + unimport: 3.12.0(rollup@4.21.2)(webpack-sources@3.2.3) + untyped: 1.4.2 + transitivePeerDependencies: + - magicast + - rollup + - supports-color + - webpack-sources + + '@nuxt/kit@3.13.2(magicast@0.3.5)(rollup@3.29.4)(webpack-sources@3.2.3)': + dependencies: + '@nuxt/schema': 3.13.2(rollup@3.29.4)(webpack-sources@3.2.3) + c12: 1.11.2(magicast@0.3.5) + consola: 3.2.3 + defu: 6.1.4 + destr: 2.0.3 + globby: 14.0.2 + hash-sum: 2.0.0 + ignore: 5.3.2 + jiti: 1.21.0 + klona: 2.0.6 + knitwork: 1.1.0 + mlly: 1.7.1 + pathe: 1.1.2 + pkg-types: 1.2.0 + scule: 1.3.0 + semver: 7.6.3 + ufo: 1.5.4 + unctx: 2.3.1 + unimport: 3.12.0(rollup@3.29.4)(webpack-sources@3.2.3) + untyped: 1.4.2 + transitivePeerDependencies: + - magicast + - rollup + - supports-color + - webpack-sources + '@nuxt/kit@3.13.2(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3)': dependencies: '@nuxt/schema': 3.13.2(rollup@4.21.2)(webpack-sources@3.2.3) @@ -9469,9 +9553,9 @@ snapshots: - supports-color - webpack-sources - '@nuxt/module-builder@0.8.4(@nuxt/kit@3.13.1(magicast@0.3.5)(rollup@3.29.4)(webpack-sources@3.2.3))(nuxi@3.13.2)(typescript@5.6.2)(vue-tsc@2.0.22(typescript@5.6.2))(webpack-sources@3.2.3)': + '@nuxt/module-builder@0.8.4(@nuxt/kit@3.13.2(magicast@0.3.5)(rollup@3.29.4)(webpack-sources@3.2.3))(nuxi@3.13.2)(typescript@5.6.2)(webpack-sources@3.2.3)': dependencies: - '@nuxt/kit': 3.13.1(magicast@0.3.5)(rollup@3.29.4)(webpack-sources@3.2.3) + '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@3.29.4)(webpack-sources@3.2.3) citty: 0.1.6 consola: 3.2.3 defu: 6.1.4 @@ -9481,7 +9565,7 @@ snapshots: pathe: 1.1.2 pkg-types: 1.2.0 tsconfck: 3.1.3(typescript@5.6.2) - unbuild: 2.0.0(typescript@5.6.2)(vue-tsc@2.0.22(typescript@5.6.2)) + unbuild: 2.0.0(typescript@5.6.2) transitivePeerDependencies: - sass - supports-color @@ -9546,6 +9630,25 @@ snapshots: - supports-color - webpack-sources + '@nuxt/schema@3.13.2(rollup@3.29.4)(webpack-sources@3.2.3)': + dependencies: + compatx: 0.1.8 + consola: 3.2.3 + defu: 6.1.4 + hookable: 5.5.3 + pathe: 1.1.2 + pkg-types: 1.2.0 + scule: 1.3.0 + std-env: 3.7.0 + ufo: 1.5.4 + uncrypto: 0.1.3 + unimport: 3.12.0(rollup@3.29.4)(webpack-sources@3.2.3) + untyped: 1.4.2 + transitivePeerDependencies: + - rollup + - supports-color + - webpack-sources + '@nuxt/schema@3.13.2(rollup@4.21.2)(webpack-sources@3.2.3)': dependencies: compatx: 0.1.8 @@ -9565,9 +9668,9 @@ snapshots: - supports-color - webpack-sources - '@nuxt/telemetry@2.5.4(magicast@0.3.5)(rollup@3.29.4)(webpack-sources@3.2.3)': + '@nuxt/telemetry@2.5.4(magicast@0.3.4)(rollup@4.21.2)(webpack-sources@3.2.3)': dependencies: - '@nuxt/kit': 3.13.1(magicast@0.3.5)(rollup@3.29.4)(webpack-sources@3.2.3) + '@nuxt/kit': 3.13.2(magicast@0.3.4)(rollup@4.21.2)(webpack-sources@3.2.3) ci-info: 4.0.0 consola: 3.2.3 create-require: 1.1.1 @@ -9592,7 +9695,7 @@ snapshots: '@nuxt/telemetry@2.5.4(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3)': dependencies: - '@nuxt/kit': 3.13.1(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) ci-info: 4.0.0 consola: 3.2.3 create-require: 1.1.1 @@ -9615,6 +9718,32 @@ snapshots: - supports-color - webpack-sources + '@nuxt/telemetry@2.6.0(magicast@0.3.5)(rollup@3.29.4)(webpack-sources@3.2.3)': + dependencies: + '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@3.29.4)(webpack-sources@3.2.3) + ci-info: 4.0.0 + consola: 3.2.3 + create-require: 1.1.1 + defu: 6.1.4 + destr: 2.0.3 + dotenv: 16.4.5 + git-url-parse: 15.0.0 + is-docker: 3.0.0 + jiti: 1.21.0 + mri: 1.2.0 + nanoid: 5.0.7 + ofetch: 1.3.4 + package-manager-detector: 0.2.0 + parse-git-config: 3.0.0 + pathe: 1.1.2 + rc9: 2.1.2 + std-env: 3.7.0 + transitivePeerDependencies: + - magicast + - rollup + - supports-color + - webpack-sources + '@nuxt/telemetry@2.6.0(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3)': dependencies: '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) @@ -9681,7 +9810,7 @@ snapshots: '@headlessui/tailwindcss': 0.2.1(tailwindcss@3.4.4) '@headlessui/vue': 1.7.22(vue@3.5.5(typescript@5.6.2)) '@iconify-json/heroicons': 1.1.21 - '@nuxt/kit': 3.13.1(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) '@nuxtjs/color-mode': 3.4.2(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) '@nuxtjs/tailwindcss': 6.12.0(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) '@popperjs/core': 2.11.8 @@ -9722,9 +9851,9 @@ snapshots: - vue - webpack-sources - '@nuxt/vite-builder@3.12.4(@types/node@20.14.9)(eslint@9.5.0)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.2)(terser@5.31.1)(typescript@5.6.2)(vue-tsc@2.0.22(typescript@5.6.2))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3)': + '@nuxt/vite-builder@3.12.4(@types/node@20.14.9)(eslint@9.5.0)(magicast@0.3.4)(optionator@0.9.4)(rollup@4.21.2)(terser@5.31.1)(typescript@5.6.2)(vue-tsc@2.0.22(typescript@5.6.2))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3)': dependencies: - '@nuxt/kit': 3.12.4(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/kit': 3.12.4(magicast@0.3.4)(rollup@4.21.2)(webpack-sources@3.2.3) '@rollup/plugin-replace': 5.0.7(rollup@4.21.2) '@vitejs/plugin-vue': 5.0.5(vite@5.3.5(@types/node@20.14.9)(terser@5.31.1))(vue@3.5.5(typescript@5.6.2)) '@vitejs/plugin-vue-jsx': 4.0.0(vite@5.3.5(@types/node@20.14.9)(terser@5.31.1))(vue@3.5.5(typescript@5.6.2)) @@ -9781,18 +9910,18 @@ snapshots: - vue-tsc - webpack-sources - '@nuxt/vite-builder@3.13.1(@types/node@20.14.9)(eslint@9.5.0)(magicast@0.3.5)(optionator@0.9.4)(rollup@3.29.4)(terser@5.31.1)(typescript@5.6.2)(vue-tsc@2.0.22(typescript@5.6.2))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3)': + '@nuxt/vite-builder@3.12.4(@types/node@20.14.9)(eslint@9.5.0)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.2)(terser@5.31.1)(typescript@5.6.2)(vue-tsc@2.0.22(typescript@5.6.2))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3)': dependencies: - '@nuxt/kit': 3.13.1(magicast@0.3.5)(rollup@3.29.4)(webpack-sources@3.2.3) - '@rollup/plugin-replace': 5.0.7(rollup@3.29.4) - '@vitejs/plugin-vue': 5.1.3(vite@5.4.3(@types/node@20.14.9)(terser@5.31.1))(vue@3.5.5(typescript@5.6.2)) - '@vitejs/plugin-vue-jsx': 4.0.1(vite@5.4.3(@types/node@20.14.9)(terser@5.31.1))(vue@3.5.5(typescript@5.6.2)) - autoprefixer: 10.4.20(postcss@8.4.45) + '@nuxt/kit': 3.12.4(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) + '@rollup/plugin-replace': 5.0.7(rollup@4.21.2) + '@vitejs/plugin-vue': 5.0.5(vite@5.3.5(@types/node@20.14.9)(terser@5.31.1))(vue@3.5.5(typescript@5.6.2)) + '@vitejs/plugin-vue-jsx': 4.0.0(vite@5.3.5(@types/node@20.14.9)(terser@5.31.1))(vue@3.5.5(typescript@5.6.2)) + autoprefixer: 10.4.19(postcss@8.4.40) clear: 0.1.0 consola: 3.2.3 - cssnano: 7.0.6(postcss@8.4.45) + cssnano: 7.0.4(postcss@8.4.40) defu: 6.1.4 - esbuild: 0.23.1 + esbuild: 0.23.0 escape-string-regexp: 5.0.0 estree-walker: 3.0.3 externality: 1.0.2 @@ -9804,17 +9933,17 @@ snapshots: ohash: 1.1.3 pathe: 1.1.2 perfect-debounce: 1.0.0 - pkg-types: 1.2.0 - postcss: 8.4.45 - rollup-plugin-visualizer: 5.12.0(rollup@3.29.4) + pkg-types: 1.1.3 + postcss: 8.4.40 + rollup-plugin-visualizer: 5.12.0(rollup@4.21.2) std-env: 3.7.0 strip-literal: 2.1.0 ufo: 1.5.4 unenv: 1.10.0 - unplugin: 1.14.0(webpack-sources@3.2.3) - vite: 5.4.3(@types/node@20.14.9)(terser@5.31.1) + unplugin: 1.12.0 + vite: 5.3.5(@types/node@20.14.9)(terser@5.31.1) vite-node: 2.0.5(@types/node@20.14.9)(terser@5.31.1) - vite-plugin-checker: 0.7.2(eslint@9.5.0)(optionator@0.9.4)(typescript@5.6.2)(vite@5.4.3(@types/node@20.14.9)(terser@5.31.1))(vue-tsc@2.0.22(typescript@5.6.2)) + vite-plugin-checker: 0.7.2(eslint@9.5.0)(optionator@0.9.4)(typescript@5.6.2)(vite@5.3.5(@types/node@20.14.9)(terser@5.31.1))(vue-tsc@2.0.22(typescript@5.6.2)) vue: 3.5.5(typescript@5.6.2) vue-bundle-renderer: 2.1.0 transitivePeerDependencies: @@ -9828,7 +9957,6 @@ snapshots: - optionator - rollup - sass - - sass-embedded - stylelint - stylus - sugarss @@ -9901,7 +10029,67 @@ snapshots: - vue-tsc - webpack-sources - '@nuxt/vite-builder@3.13.2(@types/node@20.14.9)(eslint@9.5.0)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.2)(terser@5.31.1)(typescript@5.6.2)(vue-tsc@2.0.22(typescript@5.6.2))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3)': + '@nuxt/vite-builder@3.13.2(@types/node@20.14.9)(eslint@9.5.0)(magicast@0.3.5)(optionator@0.9.4)(rollup@3.29.4)(terser@5.31.1)(typescript@5.6.2)(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3)': + dependencies: + '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@3.29.4)(webpack-sources@3.2.3) + '@rollup/plugin-replace': 5.0.7(rollup@3.29.4) + '@vitejs/plugin-vue': 5.1.3(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1))(vue@3.5.5(typescript@5.6.2)) + '@vitejs/plugin-vue-jsx': 4.0.1(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1))(vue@3.5.5(typescript@5.6.2)) + autoprefixer: 10.4.20(postcss@8.4.47) + clear: 0.1.0 + consola: 3.2.3 + cssnano: 7.0.6(postcss@8.4.47) + defu: 6.1.4 + esbuild: 0.23.1 + escape-string-regexp: 5.0.0 + estree-walker: 3.0.3 + externality: 1.0.2 + get-port-please: 3.1.2 + h3: 1.12.0 + knitwork: 1.1.0 + magic-string: 0.30.11 + mlly: 1.7.1 + ohash: 1.1.4 + pathe: 1.1.2 + perfect-debounce: 1.0.0 + pkg-types: 1.2.0 + postcss: 8.4.47 + rollup-plugin-visualizer: 5.12.0(rollup@3.29.4) + std-env: 3.7.0 + strip-literal: 2.1.0 + ufo: 1.5.4 + unenv: 1.10.0 + unplugin: 1.14.1(webpack-sources@3.2.3) + vite: 5.4.5(@types/node@20.14.9)(terser@5.31.1) + vite-node: 2.1.1(@types/node@20.14.9)(terser@5.31.1) + vite-plugin-checker: 0.8.0(eslint@9.5.0)(optionator@0.9.4)(typescript@5.6.2)(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1)) + vue: 3.5.5(typescript@5.6.2) + vue-bundle-renderer: 2.1.0 + transitivePeerDependencies: + - '@biomejs/biome' + - '@types/node' + - eslint + - less + - lightningcss + - magicast + - meow + - optionator + - rollup + - sass + - sass-embedded + - stylelint + - stylus + - sugarss + - supports-color + - terser + - typescript + - uWebSockets.js + - vls + - vti + - vue-tsc + - webpack-sources + + '@nuxt/vite-builder@3.13.2(@types/node@20.14.9)(eslint@9.5.0)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.2)(terser@5.31.1)(typescript@5.6.2)(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3)': dependencies: '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) '@rollup/plugin-replace': 5.0.7(rollup@4.21.2) @@ -9934,7 +10122,7 @@ snapshots: unplugin: 1.14.1(webpack-sources@3.2.3) vite: 5.4.5(@types/node@20.14.9)(terser@5.31.1) vite-node: 2.1.1(@types/node@20.14.9)(terser@5.31.1) - vite-plugin-checker: 0.8.0(eslint@9.5.0)(optionator@0.9.4)(typescript@5.6.2)(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1))(vue-tsc@2.0.22(typescript@5.6.2)) + vite-plugin-checker: 0.8.0(eslint@9.5.0)(optionator@0.9.4)(typescript@5.6.2)(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1)) vue: 3.5.5(typescript@5.6.2) vue-bundle-renderer: 2.1.0 transitivePeerDependencies: @@ -9963,7 +10151,7 @@ snapshots: '@nuxtjs/color-mode@3.4.2(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3)': dependencies: - '@nuxt/kit': 3.13.1(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) pathe: 1.1.2 pkg-types: 1.2.0 semver: 7.6.3 @@ -9975,7 +10163,7 @@ snapshots: '@nuxtjs/fontaine@0.4.3(encoding@0.1.13)(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3)': dependencies: - '@nuxt/kit': 3.13.1(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) fontaine: 0.5.0(encoding@0.1.13)(webpack-sources@3.2.3) magic-string: 0.30.10 pathe: 1.1.2 @@ -9989,7 +10177,7 @@ snapshots: '@nuxtjs/google-fonts@3.2.0(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3)': dependencies: - '@nuxt/kit': 3.13.1(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) google-fonts-helper: 3.6.0 pathe: 1.1.2 transitivePeerDependencies: @@ -10000,7 +10188,7 @@ snapshots: '@nuxtjs/mdc@0.8.2(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3)': dependencies: - '@nuxt/kit': 3.13.1(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) '@shikijs/transformers': 1.9.1 '@types/hast': 3.0.4 '@types/mdast': 4.0.4 @@ -10043,7 +10231,7 @@ snapshots: '@nuxtjs/tailwindcss@6.12.0(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3)': dependencies: - '@nuxt/kit': 3.13.1(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) autoprefixer: 10.4.19(postcss@8.4.40) consola: 3.2.3 defu: 6.1.4 @@ -11071,7 +11259,7 @@ snapshots: '@unocss/nuxt@0.61.0(magicast@0.3.5)(postcss@8.4.40)(rollup@4.21.2)(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1))(webpack-sources@3.2.3)(webpack@5.92.1)': dependencies: - '@nuxt/kit': 3.13.1(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) '@unocss/config': 0.61.0 '@unocss/core': 0.61.0 '@unocss/preset-attributify': 0.61.0 @@ -11210,7 +11398,7 @@ snapshots: chokidar: 3.6.0 fast-glob: 3.3.2 magic-string: 0.30.11 - unplugin: 1.12.0 + unplugin: 1.14.1(webpack-sources@3.2.3) webpack: 5.92.1 webpack-sources: 3.2.3 transitivePeerDependencies: @@ -11614,7 +11802,7 @@ snapshots: '@vueuse/nuxt@10.11.0(magicast@0.3.5)(nuxt@3.12.4(@opentelemetry/api@1.9.0)(@parcel/watcher@2.4.1)(@types/node@20.14.9)(encoding@0.1.13)(eslint@9.5.0)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.2)(terser@5.31.1)(typescript@5.6.2)(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1))(vue-tsc@2.0.22(typescript@5.6.2))(webpack-sources@3.2.3))(rollup@4.21.2)(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3)': dependencies: - '@nuxt/kit': 3.13.1(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) '@vueuse/core': 10.11.0(vue@3.5.5(typescript@5.6.2)) '@vueuse/metadata': 10.11.0 local-pkg: 0.5.0 @@ -11996,6 +12184,23 @@ snapshots: dependencies: run-applescript: 7.0.0 + c12@1.11.1(magicast@0.3.4): + dependencies: + chokidar: 3.6.0 + confbox: 0.1.7 + defu: 6.1.4 + dotenv: 16.4.5 + giget: 1.2.3 + jiti: 1.21.0 + mlly: 1.7.1 + ohash: 1.1.3 + pathe: 1.1.2 + perfect-debounce: 1.0.0 + pkg-types: 1.1.1 + rc9: 2.1.2 + optionalDependencies: + magicast: 0.3.4 + c12@1.11.1(magicast@0.3.5): dependencies: chokidar: 3.6.0 @@ -14448,7 +14653,7 @@ snapshots: mkdirp@1.0.4: {} - mkdist@1.5.4(typescript@5.6.2)(vue-tsc@2.0.22(typescript@5.6.2)): + mkdist@1.5.4(typescript@5.6.2): dependencies: autoprefixer: 10.4.19(postcss@8.4.40) citty: 0.1.6 @@ -14465,7 +14670,6 @@ snapshots: semver: 7.6.3 optionalDependencies: typescript: 5.6.2 - vue-tsc: 2.0.22(typescript@5.6.2) mlly@1.7.1: dependencies: @@ -14506,6 +14710,96 @@ snapshots: neo-async@2.6.2: {} + nitropack@2.9.7(@opentelemetry/api@1.9.0)(encoding@0.1.13)(magicast@0.3.4): + dependencies: + '@cloudflare/kv-asset-handler': 0.3.4 + '@netlify/functions': 2.8.0(@opentelemetry/api@1.9.0) + '@rollup/plugin-alias': 5.1.0(rollup@4.18.0) + '@rollup/plugin-commonjs': 25.0.8(rollup@4.18.0) + '@rollup/plugin-inject': 5.0.5(rollup@4.18.0) + '@rollup/plugin-json': 6.1.0(rollup@4.18.0) + '@rollup/plugin-node-resolve': 15.2.3(rollup@4.18.0) + '@rollup/plugin-replace': 5.0.7(rollup@4.18.0) + '@rollup/plugin-terser': 0.4.4(rollup@4.18.0) + '@rollup/pluginutils': 5.1.0(rollup@4.18.0) + '@types/http-proxy': 1.17.14 + '@vercel/nft': 0.26.5(encoding@0.1.13) + archiver: 7.0.1 + c12: 1.11.1(magicast@0.3.4) + chalk: 5.3.0 + chokidar: 3.6.0 + citty: 0.1.6 + consola: 3.2.3 + cookie-es: 1.1.0 + croner: 8.0.2 + crossws: 0.2.4 + db0: 0.1.4 + defu: 6.1.4 + destr: 2.0.3 + dot-prop: 8.0.2 + esbuild: 0.20.2 + escape-string-regexp: 5.0.0 + etag: 1.8.1 + fs-extra: 11.2.0 + globby: 14.0.2 + gzip-size: 7.0.0 + h3: 1.12.0 + hookable: 5.5.3 + httpxy: 0.1.5 + ioredis: 5.4.1 + jiti: 1.21.0 + klona: 2.0.6 + knitwork: 1.1.0 + listhen: 1.7.2 + magic-string: 0.30.11 + mime: 4.0.3 + mlly: 1.7.1 + mri: 1.2.0 + node-fetch-native: 1.6.4 + ofetch: 1.3.4 + ohash: 1.1.3 + openapi-typescript: 6.7.6 + pathe: 1.1.2 + perfect-debounce: 1.0.0 + pkg-types: 1.1.3 + pretty-bytes: 6.1.1 + radix3: 1.1.2 + rollup: 4.18.0 + rollup-plugin-visualizer: 5.12.0(rollup@4.18.0) + scule: 1.3.0 + semver: 7.6.3 + serve-placeholder: 2.0.2 + serve-static: 1.15.0 + std-env: 3.7.0 + ufo: 1.5.4 + uncrypto: 0.1.3 + unctx: 2.3.1 + unenv: 1.10.0 + unimport: 3.10.0(rollup@4.18.0) + unstorage: 1.10.2(ioredis@5.4.1) + unwasm: 0.3.9 + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@libsql/client' + - '@netlify/blobs' + - '@opentelemetry/api' + - '@planetscale/database' + - '@upstash/redis' + - '@vercel/kv' + - better-sqlite3 + - drizzle-orm + - encoding + - idb-keyval + - magicast + - supports-color + - uWebSockets.js + nitropack@2.9.7(@opentelemetry/api@1.9.0)(encoding@0.1.13)(magicast@0.3.5): dependencies: '@cloudflare/kv-asset-handler': 0.3.4 @@ -14743,7 +15037,7 @@ snapshots: '@iconify/collections': 1.0.434 '@iconify/vue': 4.1.2(vue@3.5.5(typescript@5.6.2)) '@nuxt/devtools-kit': 1.3.9(magicast@0.3.5)(rollup@4.21.2)(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1))(webpack-sources@3.2.3) - '@nuxt/kit': 3.13.1(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) transitivePeerDependencies: - magicast - rollup @@ -14754,7 +15048,7 @@ snapshots: nuxt-og-image@2.2.6(@nuxt/devtools@1.4.2(rollup@4.21.2)(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3))(@unocss/webpack@0.61.0(rollup@4.21.2)(webpack@5.92.1))(@vue/compiler-core@3.5.5)(fuse.js@6.6.2)(magicast@0.3.5)(nuxt@3.12.4(@opentelemetry/api@1.9.0)(@parcel/watcher@2.4.1)(@types/node@20.14.9)(encoding@0.1.13)(eslint@9.5.0)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.2)(terser@5.31.1)(typescript@5.6.2)(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1))(vue-tsc@2.0.22(typescript@5.6.2))(webpack-sources@3.2.3))(postcss@8.4.40)(rollup@4.21.2)(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3)(webpack@5.92.1): dependencies: - '@nuxt/kit': 3.13.1(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) '@resvg/resvg-js': 2.6.2 '@resvg/resvg-wasm': 2.6.2 '@twemoji/api': 14.1.2 @@ -14819,9 +15113,9 @@ snapshots: nuxt-site-config-kit@1.6.7(magicast@0.3.5)(rollup@4.21.2)(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3): dependencies: - '@nuxt/kit': 3.13.1(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) - '@nuxt/schema': 3.13.1(rollup@4.21.2)(webpack-sources@3.2.3) - pkg-types: 1.1.3 + '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/schema': 3.13.2(rollup@4.21.2)(webpack-sources@3.2.3) + pkg-types: 1.2.0 site-config-stack: 1.6.7(vue@3.5.5(typescript@5.6.2)) std-env: 3.7.0 ufo: 1.5.4 @@ -14836,8 +15130,8 @@ snapshots: dependencies: '@nuxt/devtools-kit': 1.3.6(magicast@0.3.5)(rollup@4.21.2)(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1))(webpack-sources@3.2.3) '@nuxt/devtools-ui-kit': 1.3.6(@nuxt/devtools@1.4.2(rollup@4.21.2)(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3))(@unocss/webpack@0.61.0(rollup@4.21.2)(webpack@5.92.1))(@vue/compiler-core@3.5.5)(fuse.js@6.6.2)(magicast@0.3.5)(nuxt@3.12.4(@opentelemetry/api@1.9.0)(@parcel/watcher@2.4.1)(@types/node@20.14.9)(encoding@0.1.13)(eslint@9.5.0)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.2)(terser@5.31.1)(typescript@5.6.2)(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1))(vue-tsc@2.0.22(typescript@5.6.2))(webpack-sources@3.2.3))(postcss@8.4.40)(rollup@4.21.2)(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3)(webpack@5.92.1) - '@nuxt/kit': 3.13.1(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) - '@nuxt/schema': 3.13.1(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/schema': 3.13.2(rollup@4.21.2)(webpack-sources@3.2.3) nuxt-site-config-kit: 1.6.7(magicast@0.3.5)(rollup@4.21.2)(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3) pathe: 1.1.2 shiki-es: 0.14.0 @@ -14870,20 +15164,20 @@ snapshots: - webpack - webpack-sources - nuxt@3.12.4(@opentelemetry/api@1.9.0)(@parcel/watcher@2.4.1)(@types/node@20.14.9)(encoding@0.1.13)(eslint@9.5.0)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.2)(terser@5.31.1)(typescript@5.6.2)(vite@5.3.5(@types/node@20.14.9)(terser@5.31.1))(vue-tsc@2.0.22(typescript@5.6.2))(webpack-sources@3.2.3): + nuxt@3.12.4(@opentelemetry/api@1.9.0)(@parcel/watcher@2.4.1)(@types/node@20.14.9)(encoding@0.1.13)(eslint@9.5.0)(ioredis@5.4.1)(magicast@0.3.4)(optionator@0.9.4)(rollup@4.21.2)(terser@5.31.1)(typescript@5.6.2)(vite@5.3.5(@types/node@20.14.9)(terser@5.31.1))(vue-tsc@2.0.22(typescript@5.6.2))(webpack-sources@3.2.3): dependencies: '@nuxt/devalue': 2.0.2 '@nuxt/devtools': 1.3.9(rollup@4.21.2)(vite@5.3.5(@types/node@20.14.9)(terser@5.31.1))(webpack-sources@3.2.3) - '@nuxt/kit': 3.12.4(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/kit': 3.12.4(magicast@0.3.4)(rollup@4.21.2)(webpack-sources@3.2.3) '@nuxt/schema': 3.12.4(rollup@4.21.2)(webpack-sources@3.2.3) - '@nuxt/telemetry': 2.5.4(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) - '@nuxt/vite-builder': 3.12.4(@types/node@20.14.9)(eslint@9.5.0)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.2)(terser@5.31.1)(typescript@5.6.2)(vue-tsc@2.0.22(typescript@5.6.2))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3) + '@nuxt/telemetry': 2.5.4(magicast@0.3.4)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/vite-builder': 3.12.4(@types/node@20.14.9)(eslint@9.5.0)(magicast@0.3.4)(optionator@0.9.4)(rollup@4.21.2)(terser@5.31.1)(typescript@5.6.2)(vue-tsc@2.0.22(typescript@5.6.2))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3) '@unhead/dom': 1.9.16 '@unhead/ssr': 1.9.16 '@unhead/vue': 1.9.16(vue@3.5.5(typescript@5.6.2)) '@vue/shared': 3.4.35 acorn: 8.12.1 - c12: 1.11.1(magicast@0.3.5) + c12: 1.11.1(magicast@0.3.4) chokidar: 3.6.0 compatx: 0.1.8 consola: 3.2.3 @@ -14904,7 +15198,7 @@ snapshots: knitwork: 1.1.0 magic-string: 0.30.11 mlly: 1.7.1 - nitropack: 2.9.7(@opentelemetry/api@1.9.0)(encoding@0.1.13)(magicast@0.3.5) + nitropack: 2.9.7(@opentelemetry/api@1.9.0)(encoding@0.1.13)(magicast@0.3.4) nuxi: 3.12.0 nypm: 0.3.9 ofetch: 1.3.4 @@ -15194,14 +15488,14 @@ snapshots: - webpack-sources - xml2js - nuxt@3.13.1(@opentelemetry/api@1.9.0)(@parcel/watcher@2.4.1)(@types/node@20.14.9)(encoding@0.1.13)(eslint@9.5.0)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@3.29.4)(terser@5.31.1)(typescript@5.6.2)(vite@5.4.3(@types/node@20.14.9)(terser@5.31.1))(vue-tsc@2.0.22(typescript@5.6.2))(webpack-sources@3.2.3): + nuxt@3.13.1(@opentelemetry/api@1.9.0)(@parcel/watcher@2.4.1)(@types/node@20.14.9)(encoding@0.1.13)(eslint@9.5.0)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.2)(terser@5.31.1)(typescript@5.6.2)(vite@5.4.3(@types/node@20.14.9)(terser@5.31.1))(vue-tsc@2.0.22(typescript@5.6.2))(webpack-sources@3.2.3): dependencies: '@nuxt/devalue': 2.0.2 - '@nuxt/devtools': 1.4.2(rollup@3.29.4)(vite@5.4.3(@types/node@20.14.9)(terser@5.31.1))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3) - '@nuxt/kit': 3.13.1(magicast@0.3.5)(rollup@3.29.4)(webpack-sources@3.2.3) - '@nuxt/schema': 3.13.1(rollup@3.29.4)(webpack-sources@3.2.3) - '@nuxt/telemetry': 2.5.4(magicast@0.3.5)(rollup@3.29.4)(webpack-sources@3.2.3) - '@nuxt/vite-builder': 3.13.1(@types/node@20.14.9)(eslint@9.5.0)(magicast@0.3.5)(optionator@0.9.4)(rollup@3.29.4)(terser@5.31.1)(typescript@5.6.2)(vue-tsc@2.0.22(typescript@5.6.2))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3) + '@nuxt/devtools': 1.4.2(rollup@4.21.2)(vite@5.4.3(@types/node@20.14.9)(terser@5.31.1))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3) + '@nuxt/kit': 3.13.1(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/schema': 3.13.1(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/telemetry': 2.5.4(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) + '@nuxt/vite-builder': 3.13.1(@types/node@20.14.9)(eslint@9.5.0)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.2)(terser@5.31.1)(typescript@5.6.2)(vue-tsc@2.0.22(typescript@5.6.2))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3) '@unhead/dom': 1.11.2 '@unhead/ssr': 1.11.2 '@unhead/vue': 1.11.2(vue@3.5.5(typescript@5.6.2)) @@ -15223,7 +15517,7 @@ snapshots: h3: 1.12.0 hookable: 5.5.3 ignore: 5.3.2 - impound: 0.1.0(rollup@3.29.4)(webpack-sources@3.2.3) + impound: 0.1.0(rollup@4.21.2)(webpack-sources@3.2.3) jiti: 1.21.0 klona: 2.0.6 knitwork: 1.1.0 @@ -15249,9 +15543,9 @@ snapshots: uncrypto: 0.1.3 unctx: 2.3.1 unenv: 1.10.0 - unimport: 3.11.1(rollup@3.29.4)(webpack-sources@3.2.3) + unimport: 3.11.1(rollup@4.21.2)(webpack-sources@3.2.3) unplugin: 1.14.0(webpack-sources@3.2.3) - unplugin-vue-router: 0.10.8(rollup@3.29.4)(vue-router@4.4.5(vue@3.5.5(typescript@5.6.2)))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3) + unplugin-vue-router: 0.10.8(rollup@4.21.2)(vue-router@4.4.5(vue@3.5.5(typescript@5.6.2)))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3) unstorage: 1.10.2(ioredis@5.4.1) untyped: 1.4.2 vue: 3.5.5(typescript@5.6.2) @@ -15306,18 +15600,19 @@ snapshots: - webpack-sources - xml2js - nuxt@3.13.1(@opentelemetry/api@1.9.0)(@parcel/watcher@2.4.1)(@types/node@20.14.9)(encoding@0.1.13)(eslint@9.5.0)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.2)(terser@5.31.1)(typescript@5.6.2)(vite@5.4.3(@types/node@20.14.9)(terser@5.31.1))(vue-tsc@2.0.22(typescript@5.6.2))(webpack-sources@3.2.3): + nuxt@3.13.2(@opentelemetry/api@1.9.0)(@parcel/watcher@2.4.1)(@types/node@20.14.9)(encoding@0.1.13)(eslint@9.5.0)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@3.29.4)(terser@5.31.1)(typescript@5.6.2)(vite@5.4.3(@types/node@20.14.9)(terser@5.31.1))(webpack-sources@3.2.3): dependencies: '@nuxt/devalue': 2.0.2 - '@nuxt/devtools': 1.4.2(rollup@4.21.2)(vite@5.4.3(@types/node@20.14.9)(terser@5.31.1))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3) - '@nuxt/kit': 3.13.1(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) - '@nuxt/schema': 3.13.1(rollup@4.21.2)(webpack-sources@3.2.3) - '@nuxt/telemetry': 2.5.4(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) - '@nuxt/vite-builder': 3.13.1(@types/node@20.14.9)(eslint@9.5.0)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.2)(terser@5.31.1)(typescript@5.6.2)(vue-tsc@2.0.22(typescript@5.6.2))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3) - '@unhead/dom': 1.11.2 - '@unhead/ssr': 1.11.2 - '@unhead/vue': 1.11.2(vue@3.5.5(typescript@5.6.2)) - '@vue/shared': 3.5.4 + '@nuxt/devtools': 1.4.2(rollup@3.29.4)(vite@5.4.3(@types/node@20.14.9)(terser@5.31.1))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3) + '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@3.29.4)(webpack-sources@3.2.3) + '@nuxt/schema': 3.13.2(rollup@3.29.4)(webpack-sources@3.2.3) + '@nuxt/telemetry': 2.6.0(magicast@0.3.5)(rollup@3.29.4)(webpack-sources@3.2.3) + '@nuxt/vite-builder': 3.13.2(@types/node@20.14.9)(eslint@9.5.0)(magicast@0.3.5)(optionator@0.9.4)(rollup@3.29.4)(terser@5.31.1)(typescript@5.6.2)(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3) + '@unhead/dom': 1.11.6 + '@unhead/shared': 1.11.6 + '@unhead/ssr': 1.11.6 + '@unhead/vue': 1.11.6(vue@3.5.5(typescript@5.6.2)) + '@vue/shared': 3.5.5 acorn: 8.12.1 c12: 1.11.2(magicast@0.3.5) chokidar: 3.6.0 @@ -15335,7 +15630,7 @@ snapshots: h3: 1.12.0 hookable: 5.5.3 ignore: 5.3.2 - impound: 0.1.0(rollup@4.21.2)(webpack-sources@3.2.3) + impound: 0.1.0(rollup@3.29.4)(webpack-sources@3.2.3) jiti: 1.21.0 klona: 2.0.6 knitwork: 1.1.0 @@ -15343,10 +15638,10 @@ snapshots: mlly: 1.7.1 nanotar: 0.1.1 nitropack: 2.9.7(@opentelemetry/api@1.9.0)(encoding@0.1.13)(magicast@0.3.5) - nuxi: 3.13.1 + nuxi: 3.13.2 nypm: 0.3.11 ofetch: 1.3.4 - ohash: 1.1.3 + ohash: 1.1.4 pathe: 1.1.2 perfect-debounce: 1.0.0 pkg-types: 1.2.0 @@ -15355,16 +15650,17 @@ snapshots: semver: 7.6.3 std-env: 3.7.0 strip-literal: 2.1.0 - tinyglobby: 0.2.5 + tinyglobby: 0.2.6 ufo: 1.5.4 ultrahtml: 1.5.3 uncrypto: 0.1.3 unctx: 2.3.1 unenv: 1.10.0 - unimport: 3.11.1(rollup@4.21.2)(webpack-sources@3.2.3) - unplugin: 1.14.0(webpack-sources@3.2.3) - unplugin-vue-router: 0.10.8(rollup@4.21.2)(vue-router@4.4.5(vue@3.5.5(typescript@5.6.2)))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3) - unstorage: 1.10.2(ioredis@5.4.1) + unhead: 1.11.6 + unimport: 3.12.0(rollup@3.29.4)(webpack-sources@3.2.3) + unplugin: 1.14.1(webpack-sources@3.2.3) + unplugin-vue-router: 0.10.8(rollup@3.29.4)(vue-router@4.4.5(vue@3.5.5(typescript@5.6.2)))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3) + unstorage: 1.12.0(ioredis@5.4.1) untyped: 1.4.2 vue: 3.5.5(typescript@5.6.2) vue-bundle-renderer: 2.1.0 @@ -15418,14 +15714,14 @@ snapshots: - webpack-sources - xml2js - nuxt@3.13.2(@opentelemetry/api@1.9.0)(@parcel/watcher@2.4.1)(@types/node@20.14.9)(encoding@0.1.13)(eslint@9.5.0)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.2)(terser@5.31.1)(typescript@5.6.2)(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1))(vue-tsc@2.0.22(typescript@5.6.2))(webpack-sources@3.2.3): + nuxt@3.13.2(@opentelemetry/api@1.9.0)(@parcel/watcher@2.4.1)(@types/node@20.14.9)(encoding@0.1.13)(eslint@9.5.0)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.2)(terser@5.31.1)(typescript@5.6.2)(vite@5.4.3(@types/node@20.14.9)(terser@5.31.1))(webpack-sources@3.2.3): dependencies: '@nuxt/devalue': 2.0.2 - '@nuxt/devtools': 1.4.2(rollup@4.21.2)(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3) + '@nuxt/devtools': 1.4.2(rollup@4.21.2)(vite@5.4.3(@types/node@20.14.9)(terser@5.31.1))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3) '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) '@nuxt/schema': 3.13.2(rollup@4.21.2)(webpack-sources@3.2.3) '@nuxt/telemetry': 2.6.0(magicast@0.3.5)(rollup@4.21.2)(webpack-sources@3.2.3) - '@nuxt/vite-builder': 3.13.2(@types/node@20.14.9)(eslint@9.5.0)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.2)(terser@5.31.1)(typescript@5.6.2)(vue-tsc@2.0.22(typescript@5.6.2))(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3) + '@nuxt/vite-builder': 3.13.2(@types/node@20.14.9)(eslint@9.5.0)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.2)(terser@5.31.1)(typescript@5.6.2)(vue@3.5.5(typescript@5.6.2))(webpack-sources@3.2.3) '@unhead/dom': 1.11.6 '@unhead/shared': 1.11.6 '@unhead/ssr': 1.11.6 @@ -17308,7 +17604,7 @@ snapshots: ultrahtml@1.5.3: {} - unbuild@2.0.0(typescript@5.6.2)(vue-tsc@2.0.22(typescript@5.6.2)): + unbuild@2.0.0(typescript@5.6.2): dependencies: '@rollup/plugin-alias': 5.1.0(rollup@3.29.4) '@rollup/plugin-commonjs': 25.0.8(rollup@3.29.4) @@ -17325,7 +17621,7 @@ snapshots: hookable: 5.5.3 jiti: 1.21.0 magic-string: 0.30.10 - mkdist: 1.5.4(typescript@5.6.2)(vue-tsc@2.0.22(typescript@5.6.2)) + mkdist: 1.5.4(typescript@5.6.2) mlly: 1.7.1 pathe: 1.1.2 pkg-types: 1.1.1 @@ -17498,6 +17794,25 @@ snapshots: - rollup - webpack-sources + unimport@3.12.0(rollup@3.29.4)(webpack-sources@3.2.3): + dependencies: + '@rollup/pluginutils': 5.1.0(rollup@3.29.4) + acorn: 8.12.1 + escape-string-regexp: 5.0.0 + estree-walker: 3.0.3 + fast-glob: 3.3.2 + local-pkg: 0.5.0 + magic-string: 0.30.11 + mlly: 1.7.1 + pathe: 1.1.2 + pkg-types: 1.2.0 + scule: 1.3.0 + strip-literal: 2.1.0 + unplugin: 1.14.1(webpack-sources@3.2.3) + transitivePeerDependencies: + - rollup + - webpack-sources + unimport@3.12.0(rollup@4.21.2)(webpack-sources@3.2.3): dependencies: '@rollup/pluginutils': 5.1.0(rollup@4.21.2) @@ -17916,7 +18231,7 @@ snapshots: typescript: 5.6.2 vue-tsc: 2.0.22(typescript@5.6.2) - vite-plugin-checker@0.8.0(eslint@9.5.0)(optionator@0.9.4)(typescript@5.6.2)(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1))(vue-tsc@2.0.22(typescript@5.6.2)): + vite-plugin-checker@0.8.0(eslint@9.5.0)(optionator@0.9.4)(typescript@5.6.2)(vite@5.4.5(@types/node@20.14.9)(terser@5.31.1)): dependencies: '@babel/code-frame': 7.24.7 ansi-escapes: 4.3.2 @@ -17937,7 +18252,6 @@ snapshots: eslint: 9.5.0 optionator: 0.9.4 typescript: 5.6.2 - vue-tsc: 2.0.22(typescript@5.6.2) vite-plugin-inspect@0.8.4(@nuxt/kit@3.13.1(magicast@0.3.4)(rollup@4.21.2)(webpack-sources@3.2.3))(rollup@4.21.2)(vite@5.3.5(@types/node@20.14.9)(terser@5.31.1)): dependencies: diff --git a/specs/fixtures/basic/nuxt.config.ts b/specs/fixtures/basic/nuxt.config.ts index 7dcd3086a..cb150650e 100644 --- a/specs/fixtures/basic/nuxt.config.ts +++ b/specs/fixtures/basic/nuxt.config.ts @@ -5,6 +5,7 @@ export default defineNuxtConfig({ modules: [CustomModule, '@nuxtjs/i18n'], i18n: { + restructureDir: false, lazy: false, baseUrl: 'http://localhost:3000', locales: [ diff --git a/specs/fixtures/basic_usage/nuxt.config.ts b/specs/fixtures/basic_usage/nuxt.config.ts index 2d0cd8369..8d7419817 100644 --- a/specs/fixtures/basic_usage/nuxt.config.ts +++ b/specs/fixtures/basic_usage/nuxt.config.ts @@ -16,6 +16,7 @@ export default defineNuxtConfig({ ], plugins: [`../plugins/i18nHooks.ts`], i18n: { + restructureDir: false, vueI18n: './config/i18n.config.ts', locales: ['en', 'fr'], defaultLocale: 'en', diff --git a/specs/fixtures/basic_usage_compat_4/nuxt.config.ts b/specs/fixtures/basic_usage_compat_4/nuxt.config.ts index 5e5980a34..225366af0 100644 --- a/specs/fixtures/basic_usage_compat_4/nuxt.config.ts +++ b/specs/fixtures/basic_usage_compat_4/nuxt.config.ts @@ -18,6 +18,7 @@ export default defineNuxtConfig({ ], plugins: [`../plugins/i18nHooks.ts`], i18n: { + restructureDir: false, vueI18n: './config/i18n.config.ts', defaultLocale: 'en', experimental: { diff --git a/specs/fixtures/different_domains/nuxt.config.ts b/specs/fixtures/different_domains/nuxt.config.ts index c5163f971..6dc61ef76 100644 --- a/specs/fixtures/different_domains/nuxt.config.ts +++ b/specs/fixtures/different_domains/nuxt.config.ts @@ -5,6 +5,7 @@ export default defineNuxtConfig({ modules: [CustomModule, '@nuxtjs/i18n'], i18n: { + restructureDir: false, lazy: false, locales: [ { diff --git a/specs/fixtures/inline_options/nuxt.config.ts b/specs/fixtures/inline_options/nuxt.config.ts index 5b955a318..d28827104 100644 --- a/specs/fixtures/inline_options/nuxt.config.ts +++ b/specs/fixtures/inline_options/nuxt.config.ts @@ -28,6 +28,7 @@ export default defineNuxtConfig({ ], debug: false, i18n: { + restructureDir: false, locales: [ { code: 'ja', diff --git a/specs/fixtures/issues/1888/nuxt.config.ts b/specs/fixtures/issues/1888/nuxt.config.ts index 59e0644ad..7ded0e9f1 100644 --- a/specs/fixtures/issues/1888/nuxt.config.ts +++ b/specs/fixtures/issues/1888/nuxt.config.ts @@ -2,6 +2,7 @@ export default defineNuxtConfig({ modules: ['@nuxtjs/i18n'], i18n: { + restructureDir: false, locales: [ { code: 'en', diff --git a/specs/fixtures/issues/2151/nuxt.config.ts b/specs/fixtures/issues/2151/nuxt.config.ts index cce21a5ab..b7e918880 100644 --- a/specs/fixtures/issues/2151/nuxt.config.ts +++ b/specs/fixtures/issues/2151/nuxt.config.ts @@ -6,6 +6,7 @@ export default defineNuxtConfig({ }, modules: ['@nuxtjs/i18n'], i18n: { + restructureDir: false, lazy: true, langDir: 'locales', locales: [ diff --git a/specs/fixtures/issues/2220/nuxt.config.ts b/specs/fixtures/issues/2220/nuxt.config.ts index 2d2e9f574..a0ea7a05d 100644 --- a/specs/fixtures/issues/2220/nuxt.config.ts +++ b/specs/fixtures/issues/2220/nuxt.config.ts @@ -3,6 +3,7 @@ import locales from './locales' export default defineNuxtConfig({ modules: ['@nuxtjs/i18n'], i18n: { + restructureDir: false, lazy: true, langDir: 'locales', locales, diff --git a/specs/fixtures/issues/2226/nuxt.config.ts b/specs/fixtures/issues/2226/nuxt.config.ts index 584eb0789..cf9f79452 100644 --- a/specs/fixtures/issues/2226/nuxt.config.ts +++ b/specs/fixtures/issues/2226/nuxt.config.ts @@ -1,6 +1,7 @@ export default defineNuxtConfig({ modules: ['@nuxtjs/i18n'], i18n: { + restructureDir: false, locales: ['en', 'de'], defaultLocale: 'en', strategy: 'prefix_and_default' diff --git a/specs/fixtures/issues/2247/nuxt.config.ts b/specs/fixtures/issues/2247/nuxt.config.ts index 104c2f2c6..7da853497 100644 --- a/specs/fixtures/issues/2247/nuxt.config.ts +++ b/specs/fixtures/issues/2247/nuxt.config.ts @@ -2,6 +2,7 @@ export default defineNuxtConfig({ modules: ['@nuxtjs/i18n'], i18n: { + restructureDir: false, baseUrl: 'https://abwaab.com', locales: [ { diff --git a/specs/fixtures/issues/2288/nuxt.config.ts b/specs/fixtures/issues/2288/nuxt.config.ts index 44e085982..79a9fe1c8 100644 --- a/specs/fixtures/issues/2288/nuxt.config.ts +++ b/specs/fixtures/issues/2288/nuxt.config.ts @@ -2,6 +2,7 @@ export default defineNuxtConfig({ modules: ['@nuxtjs/i18n'], i18n: { + restructureDir: false, baseUrl: 'https://abwaab.com', locales: [ { diff --git a/specs/fixtures/issues/2315/nuxt.config.ts b/specs/fixtures/issues/2315/nuxt.config.ts index 5502707b9..76ad30f2f 100644 --- a/specs/fixtures/issues/2315/nuxt.config.ts +++ b/specs/fixtures/issues/2315/nuxt.config.ts @@ -2,6 +2,7 @@ export default defineNuxtConfig({ modules: ['@nuxtjs/i18n'], i18n: { + restructureDir: false, bundle: { compositionOnly: false }, diff --git a/specs/fixtures/layers/layer-domain/nuxt.config.ts b/specs/fixtures/layers/layer-domain/nuxt.config.ts index 3abd6017d..968967b9f 100644 --- a/specs/fixtures/layers/layer-domain/nuxt.config.ts +++ b/specs/fixtures/layers/layer-domain/nuxt.config.ts @@ -1,6 +1,7 @@ // https://nuxt.com/docs/guide/directory-structure/nuxt.config export default defineNuxtConfig({ i18n: { + restructureDir: false, // lazy: false, // differentDomains: true, // defaultLocale: 'en', diff --git a/specs/fixtures/layers/layer-lazy/nuxt.config.ts b/specs/fixtures/layers/layer-lazy/nuxt.config.ts index cd79ce0f3..e43935a04 100644 --- a/specs/fixtures/layers/layer-lazy/nuxt.config.ts +++ b/specs/fixtures/layers/layer-lazy/nuxt.config.ts @@ -1,6 +1,7 @@ // https://nuxt.com/docs/guide/directory-structure/nuxt.config export default defineNuxtConfig({ i18n: { + restructureDir: false, langDir: 'locales', locales: [ { diff --git a/specs/fixtures/layers/layer-locale-arabic/nuxt.config.ts b/specs/fixtures/layers/layer-locale-arabic/nuxt.config.ts index f571938bf..5b45024f5 100644 --- a/specs/fixtures/layers/layer-locale-arabic/nuxt.config.ts +++ b/specs/fixtures/layers/layer-locale-arabic/nuxt.config.ts @@ -1,6 +1,7 @@ // https://nuxt.com/docs/guide/directory-structure/nuxt.config export default defineNuxtConfig({ i18n: { + restructureDir: false, langDir: 'locales', locales: [ { diff --git a/specs/fixtures/layers/layer-server/nuxt.config.ts b/specs/fixtures/layers/layer-server/nuxt.config.ts index 8c61be403..9009648cb 100644 --- a/specs/fixtures/layers/layer-server/nuxt.config.ts +++ b/specs/fixtures/layers/layer-server/nuxt.config.ts @@ -1,6 +1,7 @@ // https://nuxt.com/docs/guide/directory-structure/nuxt.config export default defineNuxtConfig({ i18n: { + restructureDir: false, experimental: { localeDetector: './localeDetector.ts' }, diff --git a/specs/fixtures/layers/layer-simple/nuxt.config.ts b/specs/fixtures/layers/layer-simple/nuxt.config.ts index 15b79ce93..373ffb54a 100644 --- a/specs/fixtures/layers/layer-simple/nuxt.config.ts +++ b/specs/fixtures/layers/layer-simple/nuxt.config.ts @@ -1,6 +1,7 @@ // https://nuxt.com/docs/guide/directory-structure/nuxt.config export default defineNuxtConfig({ i18n: { + restructureDir: false, locales: ['fr', 'nl'] } }) diff --git a/specs/fixtures/layers/layer-vueI18n-options/layer-simple-secondary/nuxt.config.ts b/specs/fixtures/layers/layer-vueI18n-options/layer-simple-secondary/nuxt.config.ts index 18a502336..870ec107f 100644 --- a/specs/fixtures/layers/layer-vueI18n-options/layer-simple-secondary/nuxt.config.ts +++ b/specs/fixtures/layers/layer-vueI18n-options/layer-simple-secondary/nuxt.config.ts @@ -2,6 +2,7 @@ export default defineNuxtConfig({ modules: ['@nuxtjs/i18n'], i18n: { + restructureDir: false, locales: ['fr', 'nl', 'en'], defaultLocale: 'nl', detectBrowserLanguage: false, diff --git a/specs/fixtures/layers/layer-vueI18n-options/layer-simple/nuxt.config.ts b/specs/fixtures/layers/layer-vueI18n-options/layer-simple/nuxt.config.ts index 18a502336..870ec107f 100644 --- a/specs/fixtures/layers/layer-vueI18n-options/layer-simple/nuxt.config.ts +++ b/specs/fixtures/layers/layer-vueI18n-options/layer-simple/nuxt.config.ts @@ -2,6 +2,7 @@ export default defineNuxtConfig({ modules: ['@nuxtjs/i18n'], i18n: { + restructureDir: false, locales: ['fr', 'nl', 'en'], defaultLocale: 'nl', detectBrowserLanguage: false, diff --git a/specs/fixtures/lazy/nuxt.config.ts b/specs/fixtures/lazy/nuxt.config.ts index cd44f5878..b22d6851f 100644 --- a/specs/fixtures/lazy/nuxt.config.ts +++ b/specs/fixtures/lazy/nuxt.config.ts @@ -22,6 +22,7 @@ export default defineNuxtConfig({ }, modules: [i18nModule, '@nuxtjs/i18n'], i18n: { + restructureDir: false, baseUrl: 'http://localhost:3000', // langDir: 'lang', // defaultLocale: 'fr', diff --git a/specs/fixtures/multi_domains_locales/nuxt.config.ts b/specs/fixtures/multi_domains_locales/nuxt.config.ts index 42ce09ddd..fbf3cb95d 100644 --- a/specs/fixtures/multi_domains_locales/nuxt.config.ts +++ b/specs/fixtures/multi_domains_locales/nuxt.config.ts @@ -7,6 +7,7 @@ export default defineNuxtConfig({ modules: [CustomModule, '@nuxtjs/i18n'], i18n: { + restructureDir: false, lazy: false, baseUrl: 'http://localhost:3000', locales: [ diff --git a/specs/fixtures/restructure/nuxt.config.ts b/specs/fixtures/restructure/nuxt.config.ts index 522c1951c..cc07820bc 100644 --- a/specs/fixtures/restructure/nuxt.config.ts +++ b/specs/fixtures/restructure/nuxt.config.ts @@ -24,6 +24,7 @@ export default defineNuxtConfig({ modules: [i18nModule, '@nuxtjs/i18n'], i18n: { + restructureDir: false, baseUrl: 'http://localhost:3000', // langDir: 'lang', // defaultLocale: 'fr', diff --git a/specs/fixtures/routing/nuxt.config.ts b/specs/fixtures/routing/nuxt.config.ts index b19c0e5e3..e29bbeb5b 100644 --- a/specs/fixtures/routing/nuxt.config.ts +++ b/specs/fixtures/routing/nuxt.config.ts @@ -3,6 +3,7 @@ export default defineNuxtConfig({ modules: ['@nuxtjs/i18n'], i18n: { + restructureDir: false, locales: ['en', 'ja'], detectBrowserLanguage: false } diff --git a/src/layers.ts b/src/layers.ts index 926ef1928..43a4fb5a1 100644 --- a/src/layers.ts +++ b/src/layers.ts @@ -97,8 +97,9 @@ export function resolveI18nDir(layer: NuxtConfigLayer, i18n: NuxtI18nOptions, fr } export function resolveLayerLangDir(layer: NuxtConfigLayer, i18n: NuxtI18nOptions) { - const langDir = i18n.langDir ?? (i18n.restructureDir ? 'locales' : '') - return resolve(resolveI18nDir(layer, i18n), langDir) + i18n.restructureDir ??= 'i18n' + i18n.langDir ??= i18n.restructureDir !== false ? 'locales' : '' + return resolve(resolveI18nDir(layer, i18n), i18n.langDir) } const mergeLayerLocales = (options: NuxtI18nOptions, nuxt: Nuxt) => { diff --git a/src/types.ts b/src/types.ts index 7e80e7512..41935a674 100644 --- a/src/types.ts +++ b/src/types.ts @@ -110,11 +110,11 @@ export type NuxtI18nOptions< vueI18n?: string experimental?: ExperimentalFeatures /** - * This can be set to a directory name to opt into the directory restructure for v9 which will have a default of 'i18n'. + * The directory to resolve i18n files from, the restructure can be disabled by setting this to `false`. * - * @defaultValue `undefined` (v8) or `'i18n'` (v9 release) + * @defaultValue `'i18n'` */ - restructureDir?: string + restructureDir?: string | false bundle?: BundleOptions compilation?: LocaleMessageCompilationOptions customBlocks?: CustomBlocksOptions