diff --git a/docs/2.guide/2.directory-structure/1.composables.md b/docs/2.guide/2.directory-structure/1.composables.md index ed96746656..c728be0fb7 100644 --- a/docs/2.guide/2.directory-structure/1.composables.md +++ b/docs/2.guide/2.directory-structure/1.composables.md @@ -71,7 +71,7 @@ export const useFoo = () => { ### Access plugin injections -You can access [plugin injections](/docs/guide/directory-structure/plugins#automatically-providing-helpers) from composables: +You can access [plugin injections](/docs/guide/directory-structure/plugins#providing-helpers) from composables: ```js [composables/test.ts] export const useHello = () => { diff --git a/package.json b/package.json index 24369eead1..a526348c91 100644 --- a/package.json +++ b/package.json @@ -68,10 +68,11 @@ }, "devDependencies": { "@arethetypeswrong/cli": "0.17.2", + "@nuxt/cli": "3.20.0", "@nuxt/eslint-config": "0.7.5", "@nuxt/kit": "workspace:*", "@nuxt/rspack-builder": "workspace:*", - "@nuxt/test-utils": "3.15.1", + "@nuxt/test-utils": "3.15.4", "@nuxt/webpack-builder": "workspace:*", "@testing-library/vue": "8.1.0", "@types/node": "22.10.5", @@ -99,7 +100,6 @@ "markdownlint-cli": "0.43.0", "memfs": "4.17.0", "nitro": "npm:nitro-nightly@3.0.0-beta-28796231.359af68d", - "nuxi": "3.18.2", "nuxt": "workspace:*", "nuxt-content-twoslash": "0.1.2", "ofetch": "1.4.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 50187066f3..3ac8daede5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -44,6 +44,9 @@ importers: '@arethetypeswrong/cli': specifier: 0.17.2 version: 0.17.2 + '@nuxt/cli': + specifier: 3.20.0 + version: 3.20.0(magicast@0.3.5) '@nuxt/eslint-config': specifier: 0.7.5 version: 0.7.5(@vue/compiler-sfc@3.5.13)(eslint@9.18.0(jiti@2.4.2))(typescript@5.7.3) @@ -54,8 +57,8 @@ importers: specifier: workspace:* version: link:packages/rspack '@nuxt/test-utils': - specifier: 3.15.1 - version: 3.15.1(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.13)(vue@3.5.13(typescript@5.7.3)))(@types/node@22.10.5)(@vue/test-utils@2.4.6)(happy-dom@16.5.3)(jiti@2.4.2)(magicast@0.3.5)(playwright-core@1.49.1)(sass@1.78.0)(terser@5.32.0)(tsx@4.19.2)(typescript@5.7.3)(vitest@2.1.8(@types/node@22.10.5)(happy-dom@16.5.3)(jiti@2.4.2)(sass@1.78.0)(terser@5.32.0)(tsx@4.19.2)(yaml@2.7.0))(yaml@2.7.0) + specifier: 3.15.4 + version: 3.15.4(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.13)(vue@3.5.13(typescript@5.7.3)))(@types/node@22.10.5)(@vue/test-utils@2.4.6)(happy-dom@16.5.3)(jiti@2.4.2)(magicast@0.3.5)(playwright-core@1.49.1)(sass@1.78.0)(terser@5.32.0)(tsx@4.19.2)(typescript@5.7.3)(vitest@2.1.8(@types/node@22.10.5)(happy-dom@16.5.3)(jiti@2.4.2)(sass@1.78.0)(terser@5.32.0)(tsx@4.19.2)(yaml@2.7.0))(yaml@2.7.0) '@nuxt/webpack-builder': specifier: workspace:* version: link:packages/webpack @@ -137,9 +140,6 @@ importers: nitro: specifier: npm:nitro-nightly@3.0.0-beta-28796231.359af68d version: nitro-nightly@3.0.0-beta-28796231.359af68d(typescript@5.7.3) - nuxi: - specifier: 3.18.2 - version: 3.18.2 nuxt: specifier: workspace:* version: link:packages/nuxt @@ -2176,9 +2176,9 @@ packages: engines: {node: '>=18.20.5'} hasBin: true - '@nuxt/test-utils@3.15.1': - resolution: {integrity: sha512-+0MsHsE/F4FZcmirRWSqGSSlEGMeNBHXkdHmYU0cM7UItiFIxyVDdIHLkyW4bBvPfI0IRozQlZc8vht9V/5D7Q==} - engines: {node: ^18.20.4 || ^20.9.0 || ^22.0.0 || >=23.0.0} + '@nuxt/test-utils@3.15.4': + resolution: {integrity: sha512-R5eNXILsB5GCTMgoKdW3rN9rNBQCVBqxw4+tcujNplcivbJp7lQrRMHlbR9ijAJ1jEMkDNXdOQGbM1RnWvDuuQ==} + engines: {node: ^18.20.5 || ^20.9.0 || ^22.0.0 || >=23.0.0} peerDependencies: '@cucumber/cucumber': ^10.3.1 || ^11.0.0 '@jest/globals': ^29.5.0 @@ -2186,10 +2186,10 @@ packages: '@testing-library/vue': ^7.0.0 || ^8.0.1 '@vitest/ui': '*' '@vue/test-utils': ^2.4.2 - happy-dom: ^9.10.9 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0 - jsdom: ^22.0.0 || ^23.0.0 || ^24.0.0 || ^25.0.0 + happy-dom: ^9.10.9 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + jsdom: ^22.0.0 || ^23.0.0 || ^24.0.0 || ^25.0.0 || ^26.0.0 playwright-core: ^1.43.1 - vitest: ^0.34.6 || ^1.0.0 || ^2.0.0 + vitest: ^0.34.6 || ^1.0.0 || ^2.0.0 || ^3.0.0-beta.3 peerDependenciesMeta: '@cucumber/cucumber': optional: true @@ -5997,11 +5997,6 @@ packages: nth-check@2.1.1: resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} - nuxi@3.18.2: - resolution: {integrity: sha512-JKpbXJ5suXSBJxPvosw8eqdJOniNs6RUmi91aaRQG4jmKcDCZgbZIPUBBJNdllCIcrE0jQQO40BfFLxnzx8Ipg==} - engines: {node: ^16.10.0 || >=18.0.0} - hasBin: true - nuxt-content-twoslash@0.1.2: resolution: {integrity: sha512-7vCO04V0uyCXtjh40HgVIVKRReUlXc4efMNMdgDtx3Y7p9mnChRt9eRRD3c8VlDD27pLlkrTTnE2n15bu/SqbQ==} hasBin: true @@ -9355,7 +9350,7 @@ snapshots: rc9: 2.1.2 std-env: 3.8.0 - '@nuxt/test-utils@3.15.1(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.13)(vue@3.5.13(typescript@5.7.3)))(@types/node@22.10.5)(@vue/test-utils@2.4.6)(happy-dom@16.5.3)(jiti@2.4.2)(magicast@0.3.5)(playwright-core@1.49.1)(sass@1.78.0)(terser@5.32.0)(tsx@4.19.2)(typescript@5.7.3)(vitest@2.1.8(@types/node@22.10.5)(happy-dom@16.5.3)(jiti@2.4.2)(sass@1.78.0)(terser@5.32.0)(tsx@4.19.2)(yaml@2.7.0))(yaml@2.7.0)': + '@nuxt/test-utils@3.15.4(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.13)(vue@3.5.13(typescript@5.7.3)))(@types/node@22.10.5)(@vue/test-utils@2.4.6)(happy-dom@16.5.3)(jiti@2.4.2)(magicast@0.3.5)(playwright-core@1.49.1)(sass@1.78.0)(terser@5.32.0)(tsx@4.19.2)(typescript@5.7.3)(vitest@2.1.8(@types/node@22.10.5)(happy-dom@16.5.3)(jiti@2.4.2)(sass@1.78.0)(terser@5.32.0)(tsx@4.19.2)(yaml@2.7.0))(yaml@2.7.0)': dependencies: '@nuxt/kit': link:packages/kit '@nuxt/schema': link:packages/schema @@ -9367,11 +9362,11 @@ snapshots: fake-indexeddb: 6.0.0 get-port-please: 3.1.2 h3: h3-nightly@2.0.0-1718872656.6765a6e - local-pkg: 0.5.1 + local-pkg: 1.0.0 magic-string: 0.30.17 node-fetch-native: 1.6.4 ofetch: 1.4.1 - pathe: 1.1.2 + pathe: 2.0.1 perfect-debounce: 1.0.0 radix3: 1.1.2 scule: 1.3.0 @@ -14080,8 +14075,6 @@ snapshots: dependencies: boolbase: 1.0.0 - nuxi@3.18.2: {} - nuxt-content-twoslash@0.1.2(@nuxtjs/mdc@0.8.3): dependencies: '@nuxt/kit': link:packages/kit @@ -16117,7 +16110,7 @@ snapshots: vitest-environment-nuxt@1.0.1(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.13)(vue@3.5.13(typescript@5.7.3)))(@types/node@22.10.5)(@vue/test-utils@2.4.6)(happy-dom@16.5.3)(jiti@2.4.2)(magicast@0.3.5)(playwright-core@1.49.1)(sass@1.78.0)(terser@5.32.0)(tsx@4.19.2)(typescript@5.7.3)(vitest@2.1.8(@types/node@22.10.5)(happy-dom@16.5.3)(jiti@2.4.2)(sass@1.78.0)(terser@5.32.0)(tsx@4.19.2)(yaml@2.7.0))(yaml@2.7.0): dependencies: - '@nuxt/test-utils': 3.15.1(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.13)(vue@3.5.13(typescript@5.7.3)))(@types/node@22.10.5)(@vue/test-utils@2.4.6)(happy-dom@16.5.3)(jiti@2.4.2)(magicast@0.3.5)(playwright-core@1.49.1)(sass@1.78.0)(terser@5.32.0)(tsx@4.19.2)(typescript@5.7.3)(vitest@2.1.8(@types/node@22.10.5)(happy-dom@16.5.3)(jiti@2.4.2)(sass@1.78.0)(terser@5.32.0)(tsx@4.19.2)(yaml@2.7.0))(yaml@2.7.0) + '@nuxt/test-utils': 3.15.4(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.13)(vue@3.5.13(typescript@5.7.3)))(@types/node@22.10.5)(@vue/test-utils@2.4.6)(happy-dom@16.5.3)(jiti@2.4.2)(magicast@0.3.5)(playwright-core@1.49.1)(sass@1.78.0)(terser@5.32.0)(tsx@4.19.2)(typescript@5.7.3)(vitest@2.1.8(@types/node@22.10.5)(happy-dom@16.5.3)(jiti@2.4.2)(sass@1.78.0)(terser@5.32.0)(tsx@4.19.2)(yaml@2.7.0))(yaml@2.7.0) transitivePeerDependencies: - '@cucumber/cucumber' - '@jest/globals'