Skip to content

Commit

Permalink
Update main (#1)
Browse files Browse the repository at this point in the history
* docs: document `fallback` prop for `<NuxtLayout>` (nuxt#26091)

* chore(deps): update all non-major dependencies to v2.0.5 (main) (nuxt#26088)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update all non-major dependencies (main) (nuxt#26097)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(nuxt): don't refetch server components in initial html (nuxt#26089)

* fix(nuxt): resolve `defu`/`h3` paths in type templates (nuxt#26085)

* fix(nuxt): use exported `toExports` from `unimport` (nuxt#26086)

* fix(nuxt): cache-bust payloads with build id (nuxt#26068)

* fix(nuxt): export `AsyncDataRequestStatus` type (nuxt#26023)

* docs: add documentation for using layers with private repos (nuxt#26094)

* docs: remove twoslash from code sample

* chore: remove second twoslash prop too 🤔

* chore(deps): update devdependency c12 to v1.10.0 (main) (nuxt#26105)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(nuxt): add space before `<html>` and `<body>` attrs (nuxt#26027)

* fix(kit): resolve module `node_modules` for `modulesDir` (nuxt#25548)

* perf(nuxt): use fallthrough cache for prerender (nuxt#26104)

* feat(nuxt): client-only pages (nuxt#25037)

* chore(deps): update dependency cssnano to ^6.1.0 (main) (nuxt#26107)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat(nuxt): allow using `nuxt-client` in all components (nuxt#25479)

* feat(nuxt): add `page:view-transition:start` hook (nuxt#26045)

* feat(nuxt): custom loading reset/hide delay + force `finish()` (nuxt#25932)

* feat(nuxt): emit error if `<NuxtIsland>` can't fetch island (nuxt#25798)

* feat(nuxt): `usePreviewMode` composable (nuxt#21705)

* chore(deps): update all non-major dependencies (main) (nuxt#26112)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update devdependency typescript to v5.4.2 (main) (nuxt#26115)

* docs: update cssnano website url

cssnano/cssnano#1578

* docs: add warning about latest `vue-tsc` (nuxt#26083)

* chore(deps): update dependency unplugin to ^1.8.3 (main) (nuxt#26117)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* docs: improve readme readability (nuxt#26118)

Co-authored-by: Sébastien Chopin <[email protected]>
Co-authored-by: Sébastien Chopin <[email protected]>

* fix(nuxt): handle external redirects from `routeRules` (nuxt#26120)

* chore: update .npmrc (nuxt#26135)

* docs: added bridge `macros.pageMeta` and `typescript.esbuild` option (nuxt#26136)

* docs: fix bracket escape on `definePageMeta` page (nuxt#26139)

* fix(nuxt): use flat cache directory for prerender data

* chore(deps): update all non-major dependencies (main) (nuxt#26124)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(nuxt): watch custom `cookieRef` values deeply (nuxt#26151)

* fix(nuxt): access prerender cache synchronously (nuxt#26146)

* chore(deps): update devdependency happy-dom to v13.7.0 (main) (nuxt#26148)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat(nuxt): support async transforms for data composables (nuxt#26154)

* chore(deps): update dependency unplugin to ^1.9.0 (main) (nuxt#26156)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(nuxt): provide typescript aliases for core packages (nuxt#26158)

* chore(deps): update all non-major dependencies (main) (nuxt#26157)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <[email protected]>

* fix(nuxt): handle errors resolving package paths

* fix(kit): handle errors resolving module path

* chore: add back stylistic rules and lint project

* fix(nuxt): clone paths to prevent shared object

* chore(deps): update all non-major dependencies to ^1.8.12 (main) (nuxt#26159)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): pin devdependency eslint-config-standard to 17.1.0 (main) (nuxt#26160)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* perf(nuxt): tree shake island renderer

* fix(nuxt): detect component usage within `ssrRender` (nuxt#26162)

* chore(deps): update all non-major dependencies (main) (nuxt#26166)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* perf(nuxt): skip adding selective-client code if not enabled (nuxt#26176)

* perf(nuxt): use faster approach to check cache exists (nuxt#26172)

* docs: add `app:manifest:update` hook (nuxt#26192)

* feat(nuxt): add dedicated `#teleports` element for ssr teleports (nuxt#25043)

* fix(nuxt): improved plugin annotating warnings (nuxt#26193)

* docs: add cache.varies docs for multi-tenant use case (nuxt#26197)

* refactor(nuxt): simplify `request` computation (nuxt#26191)

* docs: add mentions on Vue School tutorials (nuxt#25997)

* fix(nuxt): generate typed routes after pages are scanned (nuxt#26206)

* fix(nuxt): only strip supported extensions when generating import types (nuxt#26218)

* fix(nuxt): init payload when using islands with `ssr: false`

* feat(nuxt): enable islands if server pages/components present (nuxt#26223)

* docs: update link to `zhead`

* fix(nuxt): register/scan plugins with jsx/tsx extensions (nuxt#26230)

* feat(nuxt): allow generating metadata for nuxt components (nuxt#26204)

* chore(deps): update all non-major dependencies (main) (nuxt#26189)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <[email protected]>

* feat(vite): handle multiple/custom public dirs (nuxt#26163)

* docs: added modular architecture use case for Layers (nuxt#26240)

* ci: run lint step after bundle test

* chore(deps): update all non-major dependencies (main) (nuxt#26234)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <[email protected]>

* docs: escape 'elements' in jsdoc comments

* perf(nuxt): only update changed templates (nuxt#26250)

* chore(deps): update devdependency happy-dom to v13.8.5 (main) (nuxt#26251)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(nuxt): update auto imports after other templates (nuxt#26249)

* chore: remove trailing slash in issue template (nuxt#26268)

* chore(deps): update all non-major dependencies (main) (nuxt#26254)

* docs: use a more common word (nuxt#26276)

* chore(deps): update vitest to v1.4.0 (main) (nuxt#26265)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(nuxt): respect `baseUrl` within server components (nuxt#25727)

* fix(nuxt): access shared asyncData state with `useNuxtData` (nuxt#22277)

* chore(deps): update dependency ufo to v1.5.0 (main) (nuxt#26280)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <[email protected]>

* docs: split a sentence in two to improve readability (nuxt#26279)

* chore(deps): update devdependency nitropack to v2.9.4 (main) (nuxt#26281)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(vite): explicitly import `publicAssetsURL`

* feat(schema): allow configuring type hoists with `typescript.hoist`

* fix(nuxt): don't ignore any files from `buildAssetsDir`

* docs: removed unused composable example (nuxt#26283)

* fix(vite): drop name prefix for client chunk file names (nuxt#26203)

* docs: add more keywords for reducer/reviver docs

nuxt#21832 (comment)

* docs: link to pinceau repo rather than website (nuxt#26286)

* docs: add link to ofetch repo (nuxt#26284)

* feat(nuxt): pass nuxt instance to `getCachedData` (nuxt#26287)

* fix(kit): clone middleware when adding to app

* feat(nuxt): pass server logs to client (nuxt#25936)

Co-authored-by: Sébastien Chopin <[email protected]>

* fix(nuxt): don't generate separate chunk for stubs (nuxt#26291)

* chore(deps): update dependency ufo to v1.5.1 (main) (nuxt#26290)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <[email protected]>

* fix(nuxt): use `joinRelativeURL` for build assets (nuxt#26282)

* fix(schema): allow passing `deep` to `selectiveClient`

* docs: improve section titles in error-handling docs (nuxt#26288)

* ci: release in ci when a v3 tag is pushed

* fix(schema): don't hoist types for `consola` for now

* chore: bump ip and follow-redirects

* fix(nuxt): guard `window` access more carefully

* ci: do not cache Playwright browsers (nuxt#26296)

* test: use retryable assertion for `scrollY` (nuxt#26298)

* chore(deps): update all non-major dependencies to ^1.8.20 (main) (nuxt#26294)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <[email protected]>

* test: also run composables test with appManifest off

* chore: remove old code

* feat(nuxt): add `nuxtMiddleware` route rule (nuxt#25841)

* test: remove wait for `networkidle`

* test: use locator assertion for body text

* test: use function assertion for second scrollY test

* chore: temporarily remove codspeed plugin

* chore: tidy dependencies

* chore: update knip schema

* chore: do not export unused type

* refactor(nuxt): rename `nuxtMiddleware` to `appMiddleware`

* test: add type test for appMiddleware route rules

* refactor(nuxt): use addTypeTemplate for page augmentations

* fix(nuxt): provide appMiddleware types with universal router

* chore(deps): update devdependency @nuxt/test-utils to v3.12.0 (main) (nuxt#26299)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* refactor(nuxt): use addTypeTemplate in more places

* fix(nuxt): handle nightly releases for hoisted types

* feat(nuxt): add `clear` utility to `useAsyncData`/`useFetch` (nuxt#26259)

* chore(nuxt): ensure type template has const filename

* docs: add example for `clear`

* docs: add docs about playwright runner support

* docs: add some `appMiddleware` docs

* v3.11.0

* ci: configure npm registry in release workflow

* docs: fix code block formatting for `usePreviewMode` (nuxt#26303)

* docs: fix confusing wording (nuxt#26301)

* chore(deps): update devdependency happy-dom to v13.9.0 (main) (nuxt#26313)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(nuxt): ignore console.logs called outside event context

resolves nuxt#26308

* fix(schema): include `ofetch` in `typescript.hoist` defaults (nuxt#26316)

* fix(nuxt): conditionally use `tsx` parser (nuxt#26314)

* docs: add note that `useId` must be used with single root element

* fix(nuxt): correct `finish` types and add to docs

resolves nuxt#26317

* fix(nuxt): ignore failures to access asyncContext in environments without it

* chore(nuxt): remove unused code (nuxt#26319)

* chore(deps): update all non-major dependencies (main) (nuxt#26321)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency ufo to v1.5.2 (main) (nuxt#26339)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(nuxt): handle failure creating BroadcastChannel (nuxt#26340)

* fix(nuxt): don't warn when injecting client-only components (nuxt#26341)

* chore(deps): update github/codeql-action action to v3.24.8 (main) (nuxt#26342)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* docs: mention `<DevOnly>` component in api section (nuxt#26029)

* docs: note that `@nuxt/schema` should be used by module authors (nuxt#26190)

* docs: add `routeNameSplitter` example in migration docs (nuxt#25838)

* chore: revert update github/codeql-action action

This reverts commit 70b2986.

* chore(deps): update dependency nuxi to v3.11.0 (main) (nuxt#26353)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(nuxt): prevent losing pages routes on prerender (nuxt#26354)

* chore(deps): update all non-major dependencies (main) (nuxt#26344)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(nuxt): pass `undefined` name when resolving trailing slash (nuxt#26358)

* fix(vite): use ssr result if it exists (nuxt#26356)

* v3.11.1

* chore(deps): update devdependency happy-dom to v14 (main) (nuxt#26359)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: fix typo in test descriptions (nuxt#26366)

* docs: update information about playwright test runner

* docs: add info about dependencies to install

* docs: add missing end block

* chore: rename to yaml

* fix(nuxt): handle underscores in island names (nuxt#26370)

* docs: migration page typo (nuxt#26389)

* chore(deps): update all non-major dependencies (main) (nuxt#26376)

* fix(nuxt): don't append new route for redirect if one exists (nuxt#26368)

* fix(nuxt): ignore `navigateTo` `open` option on server side (nuxt#26392)

* chore(deps): update all non-major dependencies (main) (nuxt#26399)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency nuxi to v3.11.1 (main) (nuxt#26404)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update actions/dependency-review-action action to v4.2.3 (main) (nuxt#26408)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update all non-major dependencies (main) (nuxt#26413)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(nuxt): print errors when compiling templates (nuxt#26410)

* fix(nuxt): don't warn about `definePageMeta` in server pages (nuxt#26422)

* fix(nuxt): pass `joinRelativeURL` + share paths on server (nuxt#26407)

* perf(nuxt): don't tree-shake `useServerHead` in dev (nuxt#26421)

* fix(nuxt): exclude `<srcDir>/index.html` from import protection (nuxt#26430)

* fix(nuxt): early return from `refreshCookie` on server

* chore(deps): update all non-major dependencies (main) (nuxt#26427)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <[email protected]>

* chore(deps): update all non-major dependencies (main) (nuxt#26436)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update all non-major dependencies (main) (nuxt#26448)

* docs: advise installing nuxi for debugging with pnpm (nuxt#26447)

* chore(deps): update all non-major dependencies (main) (nuxt#26460)

* chore(deps): update all non-major dependencies (main) (nuxt#26466)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <[email protected]>

* fix(nuxt): move `v-if` to wrapper in islands transform (nuxt#26386)

* docs: warn about single root element for server components (nuxt#26462)

* chore(deps): update all non-major dependencies (main) (nuxt#26478)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <[email protected]>

* fix(nuxt): move directives to client component island wrapper (nuxt#26387)

* fix(nuxt): ignore fetch errors in `getLatestManifest` (nuxt#26486)

* fix(nuxt): check island element instead of hydration state (nuxt#26480)

* chore(deps): update all non-major dependencies (main) (nuxt#26492)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* docs: adjust grammar (nuxt#26482)

* chore(deps): update codecov/codecov-action action to v4.1.1 (main) (nuxt#26496)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update devdependency happy-dom to v14.3.9 (main) (nuxt#26500)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(nuxt): add build id to rendered payload url (nuxt#26504)

* chore(deps): update resolutions rollup to ^4.13.1 (main) (nuxt#26506)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(nuxt): support serialising rich server logs (nuxt#26503)

* fix(nuxt): handle errors parsing/stringifying logs

* chore(deps): update all non-major dependencies to ^1.9.2 (main) (nuxt#26518)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <[email protected]>

* chore(deps): update all non-major dependencies (main) (nuxt#26530)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update resolutions rollup to ^4.13.2 (main) (nuxt#26537)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* docs: add contents of the layout in examples (nuxt#26532)

* fix(nuxt): augment `GlobalComponents` in multiple vue modules (nuxt#26541)

* refactor(nuxt): remove duplicated check (nuxt#26544)

* refactor(nuxt): simplify check in `navigateTo` for server (nuxt#26546)

* chore(deps): update all non-major dependencies (main) (nuxt#26545)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <[email protected]>

* chore(deps): update all non-major dependencies (main) (nuxt#26548)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* docs: add note about `prerenderRoutes` in dynamic routes (nuxt#26547)

* chore(deps): update dependency webpack-dev-middleware to v7.2.0 (main) (nuxt#26559)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: improve pr template (nuxt#26562)

* chore(deps): update dependency cookie-es to ^1.1.0 (main) (nuxt#26568)

* perf(nuxt): reduce nuxt island payload (nuxt#26569)

* docs: clarify app-config merging strategy note (nuxt#26564)

* refactor(nuxt): simplify `runtimeConfig` initialization of client side (nuxt#26558)

* docs: update core modules roadmap (nuxt#26553)

* chore(deps): update devdependency @types/node to v20.12.2 (main) (nuxt#26573)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency knitwork to ^1.1.0 (main) (nuxt#26577)

* chore: enable devtools by default in playground

* chore(deps): update all non-major dependencies (main) (nuxt#26584)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <[email protected]>

* docs: replace `process.*` with `import.meta.*` (nuxt#26611)

* fix(nuxt): suppress warning about resolve cache-driver (nuxt#26595)

* perf(nuxt): unsubscribe from watch when scope is disposed (nuxt#26554)

* fix(nuxt): handle auto-importing named components (nuxt#26556)

* fix(schema): update webpack `transformAssetUrls` + pass `hoistStatic` to vite plugin (nuxt#26563)

* fix(schema): document use case for `typescript.shim` (nuxt#26607)

* chore(deps): pin devdependency @vue/compiler-sfc to 3.4.21 (main) (nuxt#26621)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* perf(nuxt): reduce router resolutions (nuxt#26519)

* chore(deps): update all non-major dependencies (main) (nuxt#26613)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <[email protected]>

* fix(nuxt): normalise rollup opts in island transform w/o nuxt (nuxt#26589)

* docs: correct grammar in `typescript.shim` JSDoc (nuxt#26626)

* chore(deps): update dependency vite to v5.2.8 (main) (nuxt#26627)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update devdependency eslint-plugin-unicorn to v52 (main) (nuxt#26632)

* chore(deps): update dependency css-loader to ^6.11.0 (main) (nuxt#26631)

* chore: migrate to ESLint flat config (nuxt#26583)

* fix(nuxt): handle missing Nuxt context in `useRoute` (nuxt#26633)

* chore(deps): update all non-major dependencies (main) (nuxt#26636)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency magic-string to ^0.30.9 (main) (nuxt#26641)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* docs: add missing comma (nuxt#26644)

* v3.11.2

* chore: update `moduleResolution` to `Bundler` (nuxt#26658)

* chore: cleanup eslint rules with latest `@nuxt/eslint-config` (nuxt#26653)

* docs: update Nuxt 4 scheduled release date (nuxt#26663)

* chore(deps): update dependency css-loader to v7 (main) (nuxt#26646)

* chore(deps): update devdependency eslint to v9 (main) (nuxt#26671)

* chore(deps): update devdependency @eslint/js to v9 (main) (nuxt#26670)

* chore(deps): pin dependencies (main) (nuxt#26665)

* docs: remove step of installing deps in new nuxt project (nuxt#26676)

* chore(deps): update all non-major dependencies (main) (nuxt#26645)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <[email protected]>

* perf(nuxt): don't add client fallback plugin if not enabled (nuxt#26666)

* chore(deps): update all non-major dependencies (main) (nuxt#26682)

* fix(nuxt): prevent `getCachedData` from shaping type of `useAsyncData` (nuxt#25946)

* chore(deps): update all non-major dependencies (main) (nuxt#26692)

---------

Co-authored-by: Adam DeHaven <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <[email protected]>
Co-authored-by: Andre van Tonder <[email protected]>
Co-authored-by: təəna.vuə <[email protected]>
Co-authored-by: i-udas <[email protected]>
Co-authored-by: Damian Głowala <[email protected]>
Co-authored-by: Bogdan Kostyuk <[email protected]>
Co-authored-by: Julien Huang <[email protected]>
Co-authored-by: Horváth Bálint <[email protected]>
Co-authored-by: Divine <[email protected]>
Co-authored-by: Sultanov Mirjamol <[email protected]>
Co-authored-by: Antoine Zanardi <[email protected]>
Co-authored-by: Sébastien Chopin <[email protected]>
Co-authored-by: Sébastien Chopin <[email protected]>
Co-authored-by: Ryota Watanabe <[email protected]>
Co-authored-by: k-karen <[email protected]>
Co-authored-by: Alex Liu <[email protected]>
Co-authored-by: Alexander Lichter <[email protected]>
Co-authored-by: Harlan Wilton <[email protected]>
Co-authored-by: Mostafa Said <[email protected]>
Co-authored-by: Mehmet <[email protected]>
Co-authored-by: Anthony Aslangul <[email protected]>
Co-authored-by: Martins <[email protected]>
Co-authored-by: Anthony Fu <[email protected]>
Co-authored-by: OrbisK <[email protected]>
Co-authored-by: Tanvir Rahman <[email protected]>
Co-authored-by: Marc Cremer <[email protected]>
Co-authored-by: Maik Kowol <[email protected]>
Co-authored-by: Max Schmitt <[email protected]>
Co-authored-by: Horu <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Florian Lefebvre <[email protected]>
Co-authored-by: Joaquín Sánchez <[email protected]>
Co-authored-by: Turdalin Nurassyl <[email protected]>
Co-authored-by: Volker Rose <[email protected]>
Co-authored-by: Serge Doda <[email protected]>
Co-authored-by: zunderbolt <[email protected]>
Co-authored-by: François Rosato <[email protected]>
Co-authored-by: Thimo <[email protected]>
Co-authored-by: Michał Zarach <[email protected]>
Co-authored-by: Junaid Ahmed <[email protected]>
Co-authored-by: xjccc <[email protected]>
Co-authored-by: Pothuraju <[email protected]>
Co-authored-by: Lehoczky Zoltán <[email protected]>
Co-authored-by: Taras Batenkov <[email protected]>
Co-authored-by: Maxime Pauvert <[email protected]>
Co-authored-by: Antoine Rey <[email protected]>
Co-authored-by: Luke Nelson <[email protected]>
Co-authored-by: Nikita <[email protected]>
Co-authored-by: Max <[email protected]>
Co-authored-by: RollingTL <[email protected]>
Co-authored-by: Han <[email protected]>
  • Loading branch information
Show file tree
Hide file tree
Showing 839 changed files with 31,239 additions and 15,474 deletions.
9 changes: 9 additions & 0 deletions .devcontainer/Dockerfile
@@ -0,0 +1,9 @@
FROM node:lts

RUN apt-get update && \
apt-get install -fy libnss3 libnspr4 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdbus-1-3 libdrm2 libxkbcommon0 libatspi2.0-0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libasound2 && \
apt-get clean autoclean && \
apt-get autoremove --yes && \
rm -rf /var/lib/{apt,dpkg,cache,log}

RUN corepack enable && npx playwright install
22 changes: 22 additions & 0 deletions .devcontainer/devcontainer.json
@@ -0,0 +1,22 @@
// https://code.visualstudio.com/docs/devcontainers/containers
// https://containers.dev/implementors/json_reference/
{
"name": "nuxt-devcontainer",
"dockerFile": "Dockerfile",
"features": {},
"customizations": {
"vscode": {
"settings": {},
"extensions": [
"ms-azuretools.vscode-docker",
"dbaeumer.vscode-eslint",
"github.vscode-github-actions",
"vue.volar"
]
}
},
"postStartCommand": "pnpm install && pnpm dev:prepare",
"mounts": [
"type=volume,target=${containerWorkspaceFolder}/node_modules"
]
}
134 changes: 0 additions & 134 deletions .eslintrc

This file was deleted.

4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Expand Up @@ -9,8 +9,8 @@ body:
👉 https://nuxt.com/docs/community/reporting-bugs
Please use a template below to create a minimal reproduction
👉 https://stackblitz.com/github/nuxt/starter/tree/v3-stackblitz
👉 https://codesandbox.io/s/github/nuxt/starter/v3-codesandbox
👉 https://stackblitz.com/github/nuxt/starter/tree/v3
👉 https://codesandbox.io/s/github/nuxt/starter/tree/v3
- type: textarea
id: bug-env
attributes:
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
@@ -1,10 +1,10 @@
blank_issues_enabled: true
contact_links:
- name: 📚 Nuxt 3 Documentation
url: https://nuxt.com/docs/
url: https://nuxt.com/docs
about: Check the documentation for usage of Nuxt 3
- name: 📚 Nuxt 2 Documentation
url: https://v2.nuxt.com/
url: https://v2.nuxt.com
about: Check the documentation for usage of Nuxt 2
- name: 💬 Discussions
url: https://github.com/nuxt/nuxt/discussions
Expand Down
39 changes: 11 additions & 28 deletions .github/PULL_REQUEST_TEMPLATE.md
@@ -1,36 +1,19 @@
<!---
☝️ PR title should follow conventional commits (https://conventionalcommits.org)
Please carefully read the contribution docs before creating a pull request
👉 https://nuxt.com/docs/community/contribution
-->

### 🔗 Linked issue

<!-- Please ensure there is an open issue and mention its number as #123 -->

### ❓ Type of change

<!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply. -->

- [ ] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
- [ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
- [ ] 👌 Enhancement (improving an existing functionality like performance)
- [ ] ✨ New feature (a non-breaking change that adds functionality)
- [ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
- [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to change)
<!-- Please ensure there is an open issue and mention its number. For example, "resolves #123" -->

### 📚 Description

<!-- Describe your changes in detail -->
<!-- Why is this change required? What problem does it solve? -->
<!-- If it resolves an open issue, please link to the issue here. For example "Resolves #1337" -->
<!-- Describe your changes in detail. Why is this change required? What problem does it solve? -->

### 📝 Checklist
<!----------------------------------------------------------------------
Before creating the pull request, please make sure you do the following:
<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- Check that there isn't already a PR that solves the problem the same way. If you find a duplicate, please help us reviewing it.
- Read the contribution docs at https://nuxt.com/docs/community/contribution
- Ensure that PR title follows conventional commits (https://conventionalcommits.org)
- Update the corresponding documentation if needed.
- Include relevant tests that fail without this PR but pass with it.
- [ ] I have linked an issue or discussion.
- [ ] I have updated the documentation accordingly.
Thank you for contributing to Nuxt!
----------------------------------------------------------------------->
Binary file removed .github/assets/banner.png
Binary file not shown.
2 changes: 1 addition & 1 deletion .github/assets/banner.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions .github/reproduire/needs-reproduction.md
Expand Up @@ -9,7 +9,7 @@ Reproductions make it possible for us to triage and fix issues quickly with a re

### What will happen?

If you've provided a reproduction, we'll remove the label and try to reproduce the issue. If we can, we'll mark it as a bug and prioritise it based on its severity and how many people we think it might affect.
If you've provided a reproduction, we'll remove the label and try to reproduce the issue. If we can, we'll mark it as a bug and prioritize it based on its severity and how many people we think it might affect.

If `needs reproduction` labeled issues don't receive any substantial activity (e.g., new comments featuring a reproduction link), we'll close them. That's not because we don't care! At any point, feel free to comment with a reproduction and we'll reopen it.

Expand All @@ -27,6 +27,6 @@ Please ensure that the reproduction is as **minimal** as possible. See more deta
You might also find these other articles interesting and/or helpful:

- [The Importance of Reproductions](https://antfu.me/posts/why-reproductions-are-required)
- [How to Generate a Minimal, Complete, and Verifiable Example](https://stackoverflow.com/help/mcve)
- [How to Generate a Minimal, Complete, and Verifiable Example](https://stackoverflow.com/help/minimal-reproducible-example)

</details>
6 changes: 3 additions & 3 deletions .github/workflows/autofix-docs.yml
Expand Up @@ -17,9 +17,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- run: corepack enable
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20
cache: "pnpm"
Expand All @@ -30,4 +30,4 @@ jobs:
- name: Lint (docs)
run: pnpm lint:docs:fix

- uses: autofix-ci/action@8caa572fd27b0019a65e4c695447089c8d3138b9
- uses: autofix-ci/action@ea32e3a12414e6d3183163c3424a7d7a8631ad84
32 changes: 21 additions & 11 deletions .github/workflows/autofix.yml
Expand Up @@ -13,33 +13,43 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- run: corepack enable
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20
cache: "pnpm"

- name: Install dependencies
run: pnpm install

- name: Dedupe dependencies
if: ${{ contains(github.head_ref, 'renovate') }}
run: pnpm dedupe

- name: Build (stub)
run: pnpm build:stub

- name: Lint (code)
run: pnpm lint:fix
run: pnpm dev:prepare

- name: Test (unit)
run: pnpm test:unit -u

- name: Test (runtime unit)
run: pnpm test:runtime -u

- name: Run build
run: pnpm build

- name: Assert bundle size (renovate)
if: ${{ contains(github.head_ref, 'renovate') }}
run: pnpm vitest run bundle

- name: Update bundle size (renovate)
if: failure()
run: |
pnpm vitest run bundle -u
pnpm dedupe
- name: Update bundle size
if: ${{ !contains(github.head_ref, 'renovate') }}
run: pnpm vitest run bundle -u

- uses: autofix-ci/action@8caa572fd27b0019a65e4c695447089c8d3138b9
- name: Lint (code)
run: pnpm lint:fix

- uses: autofix-ci/action@ea32e3a12414e6d3183163c3424a7d7a8631ad84
52 changes: 52 additions & 0 deletions .github/workflows/benchmark.yml
@@ -0,0 +1,52 @@
name: benchmark

on:
workflow_dispatch:
# pull_request:
# paths-ignore:
# - "docs/**"
# - "*.md"
# branches:
# - main
# - "!v[0-9]*"

# https://github.com/vitejs/vite/blob/main/.github/workflows/ci.yml
env:
# 7 GiB by default on GitHub, setting to 6 GiB
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
NODE_OPTIONS: --max-old-space-size=6144

# Remove default permissions of GITHUB_TOKEN for security
# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
permissions: {}

concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: ${{ github.event_name != 'push' }}

jobs:
run:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- run: corepack enable
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20
cache: "pnpm"

- name: Install dependencies
run: pnpm install

- name: Build (stub)
run: pnpm dev:prepare

- name: Build
run: pnpm build

- name: Run benchmarks
uses: CodSpeedHQ/action@1dbf41f0ae41cebfe61e084e535aebe533409b4d # v2.3.0
with:
run: pnpm vitest bench
token: ${{ secrets.CODSPEED_TOKEN }}

0 comments on commit 383378d

Please sign in to comment.