From 081dc3254f2348281d3ce962c0dd3c3f2550658e Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Thu, 19 Jan 2023 19:37:07 +0000 Subject: [PATCH] chore: update internal repo/issue links to use`nuxt/nuxt` --- README.md | 4 +-- SECURITY.md | 2 +- changelog.config.json | 8 +++--- docs/content/0.index.md | 2 +- .../1.getting-started/1.introduction.md | 10 +++---- .../2.guide/3.going-further/1.internals.md | 6 ++--- .../3.going-further/11.edge-channel.md | 2 +- .../2.guide/3.going-further/3.modules.md | 2 +- .../2.guide/3.going-further/7.layers.md | 2 +- .../1.docs/3.api/1.composables/use-cookie.md | 2 +- .../1.docs/3.api/2.components/2.nuxt-page.md | 2 +- .../1.docs/3.api/2.components/4.nuxt-link.md | 8 +++--- .../2.components/5.nuxt-loading-indicator.md | 4 +-- .../1.docs/3.api/4.advanced/1.hooks.md | 8 +++--- docs/content/1.docs/3.api/4.advanced/2.kit.md | 26 +++++++++---------- .../4.examples/0.essentials/hello-world.md | 2 +- .../1.docs/4.examples/1.app/app-config.md | 2 +- .../1.docs/4.examples/1.app/error-handling.md | 2 +- .../1.docs/4.examples/1.app/plugins.md | 2 +- .../1.docs/4.examples/1.app/teleport.md | 2 +- .../4.examples/2.auto-imports/components.md | 2 +- .../4.examples/2.auto-imports/composables.md | 2 +- .../3.composables/use-async-data.md | 2 +- .../4.examples/3.composables/use-cookie.md | 2 +- .../4.examples/3.composables/use-fetch.md | 2 +- .../4.examples/3.composables/use-head.md | 2 +- .../4.examples/3.composables/use-state.md | 2 +- .../1.docs/4.examples/4.routing/layouts.md | 2 +- .../1.docs/4.examples/4.routing/middleware.md | 2 +- .../1.docs/4.examples/4.routing/nuxt-link.md | 2 +- .../1.docs/4.examples/4.routing/pages.md | 2 +- .../4.examples/4.routing/universal-router.md | 2 +- .../1.docs/4.examples/5.server/routes.md | 2 +- .../4.examples/6.advanced/config-extends.md | 2 +- .../1.docs/4.examples/6.advanced/jsx.md | 2 +- .../6.advanced/module-extend-pages.md | 2 +- .../1.docs/4.examples/6.advanced/testing.md | 2 +- .../7.experimental/reactivity-transform.md | 2 +- .../1.docs/4.examples/7.experimental/wasm.md | 2 +- .../1.docs/4.examples/8.other/locale.md | 2 +- .../1.docs/5.community/2.getting-help.md | 4 +-- .../1.docs/5.community/3.reporting-bugs.md | 2 +- .../1.docs/5.community/4.contribution.md | 6 ++--- .../5.community/5.framework-contribution.md | 10 +++---- docs/content/1.docs/5.community/6.roadmap.md | 8 +++--- docs/content/4.support/1.solutions.md | 2 +- docs/content/v3.md | 2 +- package.json | 2 +- packages/kit/package.json | 2 +- packages/nuxi/package.json | 2 +- packages/nuxi/src/commands/info.ts | 5 ++-- packages/nuxi/src/commands/upgrade.ts | 2 +- packages/nuxi/src/utils/prepare.ts | 2 +- packages/nuxt/package.json | 2 +- packages/schema/package.json | 2 +- packages/schema/src/config/experimental.ts | 4 +-- packages/test-utils/package.json | 2 +- packages/test-utils/src/browser.ts | 2 +- packages/vite/package.json | 2 +- packages/vite/src/vite.ts | 2 +- packages/webpack/package.json | 2 +- packages/webpack/src/presets/esbuild.ts | 2 +- test/basic.test.ts | 2 +- 63 files changed, 104 insertions(+), 105 deletions(-) diff --git a/README.md b/README.md index fada1ca3af..cdfb9c5c85 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,8 @@ Nuxt's goal is to make web development intuitive and performant, with a great de

Version Downloads - License - Volta board + License + Volta board

diff --git a/SECURITY.md b/SECURITY.md index a2249a1ee5..a7748f9188 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -2,7 +2,7 @@ ## Reporting a Vulnerability -To report a vulnerability, please send an email to **security@nuxtjs.org** or submit it for a bounty via [Huntr](https://huntr.dev/bounties/disclose/?target=https://github.com/nuxt/framework). +To report a vulnerability, please send an email to **security@nuxtjs.org** or submit it for a bounty via [Huntr](https://huntr.dev/bounties/disclose/?target=https://github.com/nuxt/nuxt). All security vulnerabilities will be promptly verified and addressed. diff --git a/changelog.config.json b/changelog.config.json index 93514ab553..f9bcec6d6a 100644 --- a/changelog.config.json +++ b/changelog.config.json @@ -1,7 +1,7 @@ { - "github": "nuxt/framework", - "scopeMap": { - "nuxt3": "nuxt", - "nuxi": "cli" + "github": "nuxt/nuxt", + "scopeMap": { + "nuxt3": "nuxt", + "nuxi": "cli" } } diff --git a/docs/content/0.index.md b/docs/content/0.index.md index 2f94d6d148..40bb32224e 100644 --- a/docs/content/0.index.md +++ b/docs/content/0.index.md @@ -12,7 +12,7 @@ topButtonLink: '/vision-2023' primaryButtonText: 'Get started' primaryButtonLink: '/docs/getting-started/introduction' secondaryButtonText: 'Open on GitHub' -secondaryButtonLink: 'https://github.com/nuxt/framework' +secondaryButtonLink: 'https://github.com/nuxt/nuxt' --- #title diff --git a/docs/content/1.docs/1.getting-started/1.introduction.md b/docs/content/1.docs/1.getting-started/1.introduction.md index 2b248448f7..8e3051f0c5 100644 --- a/docs/content/1.docs/1.getting-started/1.introduction.md +++ b/docs/content/1.docs/1.getting-started/1.introduction.md @@ -165,14 +165,14 @@ Discover more about [modules](/docs/guide/concepts/modules). ### Architecture -Nuxt is composed of different [core packages](https://github.com/nuxt/framework/tree/main/packages): +Nuxt is composed of different [core packages](https://github.com/nuxt/nuxt/tree/main/packages): ::list{type=info} -- Core Engine: [nuxt](https://github.com/nuxt/framework/tree/main/packages/nuxt) -- Bundlers: [@nuxt/vite-builder](https://github.com/nuxt/framework/tree/main/packages/vite) and [@nuxt/webpack-builder](https://github.com/nuxt/framework/tree/main/packages/webpack) -- Command line interface: [nuxi](https://github.com/nuxt/framework/tree/main/packages/nuxi) +- Core Engine: [nuxt](https://github.com/nuxt/nuxt/tree/main/packages/nuxt) +- Bundlers: [@nuxt/vite-builder](https://github.com/nuxt/nuxt/tree/main/packages/vite) and [@nuxt/webpack-builder](https://github.com/nuxt/nuxt/tree/main/packages/webpack) +- Command line interface: [nuxi](https://github.com/nuxt/nuxt/tree/main/packages/nuxi) - Server engine: [nitro](https://github.com/unjs/nitro) -- Development kit: [@nuxt/kit](https://github.com/nuxt/framework/tree/main/packages/kit) +- Development kit: [@nuxt/kit](https://github.com/nuxt/nuxt/tree/main/packages/kit) - Nuxt 2 Bridge: [@nuxt/bridge](https://github.com/nuxt/bridge) :: diff --git a/docs/content/1.docs/2.guide/3.going-further/1.internals.md b/docs/content/1.docs/2.guide/3.going-further/1.internals.md index 7286881ede..398ee8a8db 100644 --- a/docs/content/1.docs/2.guide/3.going-further/1.internals.md +++ b/docs/content/1.docs/2.guide/3.going-further/1.internals.md @@ -19,7 +19,7 @@ Therefore only one instance of Nuxt is allowed to run per process. To extend the Nuxt interface and hook into different stages of the build process, we can use [Nuxt Modules](/docs/guide/going-further/modules). -For more details, check out [the source code](https://github.com/nuxt/framework/blob/main/packages/nuxt/src/core/nuxt.ts). +For more details, check out [the source code](https://github.com/nuxt/nuxt/blob/main/packages/nuxt/src/core/nuxt.ts). ## The NuxtApp Interface @@ -43,7 +43,7 @@ const nuxtApp = { vueApp, // the global Vue application: https://vuejs.org/api/application.html#application-api // These let you call and add runtime NuxtApp hooks - // https://github.com/nuxt/framework/blob/main/packages/nuxt/src/app/nuxt.ts#L18 + // https://github.com/nuxt/nuxt/blob/main/packages/nuxt/src/app/nuxt.ts#L18 hooks, hook, callHook, @@ -68,7 +68,7 @@ const nuxtApp = { } ``` -For more details, check out [the source code](https://github.com/nuxt/framework/blob/main/packages/nuxt/src/app/nuxt.ts). +For more details, check out [the source code](https://github.com/nuxt/nuxt/blob/main/packages/nuxt/src/app/nuxt.ts). ## Runtime Context vs. Build Context diff --git a/docs/content/1.docs/2.guide/3.going-further/11.edge-channel.md b/docs/content/1.docs/2.guide/3.going-further/11.edge-channel.md index 829bfeb433..b78e2c4dfd 100644 --- a/docs/content/1.docs/2.guide/3.going-further/11.edge-channel.md +++ b/docs/content/1.docs/2.guide/3.going-further/11.edge-channel.md @@ -7,7 +7,7 @@ description: "Edge channel allows to use latest commits from the repository." Nuxt 3 is landing commits, improvements, and bug fixes every day. You can opt-in to test them earlier before the next release. -After each commit is merged into the `main` branch of [nuxt/framework](https://github.com/nuxt/framework) and **passing all tests**, we trigger an automated npm release using GitHub Actions publishing Nuxt 3 packages. +After each commit is merged into the `main` branch of [nuxt/nuxt](https://github.com/nuxt/nuxt) and **passing all tests**, we trigger an automated npm release using GitHub Actions publishing Nuxt 3 packages. You can opt in to use this release channel and avoid waiting for the next release and helping Nuxt by beta testing changes. diff --git a/docs/content/1.docs/2.guide/3.going-further/3.modules.md b/docs/content/1.docs/2.guide/3.going-further/3.modules.md index 1bdb615aaa..ee35df1ea5 100644 --- a/docs/content/1.docs/2.guide/3.going-further/3.modules.md +++ b/docs/content/1.docs/2.guide/3.going-further/3.modules.md @@ -225,7 +225,7 @@ describe('ssr', async () => { }) ``` -For more usage, please refer to our [tests for Nuxt 3 framework](https://github.com/nuxt/framework/blob/main/test/basic.test.ts). +For more usage, please refer to our [tests for Nuxt 3 framework](https://github.com/nuxt/nuxt/blob/main/test/basic.test.ts). ### Mock utils diff --git a/docs/content/1.docs/2.guide/3.going-further/7.layers.md b/docs/content/1.docs/2.guide/3.going-further/7.layers.md index 9532253937..f8f4312dea 100644 --- a/docs/content/1.docs/2.guide/3.going-further/7.layers.md +++ b/docs/content/1.docs/2.guide/3.going-further/7.layers.md @@ -196,4 +196,4 @@ export default defineNuxtModule({ Configuration loading and extends support is handled by [unjs/c12](https://github.com/unjs/c12), merged using [unjs/defu](https://github.com/unjs/defu) and remote git sources are supported using [unjs/giget](https://github.com/unjs/giget). Check the docs and source code to learn more. -We are working to bring more improvements for layers support. Please refer to [nuxt/framework#3222](https://github.com/nuxt/framework/issues/3222). +We are working to bring more improvements for layers support. Please refer to [nuxt/nuxt#13367](https://github.com/nuxt/nuxt/issues/13367). diff --git a/docs/content/1.docs/3.api/1.composables/use-cookie.md b/docs/content/1.docs/3.api/1.composables/use-cookie.md index 304857d09b..f36e466f0a 100644 --- a/docs/content/1.docs/3.api/1.composables/use-cookie.md +++ b/docs/content/1.docs/3.api/1.composables/use-cookie.md @@ -38,7 +38,7 @@ counter.value = counter.value || Math.round(Math.random() * 1000) ``` -:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/framework/tree/main/examples/composables/use-cookie?terminal=dev&file=app.vue" blank} +:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/nuxt/tree/main/examples/composables/use-cookie?terminal=dev&file=app.vue" blank} ## Options diff --git a/docs/content/1.docs/3.api/2.components/2.nuxt-page.md b/docs/content/1.docs/3.api/2.components/2.nuxt-page.md index 93e0c5056a..8ea786b1e4 100644 --- a/docs/content/1.docs/3.api/2.components/2.nuxt-page.md +++ b/docs/content/1.docs/3.api/2.components/2.nuxt-page.md @@ -44,7 +44,7 @@ definePageMeta({ ``` -:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/framework/tree/main/examples/routing/pages?file=app.vue" blank} +:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/nuxt/tree/main/examples/routing/pages?file=app.vue" blank} ## Custom Props diff --git a/docs/content/1.docs/3.api/2.components/4.nuxt-link.md b/docs/content/1.docs/3.api/2.components/4.nuxt-link.md index 01852f0e5b..ab2705cf86 100644 --- a/docs/content/1.docs/3.api/2.components/4.nuxt-link.md +++ b/docs/content/1.docs/3.api/2.components/4.nuxt-link.md @@ -24,7 +24,7 @@ In this example, we use `` component to link to a website. ``` -:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/framework/tree/main/examples/routing/nuxt-link?terminal=dev&file=/pages/index.vue" blank} +:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/nuxt/tree/main/examples/routing/nuxt-link?terminal=dev&file=/pages/index.vue" blank} ### Internal Routing @@ -39,7 +39,7 @@ In this example, we use `` component to link to another page of the ap ``` -:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/framework/tree/main/examples/routing/nuxt-link?terminal=dev&file=/pages/index.vue" blank} +:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/nuxt/tree/main/examples/routing/nuxt-link?terminal=dev&file=/pages/index.vue" blank} ### `target` and `rel` Attributes @@ -69,7 +69,7 @@ In this example, we use `` with `target`, `rel`, and `noRel` props. ``` -:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/framework/tree/main/examples/routing/nuxt-link?terminal=dev&file=/pages/index.vue" blank} +:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/nuxt/tree/main/examples/routing/nuxt-link?terminal=dev&file=/pages/index.vue" blank} ## Props @@ -104,7 +104,7 @@ export default defineNuxtLink({ You can then use `` component as usual with your new defaults. -:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/framework/tree/main/examples/routing/nuxt-link?terminal=dev&file=/components/MyNuxtLink.ts" blank} +:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/nuxt/tree/main/examples/routing/nuxt-link?terminal=dev&file=/components/MyNuxtLink.ts" blank} ### `defineNuxtLink` Signature diff --git a/docs/content/1.docs/3.api/2.components/5.nuxt-loading-indicator.md b/docs/content/1.docs/3.api/2.components/5.nuxt-loading-indicator.md index 3c2d9529de..35d9e33544 100644 --- a/docs/content/1.docs/3.api/2.components/5.nuxt-loading-indicator.md +++ b/docs/content/1.docs/3.api/2.components/5.nuxt-loading-indicator.md @@ -17,7 +17,7 @@ Add `` in your `app.vue` or layouts. ``` -:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/framework/tree/main/examples/routing/pages?terminal=dev&file=/app.vue" blank} +:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/nuxt/tree/main/examples/routing/pages?terminal=dev&file=/app.vue" blank} ::alert{type=warning} If you are changing layouts as well as page, the page transition you set here will not run. Instead, you should set a layout transition. @@ -35,5 +35,5 @@ You can pass custom HTML or components through the loading indicator's default s - **throttle**: Throttle the appearing and hiding, in milliseconds (default `200`). ::alert{type=info icon=🔎} -This component is completely optional. To achieve full customization, you can implement your own one based on [this file](https://github.com/nuxt/framework/blob/main/packages/nuxt/src/app/components/nuxt-loading-indicator.ts). +This component is completely optional. To achieve full customization, you can implement your own one based on [this file](https://github.com/nuxt/nuxt/blob/main/packages/nuxt/src/app/components/nuxt-loading-indicator.ts). :: diff --git a/docs/content/1.docs/3.api/4.advanced/1.hooks.md b/docs/content/1.docs/3.api/4.advanced/1.hooks.md index f499e5e7ad..b7d648ff02 100644 --- a/docs/content/1.docs/3.api/4.advanced/1.hooks.md +++ b/docs/content/1.docs/3.api/4.advanced/1.hooks.md @@ -9,7 +9,7 @@ description: Nuxt provides a powerful hooking system to expand almost every aspe # App Hooks (runtime) -Check the [app source code](https://github.com/nuxt/framework/blob/main/packages/nuxt/src/app/nuxt.ts#L27) for all available hooks. +Check the [app source code](https://github.com/nuxt/nuxt/blob/main/packages/nuxt/src/app/nuxt.ts#L27) for all available hooks. Hook | Arguments | Environment | Description -----------------------|---------------------|-----------------|------------- @@ -31,7 +31,7 @@ Hook | Arguments | Environment | Description # Nuxt Hooks (build time) -Check the [schema source code](https://github.com/nuxt/framework/blob/main/packages/schema/src/types/hooks.ts#L53) for all available hooks. +Check the [schema source code](https://github.com/nuxt/nuxt/blob/main/packages/schema/src/types/hooks.ts#L53) for all available hooks. :NeedContribution @@ -39,5 +39,5 @@ Check the [schema source code](https://github.com/nuxt/framework/blob/main/packa Hook | Arguments | Description | Types -----------------------|-----------------------|--------------------------------------|------------------ -`render:response` | `response, { event }` | Called before sending the response. | [response](https://github.com/nuxt/framework/blob/71ef8bd3ff207fd51c2ca18d5a8c7140476780c7/packages/nuxt/src/core/runtime/nitro/renderer.ts#L24), [event](https://github.com/unjs/h3/blob/f6ceb5581043dc4d8b6eab91e9be4531e0c30f8e/src/types.ts#L38) -`render:html` | `html, { event }` | Called before constructing the HTML. | [html](https://github.com/nuxt/framework/blob/71ef8bd3ff207fd51c2ca18d5a8c7140476780c7/packages/nuxt/src/core/runtime/nitro/renderer.ts#L15), [event](https://github.com/unjs/h3/blob/f6ceb5581043dc4d8b6eab91e9be4531e0c30f8e/src/types.ts#L38) +`render:response` | `response, { event }` | Called before sending the response. | [response](https://github.com/nuxt/nuxt/blob/71ef8bd3ff207fd51c2ca18d5a8c7140476780c7/packages/nuxt/src/core/runtime/nitro/renderer.ts#L24), [event](https://github.com/unjs/h3/blob/f6ceb5581043dc4d8b6eab91e9be4531e0c30f8e/src/types.ts#L38) +`render:html` | `html, { event }` | Called before constructing the HTML. | [html](https://github.com/nuxt/nuxt/blob/71ef8bd3ff207fd51c2ca18d5a8c7140476780c7/packages/nuxt/src/core/runtime/nitro/renderer.ts#L15), [event](https://github.com/unjs/h3/blob/f6ceb5581043dc4d8b6eab91e9be4531e0c30f8e/src/types.ts#L38) diff --git a/docs/content/1.docs/3.api/4.advanced/2.kit.md b/docs/content/1.docs/3.api/4.advanced/2.kit.md index 4c4cfaaeff..c96798248f 100644 --- a/docs/content/1.docs/3.api/4.advanced/2.kit.md +++ b/docs/content/1.docs/3.api/4.advanced/2.kit.md @@ -12,13 +12,13 @@ description: Nuxt Kit provides composable utilities to help interacting with Nux ### Modules -[source code](https://github.com/nuxt/framework/blob/main/packages/kit/src/module) +[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/module) - `installModule(module, inlineOptions)` ### Programmatic Usage -[source code](https://github.com/nuxt/framework/blob/main/packages/kit/src/loader) +[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/loader) - `loadNuxt(loadOptions)` - `buildNuxt(nuxt)` @@ -26,7 +26,7 @@ description: Nuxt Kit provides composable utilities to help interacting with Nux ### Compatibility -[source code](https://github.com/nuxt/framework/blob/main/packages/kit/src/compatibility.ts) +[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/compatibility.ts) - `checkNuxtCompatibility(constraints)` - `assertNuxtCompatibility(constraints)` @@ -37,7 +37,7 @@ description: Nuxt Kit provides composable utilities to help interacting with Nux ### Auto-imports -[source code](https://github.com/nuxt/framework/blob/main/packages/kit/src/imports.ts) +[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/imports.ts) - `addImports(imports)` - `addImportsDir(importDirs)` @@ -45,40 +45,40 @@ description: Nuxt Kit provides composable utilities to help interacting with Nux ### Components -[source code](https://github.com/nuxt/framework/blob/main/packages/kit/src/components.ts) +[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/components.ts) - `addComponentsDir(dir)` - `addComponent(componentObject)` ### Context -[source code](https://github.com/nuxt/framework/blob/main/packages/kit/src/context.ts) +[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/context.ts) - `useNuxt()` ### Pages -[source code](https://github.com/nuxt/framework/blob/main/packages/kit/src/pages.ts) +[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/pages.ts) - `extendPages (callback: pages => void)` ### Plugins -[source code](https://github.com/nuxt/framework/blob/main/packages/kit/src/plugin.ts) +[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/plugin.ts) - `addPlugin(pluginOptions, { append? })` - `addPluginTemplate(pluginOptions, { append? })` ### Templates -[source code](https://github.com/nuxt/framework/blob/main/packages/kit/src/template.ts) +[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/template.ts) - `addTemplate(templateOptions)` - `updateTemplates({ filter?: ResolvedNuxtTemplate => boolean })` ### Nitro -[source code](https://github.com/nuxt/framework/blob/main/packages/kit/src/nitro.ts) +[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/nitro.ts) - `addServerHandler (handler)` - `addDevServerHandler (handler)` @@ -88,7 +88,7 @@ description: Nuxt Kit provides composable utilities to help interacting with Nux ### Resolving -[source code](https://github.com/nuxt/framework/blob/main/packages/kit/src/resolve.ts) +[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/resolve.ts) - `resolvePath (path, resolveOptions?)` - `resolveAlias (path, aliases?)` @@ -97,13 +97,13 @@ description: Nuxt Kit provides composable utilities to help interacting with Nux ### Logging -[source code](https://github.com/nuxt/framework/blob/main/packages/kit/src/logger.ts) +[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/logger.ts) - `useLogger(scope?)` ### Builder -[source code](https://github.com/nuxt/framework/blob/main/packages/kit/src/build.ts) +[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/build.ts) - `extendWebpackConfig(callback, options?)` - `extendViteConfig(callback, options?)` diff --git a/docs/content/1.docs/4.examples/0.essentials/hello-world.md b/docs/content/1.docs/4.examples/0.essentials/hello-world.md index 761ba4283f..15eda0a70b 100644 --- a/docs/content/1.docs/4.examples/0.essentials/hello-world.md +++ b/docs/content/1.docs/4.examples/0.essentials/hello-world.md @@ -9,5 +9,5 @@ A minimal Nuxt 3 application only requires the `app.vue` and `nuxt.config.js` fi ::ReadMore{link="/docs/getting-started/introduction"} :: -::sandbox{repo="nuxt/framework" branch="main" dir="examples/essentials/hello-world" file="app.vue"} +::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/essentials/hello-world" file="app.vue"} :: diff --git a/docs/content/1.docs/4.examples/1.app/app-config.md b/docs/content/1.docs/4.examples/1.app/app-config.md index fdcd4db31c..70de280e44 100644 --- a/docs/content/1.docs/4.examples/1.app/app-config.md +++ b/docs/content/1.docs/4.examples/1.app/app-config.md @@ -11,4 +11,4 @@ This example shows how to use `app.config` feature. ::ReadMore{link="/docs/guide/features/app-config"} :: -::sandbox{repo="nuxt/framework" branch="main" dir="examples/app-config" file="app.vue"} +::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/app-config" file="app.vue"} diff --git a/docs/content/1.docs/4.examples/1.app/error-handling.md b/docs/content/1.docs/4.examples/1.app/error-handling.md index 9b190328da..08bdc73e35 100644 --- a/docs/content/1.docs/4.examples/1.app/error-handling.md +++ b/docs/content/1.docs/4.examples/1.app/error-handling.md @@ -9,5 +9,5 @@ This example shows how to handle errors in different contexts: pages, plugins, c ::ReadMore{link="/docs/getting-started/error-handling"} :: -::sandbox{repo="nuxt/framework" branch="main" dir="examples/app/error-handling" file="app.vue"} +::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/app/error-handling" file="app.vue"} :: diff --git a/docs/content/1.docs/4.examples/1.app/plugins.md b/docs/content/1.docs/4.examples/1.app/plugins.md index 7c6a98a931..956f59b963 100644 --- a/docs/content/1.docs/4.examples/1.app/plugins.md +++ b/docs/content/1.docs/4.examples/1.app/plugins.md @@ -9,5 +9,5 @@ This example shows how to use the plugins/ directory to auto-register plugins. :ReadMore{link="/docs/guide/directory-structure/plugins"} :: -::sandbox{repo="nuxt/framework" branch="main" dir="examples/app/plugins" file="app.vue"} +::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/app/plugins" file="app.vue"} :: diff --git a/docs/content/1.docs/4.examples/1.app/teleport.md b/docs/content/1.docs/4.examples/1.app/teleport.md index dfaea8a0f8..9fd4647b84 100644 --- a/docs/content/1.docs/4.examples/1.app/teleport.md +++ b/docs/content/1.docs/4.examples/1.app/teleport.md @@ -13,5 +13,5 @@ This example shows how to use the `` with client-side and server-side ::ReadMore{link="/docs/api/components/teleports"} :: -::sandbox{repo="nuxt/framework" branch="main" dir="examples/app/teleport" file="app.vue"} +::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/app/teleport" file="app.vue"} :: diff --git a/docs/content/1.docs/4.examples/2.auto-imports/components.md b/docs/content/1.docs/4.examples/2.auto-imports/components.md index a08b56d1fe..f9fb58e9a9 100644 --- a/docs/content/1.docs/4.examples/2.auto-imports/components.md +++ b/docs/content/1.docs/4.examples/2.auto-imports/components.md @@ -9,5 +9,5 @@ Components in the `components/` directory are auto-imported and can be used dire ::ReadMore{link="/docs/guide/directory-structure/components"} :: -::sandbox{repo="nuxt/framework" branch="main" dir="examples/auto-imports/components" file="app.vue"} +::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/auto-imports/components" file="app.vue"} :: diff --git a/docs/content/1.docs/4.examples/2.auto-imports/composables.md b/docs/content/1.docs/4.examples/2.auto-imports/composables.md index b1e067ae6f..4d7ac88dce 100644 --- a/docs/content/1.docs/4.examples/2.auto-imports/composables.md +++ b/docs/content/1.docs/4.examples/2.auto-imports/composables.md @@ -11,5 +11,5 @@ If the composable file provides a default export, the name of the composable wil ::ReadMore{link="/docs/guide/directory-structure/composables"} :: -::sandbox{repo="nuxt/framework" branch="main" dir="examples/auto-imports/composables" file="app.vue"} +::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/auto-imports/composables" file="app.vue"} :: diff --git a/docs/content/1.docs/4.examples/3.composables/use-async-data.md b/docs/content/1.docs/4.examples/3.composables/use-async-data.md index b030befdd3..96fa445ec2 100644 --- a/docs/content/1.docs/4.examples/3.composables/use-async-data.md +++ b/docs/content/1.docs/4.examples/3.composables/use-async-data.md @@ -16,5 +16,5 @@ Nuxt will automatically read files in the `~/server/api` directory to create API ::ReadMore{link="/docs/getting-started/data-fetching"} :: -::sandbox{repo="nuxt/framework" branch="main" dir="examples/composables/use-async-data" file="app.vue"} +::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/composables/use-async-data" file="app.vue"} :: diff --git a/docs/content/1.docs/4.examples/3.composables/use-cookie.md b/docs/content/1.docs/4.examples/3.composables/use-cookie.md index 080164fad4..4469b87996 100644 --- a/docs/content/1.docs/4.examples/3.composables/use-cookie.md +++ b/docs/content/1.docs/4.examples/3.composables/use-cookie.md @@ -9,5 +9,5 @@ This example shows how to use the useCookie API to persist small amounts of data ::ReadMore{link="/docs/api/composables/use-cookie"} :: -::sandbox{repo="nuxt/framework" branch="main" dir="examples/composables/use-cookie" file="app.vue"} +::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/composables/use-cookie" file="app.vue"} :: diff --git a/docs/content/1.docs/4.examples/3.composables/use-fetch.md b/docs/content/1.docs/4.examples/3.composables/use-fetch.md index 2a505b19ed..4800accbd6 100644 --- a/docs/content/1.docs/4.examples/3.composables/use-fetch.md +++ b/docs/content/1.docs/4.examples/3.composables/use-fetch.md @@ -16,5 +16,5 @@ Nuxt will automatically read files in the `~/server/api` directory to create API ::ReadMore{link="/docs/getting-started/data-fetching"} :: -::sandbox{repo="nuxt/framework" branch="main" dir="examples/composables/use-fetch" file="app.vue"} +::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/composables/use-fetch" file="app.vue"} :: diff --git a/docs/content/1.docs/4.examples/3.composables/use-head.md b/docs/content/1.docs/4.examples/3.composables/use-head.md index e9b709adeb..05ad9d50da 100644 --- a/docs/content/1.docs/4.examples/3.composables/use-head.md +++ b/docs/content/1.docs/4.examples/3.composables/use-head.md @@ -12,5 +12,5 @@ This example shows how to use useHead and Nuxt built-in components to bind meta ::ReadMore{link="/docs/getting-started/seo-meta"} :: -::sandbox{repo="nuxt/framework" branch="main" dir="examples/composables/use-head" file="app.vue"} +::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/composables/use-head" file="app.vue"} :: diff --git a/docs/content/1.docs/4.examples/3.composables/use-state.md b/docs/content/1.docs/4.examples/3.composables/use-state.md index 8e6164523e..c78a05bfbf 100644 --- a/docs/content/1.docs/4.examples/3.composables/use-state.md +++ b/docs/content/1.docs/4.examples/3.composables/use-state.md @@ -18,5 +18,5 @@ Learn more about [useState](/docs/api/composables/use-state). ::ReadMore{link="/docs/getting-started/state-management"} :: -::sandbox{repo="nuxt/framework" branch="main" dir="examples/composables/use-state" file="app.vue"} +::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/composables/use-state" file="app.vue"} :: diff --git a/docs/content/1.docs/4.examples/4.routing/layouts.md b/docs/content/1.docs/4.examples/4.routing/layouts.md index 48c84f0b8b..a827569eae 100644 --- a/docs/content/1.docs/4.examples/4.routing/layouts.md +++ b/docs/content/1.docs/4.examples/4.routing/layouts.md @@ -9,5 +9,5 @@ This example shows how to define default and custom layouts. ::ReadMore{link="/docs/guide/directory-structure/layouts"} :: -::sandbox{repo="nuxt/framework" branch="main" dir="examples/routing/layouts" file="pages/index.vue"} +::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/routing/layouts" file="pages/index.vue"} :: diff --git a/docs/content/1.docs/4.examples/4.routing/middleware.md b/docs/content/1.docs/4.examples/4.routing/middleware.md index 155219b203..4dc925693a 100644 --- a/docs/content/1.docs/4.examples/4.routing/middleware.md +++ b/docs/content/1.docs/4.examples/4.routing/middleware.md @@ -9,5 +9,5 @@ This example shows how to add route middleware with the middleware/ directory or ::ReadMore{link="/docs/guide/directory-structure/middleware"} :: -::sandbox{repo="nuxt/framework" branch="main" dir="examples/routing/middleware" file="app.vue"} +::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/routing/middleware" file="app.vue"} :: diff --git a/docs/content/1.docs/4.examples/4.routing/nuxt-link.md b/docs/content/1.docs/4.examples/4.routing/nuxt-link.md index 2e5b2f6ec6..51ca7fb81b 100644 --- a/docs/content/1.docs/4.examples/4.routing/nuxt-link.md +++ b/docs/content/1.docs/4.examples/4.routing/nuxt-link.md @@ -13,5 +13,5 @@ This example shows different ways to navigate between page with the `` ::ReadMore{link="/docs/api/components/nuxt-link"} :: -::sandbox{repo="nuxt/framework" branch="main" dir="examples/routing/nuxt-link" file="app.vue"} +::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/routing/nuxt-link" file="app.vue"} :: diff --git a/docs/content/1.docs/4.examples/4.routing/pages.md b/docs/content/1.docs/4.examples/4.routing/pages.md index c4e284b513..3d715f32ef 100644 --- a/docs/content/1.docs/4.examples/4.routing/pages.md +++ b/docs/content/1.docs/4.examples/4.routing/pages.md @@ -9,5 +9,5 @@ This example shows how to use the pages/ directory to create application routes. ::ReadMore{link="/docs/guide/directory-structure/pages"} :: -::sandbox{repo="nuxt/framework" branch="main" dir="examples/routing/pages" file="app.vue"} +::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/routing/pages" file="app.vue"} :: diff --git a/docs/content/1.docs/4.examples/4.routing/universal-router.md b/docs/content/1.docs/4.examples/4.routing/universal-router.md index 03149de87e..37f5d5ae71 100644 --- a/docs/content/1.docs/4.examples/4.routing/universal-router.md +++ b/docs/content/1.docs/4.examples/4.routing/universal-router.md @@ -6,5 +6,5 @@ toc: false This example demonstrates Nuxt universal routing utilities without depending on `pages/` and `vue-router`. -::sandbox{repo="nuxt/framework" branch="main" dir="examples/routing/universal-router" file="app.vue"} +::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/routing/universal-router" file="app.vue"} :: diff --git a/docs/content/1.docs/4.examples/5.server/routes.md b/docs/content/1.docs/4.examples/5.server/routes.md index 848d9db59f..41b9a73cc2 100644 --- a/docs/content/1.docs/4.examples/5.server/routes.md +++ b/docs/content/1.docs/4.examples/5.server/routes.md @@ -9,5 +9,5 @@ This example shows how to create server routes inside the `server/api` directory ::ReadMore{link="/docs/guide/directory-structure/server"} :: -::sandbox{repo="nuxt/framework" branch="main" dir="examples/server/routes" file="app.vue"} +::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/server/routes" file="app.vue"} :: diff --git a/docs/content/1.docs/4.examples/6.advanced/config-extends.md b/docs/content/1.docs/4.examples/6.advanced/config-extends.md index aabd1a742d..0666f2ac5a 100644 --- a/docs/content/1.docs/4.examples/6.advanced/config-extends.md +++ b/docs/content/1.docs/4.examples/6.advanced/config-extends.md @@ -8,5 +8,5 @@ This example shows how to use the extends key in `nuxt.config.ts`. This example shows how to use the `extends` key in nuxt.config.ts to use the `base/` directory as a base Nuxt application, and use its components, composables or config and override them if necessary. -::sandbox{repo="nuxt/framework" branch="main" dir="examples/advanced/config-extends" file="nuxt.config.ts"} +::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/advanced/config-extends" file="nuxt.config.ts"} :: diff --git a/docs/content/1.docs/4.examples/6.advanced/jsx.md b/docs/content/1.docs/4.examples/6.advanced/jsx.md index 2c85e32898..06eea3aac2 100644 --- a/docs/content/1.docs/4.examples/6.advanced/jsx.md +++ b/docs/content/1.docs/4.examples/6.advanced/jsx.md @@ -9,4 +9,4 @@ This example shows how to use [jsx syntax](https://vuejs.org/guide/extras/render ::ReadMore{link="https://vuejs.org/guide/extras/render-function.html#jsx-tsx"} :: -::sandbox{repo="nuxt/framework" branch="main" dir="examples/advanced/jsx" file="nuxt.config.ts"} +::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/advanced/jsx" file="nuxt.config.ts"} diff --git a/docs/content/1.docs/4.examples/6.advanced/module-extend-pages.md b/docs/content/1.docs/4.examples/6.advanced/module-extend-pages.md index 3d445d759d..1d81488bd1 100644 --- a/docs/content/1.docs/4.examples/6.advanced/module-extend-pages.md +++ b/docs/content/1.docs/4.examples/6.advanced/module-extend-pages.md @@ -9,5 +9,5 @@ This example defines a new `test` page using `extendPages` within a module. ::ReadMore{link="/docs/guide/going-further/modules"} :: -::sandbox{repo="nuxt/framework" branch="main" dir="examples/advanced/module-extend-pages" file="pages/index.vue"} +::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/advanced/module-extend-pages" file="pages/index.vue"} :: diff --git a/docs/content/1.docs/4.examples/6.advanced/testing.md b/docs/content/1.docs/4.examples/6.advanced/testing.md index b37f76b2a1..78de9c245b 100644 --- a/docs/content/1.docs/4.examples/6.advanced/testing.md +++ b/docs/content/1.docs/4.examples/6.advanced/testing.md @@ -13,5 +13,5 @@ Learn more about [testing](/docs/guide/going-further/testing). ::ReadMore{link="/docs/guide/going-further/testing"} :: -::sandbox{repo="nuxt/framework" branch="main" dir="examples/advanced/testing" file="app.vue"} +::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/advanced/testing" file="app.vue"} :: diff --git a/docs/content/1.docs/4.examples/7.experimental/reactivity-transform.md b/docs/content/1.docs/4.examples/7.experimental/reactivity-transform.md index 9d22a6738c..3fb91a94af 100644 --- a/docs/content/1.docs/4.examples/7.experimental/reactivity-transform.md +++ b/docs/content/1.docs/4.examples/7.experimental/reactivity-transform.md @@ -9,5 +9,5 @@ This example demonstrates the support of Reactivity Transform in Nuxt 3. ::ReadMore{link="https://vuejs.org/guide/extras/reactivity-transform.html" title="Reactivity Transform"} :: -::sandbox{repo="nuxt/framework" branch="main" dir="examples/experimental/reactivity-transform" file="app.vue"} +::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/experimental/reactivity-transform" file="app.vue"} :: diff --git a/docs/content/1.docs/4.examples/7.experimental/wasm.md b/docs/content/1.docs/4.examples/7.experimental/wasm.md index 17272507e8..728bcb955d 100644 --- a/docs/content/1.docs/4.examples/7.experimental/wasm.md +++ b/docs/content/1.docs/4.examples/7.experimental/wasm.md @@ -6,5 +6,5 @@ toc: false This example demonstrates the server-side support of WebAssembly in Nuxt 3. -::sandbox{repo="nuxt/framework" branch="main" dir="examples/experimental/wasm" file="app.vue"} +::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/experimental/wasm" file="app.vue"} :: diff --git a/docs/content/1.docs/4.examples/8.other/locale.md b/docs/content/1.docs/4.examples/8.other/locale.md index 8c33b8f346..7834d311a8 100644 --- a/docs/content/1.docs/4.examples/8.other/locale.md +++ b/docs/content/1.docs/4.examples/8.other/locale.md @@ -10,4 +10,4 @@ This example shows how to define a locale composable to handle the application's You can right-click to "View Page Source" and see that Nuxt renders the correct date in SSR based on the visitor's locale. :: -::sandbox{repo="nuxt/framework" branch="main" dir="examples/other/locale" file="app.vue"} +::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/other/locale" file="app.vue"} diff --git a/docs/content/1.docs/5.community/2.getting-help.md b/docs/content/1.docs/5.community/2.getting-help.md index 65e8f1a5d5..d8807bf37f 100644 --- a/docs/content/1.docs/5.community/2.getting-help.md +++ b/docs/content/1.docs/5.community/2.getting-help.md @@ -12,7 +12,7 @@ But don't worry! We're a friendly community of developers and we'd love to help. ## "I can't figure out how to (...)." -You've read through these docs and you think it should be possible, but it's not clear how. The best thing is to [open a GitHub Discussion](https://github.com/nuxt/framework/discussions). +You've read through these docs and you think it should be possible, but it's not clear how. The best thing is to [open a GitHub Discussion](https://github.com/nuxt/nuxt/discussions). Please don't feel embarrassed about asking a question that you think is easy - we've all been there! ❤️ @@ -30,6 +30,6 @@ And finally, just ask the question! There's no need to [ask permission to ask a ## "Could there be a bug?" -Something isn't working the way that the docs say that it should. You're not sure if it's a bug. You've searched through the [open issues](https://github.com/nuxt/framework/issues) and [discussions](https://github.com/nuxt/framework/discussions) but you can't find anything. (if there is a closed issue, please create a new one) +Something isn't working the way that the docs say that it should. You're not sure if it's a bug. You've searched through the [open issues](https://github.com/nuxt/nuxt/issues) and [discussions](https://github.com/nuxt/nuxt/discussions) but you can't find anything. (if there is a closed issue, please create a new one) We recommend taking a look at [how to report bugs](/docs/community/reporting-bugs). Nuxt 3 is still in active development, and every issue helps make it better. diff --git a/docs/content/1.docs/5.community/3.reporting-bugs.md b/docs/content/1.docs/5.community/3.reporting-bugs.md index cf0cacd0bb..5d0f055584 100644 --- a/docs/content/1.docs/5.community/3.reporting-bugs.md +++ b/docs/content/1.docs/5.community/3.reporting-bugs.md @@ -18,7 +18,7 @@ Consider if you're looking to get help with something, or whether you think ther ## Search the Issues -Search through the [open issues](https://github.com/nuxt/framework/issues) and [discussions](https://github.com/nuxt/framework/discussions) first. If you find anything that seems like the same bug, it's much better to comment on an existing thread than create a duplicate. +Search through the [open issues](https://github.com/nuxt/nuxt/issues) and [discussions](https://github.com/nuxt/nuxt/discussions) first. If you find anything that seems like the same bug, it's much better to comment on an existing thread than create a duplicate. ## Create a Minimal Reproduction diff --git a/docs/content/1.docs/5.community/4.contribution.md b/docs/content/1.docs/5.community/4.contribution.md index 575c2803e6..aa90003391 100644 --- a/docs/content/1.docs/5.community/4.contribution.md +++ b/docs/content/1.docs/5.community/4.contribution.md @@ -12,7 +12,7 @@ There is a range of different ways you might be able to contribute to the Nuxt e The Nuxt ecosystem includes many different projects and organizations. For example: -* [nuxt/](https://github.com/nuxt) - core repositories for the Nuxt framework itself. Currently [**nuxt/framework**](https://github.com/nuxt/framework) contains Nuxt 3 and [**nuxt/nuxt.js**](https://github.com/nuxt/nuxt.js) contains Nuxt 2. +* [nuxt/](https://github.com/nuxt) - core repositories for the Nuxt framework itself. [**nuxt/nuxt**](https://github.com/nuxt/nuxt) contains the Nuxt framework (both versions 2 and 3). * [nuxt-community/](https://github.com/nuxt-community) - community-contributed and maintained modules and libraries. There is a [process to migrate a module](/docs/guide/going-further/modules/#joining-nuxt-community) to `nuxt-community`. While these modules have individual maintainers, they are not dependent on a single person. * [nuxt-contrib/](https://github.com/nuxt-contrib) - the previous home for libraries that are not specific to Nuxt but produced and used by the Nuxt team. * [unjs/](https://github.com/unjs) - many of these libraries are used throughout the Nuxt ecosystem. They are designed to be universal libraries that are framework- and environment-agnostic. We welcome contributions and usage by other frameworks and projects. @@ -21,7 +21,7 @@ The Nuxt ecosystem includes many different projects and organizations. For examp ### Triage Issues and Help Out in Discussions -Check out the issues and discussions for the project you want to help. For example, here are [the issues board](https://github.com/nuxt/framework/issues) and [discussions](https://github.com/nuxt/framework/discussions) for Nuxt 3. Helping other users, sharing workarounds, creating reproductions, or even poking into a bug a little bit and sharing your findings makes a huge difference. +Check out the issues and discussions for the project you want to help. For example, here are [the issues board](https://github.com/nuxt/nuxt/issues) and [discussions](https://github.com/nuxt/nuxt/discussions) for Nuxt 3. Helping other users, sharing workarounds, creating reproductions, or even poking into a bug a little bit and sharing your findings makes a huge difference. ### Creating an Issue @@ -55,7 +55,7 @@ Note that `fix:` and `feat:` are for **actual code changes** (that might affect * ~~`fix: typo`~~ -> `docs: fix typo` -If you are working in a project with a monorepo, like `nuxt/framework`, ensure that you specify the main scope of your commit in brackets. For example: `feat(nuxi): add 'do-magic' command`. +If you are working in a project with a monorepo, like `nuxt/nuxt`, ensure that you specify the main scope of your commit in brackets. For example: `feat(nuxi): add 'do-magic' command`. #### Making the Pull Request diff --git a/docs/content/1.docs/5.community/5.framework-contribution.md b/docs/content/1.docs/5.community/5.framework-contribution.md index 9b67c14a2d..9508356a17 100644 --- a/docs/content/1.docs/5.community/5.framework-contribution.md +++ b/docs/content/1.docs/5.community/5.framework-contribution.md @@ -1,11 +1,11 @@ --- navigation.icon: octicon:repo-24 -description: Some specific points about contributions to the nuxt/framework repository. +description: Some specific points about contributions to the nuxt/nuxt repository. --- -# nuxt/framework +# nuxt/nuxt -Once you've read the [general contribution guide](/docs/community/contribution), here are some specific points to make about contributions to the `nuxt/framework` repository. +Once you've read the [general contribution guide](/docs/community/contribution), here are some specific points to make about contributions to the `nuxt/nuxt` repository. ## Using the Playground @@ -43,7 +43,7 @@ Make the change directly in the GitHub interface and open a Pull Request. ### Longer Edits -The documentation content is inside the `docs/` directory of the [nuxt/framework repository](https://github.com/nuxt/framework) and written in markdown. +The documentation content is inside the `docs/` directory of the [nuxt/nuxt repository](https://github.com/nuxt/nuxt) and written in markdown. To contribute, fork the repository and follow [these steps](#set-up-documentation-website-in-local-environment) and start docs in development mode. @@ -60,7 +60,7 @@ Documentation is linted using [MarkdownLint](https://github.com/DavidAnson/markd To contribute to Nuxt, you need to set up a local environment. -1. [Fork](https://help.github.com/articles/fork-a-repo/) the [nuxt/framework repository](https://github.com/nuxt/framework) to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device. +1. [Fork](https://help.github.com/articles/fork-a-repo/) the [nuxt/nuxt repository](https://github.com/nuxt/nuxt) to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device. 1. Ensure using the latest Node.js (16.x) diff --git a/docs/content/1.docs/5.community/6.roadmap.md b/docs/content/1.docs/5.community/6.roadmap.md index 137fc9301d..64850d2dbf 100644 --- a/docs/content/1.docs/5.community/6.roadmap.md +++ b/docs/content/1.docs/5.community/6.roadmap.md @@ -17,7 +17,7 @@ This page lists the current status and schedule of our planned releases. ## 📝 Status Reports -- [Documentation Progress](https://github.com/nuxt/framework/issues/4104) +- [Documentation Progress](https://github.com/nuxt/nuxt/issues/13653) - [Rendering Optimizations: Today and Tomorrow](https://github.com/nuxt/framework/discussions/5856) - [Nuxt Image: Performance and Status](https://github.com/nuxt/image/discussions/563) @@ -29,8 +29,8 @@ The latest updates on Nuxt 2.x are available via the `nuxt-edge` npm package and Release | npm | Status | Last Release | Docs | Repository ---------|----|---------|--------------|------|----------------- -Nuxt 3.x | [`nuxt`](https://npmjs.com/package/nuxt) | Stable | | [3.x docs](https://v3.nuxtjs.org/) | [nuxt/framework](https://github.com/nuxt/framework) -Nuxt 3.x (edge*) | [`nuxt3`](https://npmjs.com/package/nuxt3) | Development | | [3.x docs](https://v3.nuxtjs.org/) | [nuxt/framework](https://github.com/nuxt/framework) +Nuxt 3.x | [`nuxt`](https://npmjs.com/package/nuxt) | Stable | | [3.x docs](https://v3.nuxtjs.org/) | [nuxt/nuxt](https://github.com/nuxt/nuxt) +Nuxt 3.x (edge*) | [`nuxt3`](https://npmjs.com/package/nuxt3) | Development | | [3.x docs](https://v3.nuxtjs.org/) | [nuxt/nuxt](https://github.com/nuxt/nuxt) Nuxt 2.x | [`nuxt`](https://npmjs.com/package/nuxt) | Maintenance | | [2.x docs](https://nuxtjs.org/docs) | [nuxt/nuxt.js#2.x](https://github.com/nuxt/nuxt.js/tree/2.x) Nuxt 2.x (edge*) | [`nuxt-edge`](https://npmjs.com/package/nuxt) | Maintenance | | [2.x docs](https://nuxtjs.org/docs) | [nuxt/nuxt.js](https://github.com/nuxt/nuxt.js) @@ -45,7 +45,7 @@ In roadmap below are the major expected features that are coming soon with Nuxt Milestone | Expected date | Notes | Description -------------|------------------|--------|----------------------- Image | 2022 | [nuxt/image#548](https://github.com/nuxt/image/discussions/548) | Stable image optimization for Nuxt 3 -Test Utils | 2022 | [nuxt/framework#3198](https://github.com/nuxt/framework/issues/3198) | A rewrite of [nuxt/test-utils](https://github.com/nuxt/test-utils) for testing Nuxt 3 and new modules +Test Utils | 2022 | [nuxt/nuxt#13372](https://github.com/nuxt/nuxt/issues/13372) | A rewrite of [nuxt/test-utils](https://github.com/nuxt/test-utils) for testing Nuxt 3 and new modules SEO & PWA | 2022 | [nuxt/framework#1823](https://github.com/nuxt/framework/discussions/1823) | Migrating from [nuxt-community/pwa-module](https://github.com/nuxt-community/pwa-module) for built-in SEO utils and service worker support Scripts | - | [nuxt/framework#5856](https://github.com/nuxt/framework/discussions/5856) | Easy 3rd party script management. DevTools | - | - | Integrated and modular devtools experience for Nuxt diff --git a/docs/content/4.support/1.solutions.md b/docs/content/4.support/1.solutions.md index e964c5a7f8..b8f804411f 100644 --- a/docs/content/4.support/1.solutions.md +++ b/docs/content/4.support/1.solutions.md @@ -84,7 +84,7 @@ icon: github-discussion #title GitHub discussion #description -We first recommend looking for your question on the [discussion board](https://github.com/nuxt/framework/discussions){ .font-semibold .text-green-400 }. Feel free to create a post if you can't find the answer. +We first recommend looking for your question on the [discussion board](https://github.com/nuxt/nuxt/discussions){ .font-semibold .text-green-400 }. Feel free to create a post if you can't find the answer. :: ::support-community-list --- diff --git a/docs/content/v3.md b/docs/content/v3.md index e197995912..445d07b0fc 100644 --- a/docs/content/v3.md +++ b/docs/content/v3.md @@ -42,7 +42,7 @@ Nuxt wouldn’t be possible today without an amazing community making amazing mo Releasing Nuxt 3 is a big milestone for us and opens a future-proof basis for new ideas and trust for the users to build their enterprise projects with Nuxt 3. -Server Component Islands, WebSocket layer, new Deployment presets, improved CLI and DevTools and Testing infra are a few to mention. Keep an eye on the [roadmap page](https://nuxt.com/docs/community/roadmap) and [GitHub discussions](https://github.com/nuxt/framework/discussions) for updates. +Server Component Islands, WebSocket layer, new Deployment presets, improved CLI and DevTools and Testing infra are a few to mention. Keep an eye on the [roadmap page](https://nuxt.com/docs/community/roadmap) and [GitHub discussions](https://github.com/nuxt/nuxt/discussions) for updates. NuxtLabs is working on [new product](https://nuxt.studio) and solutions on top of Nuxt 3 at the time of writing this article. diff --git a/package.json b/package.json index 937e9bbe79..b4079c4bbb 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "nuxt-framework", "private": true, - "repository": "nuxt/framework", + "repository": "nuxt/nuxt", "license": "MIT", "type": "module", "scripts": { diff --git a/packages/kit/package.json b/packages/kit/package.json index 61c90888cf..6f9ff5ae87 100644 --- a/packages/kit/package.json +++ b/packages/kit/package.json @@ -1,7 +1,7 @@ { "name": "@nuxt/kit", "version": "3.0.0", - "repository": "nuxt/framework", + "repository": "nuxt/nuxt", "license": "MIT", "type": "module", "main": "./dist/index.mjs", diff --git a/packages/nuxi/package.json b/packages/nuxi/package.json index 370c668bdb..a173c7e6be 100644 --- a/packages/nuxi/package.json +++ b/packages/nuxi/package.json @@ -1,7 +1,7 @@ { "name": "nuxi", "version": "3.0.0", - "repository": "nuxt/framework", + "repository": "nuxt/nuxt", "license": "MIT", "type": "module", "types": "./dist/index.d.ts", diff --git a/packages/nuxi/src/commands/info.ts b/packages/nuxi/src/commands/info.ts index bceba97471..4e3dca2cab 100644 --- a/packages/nuxi/src/commands/info.ts +++ b/packages/nuxi/src/commands/info.ts @@ -89,10 +89,9 @@ export default defineNuxtCommand({ console.log(`Nuxt project info: ${copied ? '(copied to clipboard)' : ''}\n\n${splitter}\n${infoStr}${splitter}\n`) const isNuxt3OrBridge = infoObj.NuxtVersion.startsWith('3') || infoObj.BuildModules.includes('bridge') - const repo = isNuxt3OrBridge ? 'nuxt/framework' : 'nuxt/nuxt.js' console.log([ - `👉 Report an issue: https://github.com/${repo}/issues/new`, - `👉 Suggest an improvement: https://github.com/${repo}/discussions/new`, + '👉 Report an issue: https://github.com/nuxt/nuxt/issues/new', + '👉 Suggest an improvement: https://github.com/nuxt/nuxt/discussions/new', `👉 Read documentation: ${isNuxt3OrBridge ? 'https://nuxt.com' : 'https://nuxtjs.org'}` ].join('\n\n') + '\n') } diff --git a/packages/nuxi/src/commands/upgrade.ts b/packages/nuxi/src/commands/upgrade.ts index bc46425ece..0218c7bb0f 100644 --- a/packages/nuxi/src/commands/upgrade.ts +++ b/packages/nuxi/src/commands/upgrade.ts @@ -67,7 +67,7 @@ export default defineNuxtCommand({ const commitA = nuxtVersionToGitIdentifier(currentVersion) const commitB = nuxtVersionToGitIdentifier(upgradedVersion) if (commitA && commitB) { - consola.info('Changelog:', `https://github.com/nuxt/framework/compare/${commitA}...${commitB}`) + consola.info('Changelog:', `https://github.com/nuxt/nuxt/compare/${commitA}...${commitB}`) } } } diff --git a/packages/nuxi/src/utils/prepare.ts b/packages/nuxi/src/utils/prepare.ts index 26658e001c..9d9678ae3c 100644 --- a/packages/nuxi/src/utils/prepare.ts +++ b/packages/nuxi/src/utils/prepare.ts @@ -31,7 +31,7 @@ export const writeTypes = async (nuxt: Nuxt) => { ...nuxt.options.typescript.includeWorkspace && nuxt.options.workspaceDir !== nuxt.options.rootDir ? [join(relative(nuxt.options.buildDir, nuxt.options.workspaceDir), '**/*')] : [] ], exclude: [ - // nitro generate output: https://github.com/nuxt/framework/blob/main/packages/nuxt/src/core/nitro.ts#L186 + // nitro generate output: https://github.com/nuxt/nuxt/blob/main/packages/nuxt/src/core/nitro.ts#L186 relative(nuxt.options.buildDir, resolve(nuxt.options.rootDir, 'dist')) ] }) diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index b627492e1a..74ec29a909 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -1,7 +1,7 @@ { "name": "nuxt", "version": "3.0.0", - "repository": "nuxt/framework", + "repository": "nuxt/nuxt", "license": "MIT", "type": "module", "main": "./dist/index.mjs", diff --git a/packages/schema/package.json b/packages/schema/package.json index 53178fe650..b9c21fab84 100644 --- a/packages/schema/package.json +++ b/packages/schema/package.json @@ -1,7 +1,7 @@ { "name": "@nuxt/schema", "version": "3.0.0", - "repository": "nuxt/framework", + "repository": "nuxt/nuxt", "license": "MIT", "type": "module", "main": "./dist/index.mjs", diff --git a/packages/schema/src/config/experimental.ts b/packages/schema/src/config/experimental.ts index 8d0e86557b..7e113da2c9 100644 --- a/packages/schema/src/config/experimental.ts +++ b/packages/schema/src/config/experimental.ts @@ -17,7 +17,7 @@ export default defineUntypedSchema({ /** * Externalize `vue`, `@vue/*` and `vue-router` when building. - * @see https://github.com/nuxt/framework/issues/4084 + * @see https://github.com/nuxt/nuxt/issues/13632 */ externalVue: true, @@ -47,7 +47,7 @@ export default defineUntypedSchema({ /** * Split server bundle into multiple chunks and dynamically import them. * - * @see https://github.com/nuxt/framework/issues/6432 + * @see https://github.com/nuxt/nuxt/issues/14525 */ viteServerDynamicImports: true, diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json index b38b6fc35b..5cb01b8ed7 100644 --- a/packages/test-utils/package.json +++ b/packages/test-utils/package.json @@ -1,7 +1,7 @@ { "name": "@nuxt/test-utils", "version": "3.0.0", - "repository": "nuxt/framework", + "repository": "nuxt/nuxt", "license": "MIT", "type": "module", "exports": "./dist/index.mjs", diff --git a/packages/test-utils/src/browser.ts b/packages/test-utils/src/browser.ts index 1fe15c77cf..bf12f0cea1 100644 --- a/packages/test-utils/src/browser.ts +++ b/packages/test-utils/src/browser.ts @@ -7,7 +7,7 @@ export async function createBrowser () { let playwright: typeof import('playwright') try { - // Workround for https://github.com/nuxt/framework/issues/3470 + // Workround for https://github.com/nuxt/nuxt/issues/13441 // TODO: Remove when upstream issue resolved playwright = await import(String('playwright')) } catch { diff --git a/packages/vite/package.json b/packages/vite/package.json index 1c14944169..372aab41af 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -1,7 +1,7 @@ { "name": "@nuxt/vite-builder", "version": "3.0.0", - "repository": "nuxt/framework", + "repository": "nuxt/nuxt", "license": "MIT", "type": "module", "types": "./dist/index.d.ts", diff --git a/packages/vite/src/vite.ts b/packages/vite/src/vite.ts index ef786d661e..3d38554fbd 100644 --- a/packages/vite/src/vite.ts +++ b/packages/vite/src/vite.ts @@ -127,7 +127,7 @@ export async function bundle (nuxt: Nuxt) { if ( nuxt.options.vite.warmupEntry !== false && - // https://github.com/nuxt/framework/issues/7510 + // https://github.com/nuxt/nuxt/issues/14898 !(env.isServer && ctx.nuxt.options.vite.devBundler !== 'legacy') ) { const start = Date.now() diff --git a/packages/webpack/package.json b/packages/webpack/package.json index 21e73c02ea..b9a48925a8 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -1,7 +1,7 @@ { "name": "@nuxt/webpack-builder", "version": "3.0.0", - "repository": "nuxt/framework", + "repository": "nuxt/nuxt", "license": "MIT", "type": "module", "types": "./dist/index.d.ts", diff --git a/packages/webpack/src/presets/esbuild.ts b/packages/webpack/src/presets/esbuild.ts index bbcf362190..2cd2306c95 100644 --- a/packages/webpack/src/presets/esbuild.ts +++ b/packages/webpack/src/presets/esbuild.ts @@ -9,7 +9,7 @@ export function esbuild (ctx: WebpackConfigContext) { // https://nodejs.org/en/ const target = ctx.isServer ? 'es2019' : 'chrome85' - // https://github.com/nuxt/framework/issues/2372 + // https://github.com/nuxt/nuxt/issues/13052 config.optimization!.minimizer!.push(new (esbuildLoader as unknown as typeof import('esbuild-loader')).ESBuildMinifyPlugin()) config.module!.rules!.push( diff --git a/test/basic.test.ts b/test/basic.test.ts index 8c812130dc..a9323ab191 100644 --- a/test/basic.test.ts +++ b/test/basic.test.ts @@ -90,7 +90,7 @@ describe('pages', () => { expect(html).toContain('[...slug].vue') expect(html).toContain('404 at not-found') - // Middleware still runs after validation: https://github.com/nuxt/framework/issues/9701 + // Middleware still runs after validation: https://github.com/nuxt/nuxt/issues/15650 expect(html).toContain('Middleware ran: true') await expectNoClientErrors('/not-found')