Commit Graph

4175 Commits

Author SHA1 Message Date
Daniel Roe 1af81ed0fb
fix(schema): use v3 folder structure if `app.vue` exists in `rootDir` 2024-05-03 12:34:12 +01:00
Danila Rodichkin ea21feaaf4
fix(nuxt): don't overwrite existing scope in `runWithContext` (#26976) 2024-05-03 11:27:38 +01:00
Alex Liu 7ea05acbc9
feat(nuxt): treeshake `onUpdated` and `onUnmounted` on server (#27044) 2024-05-03 10:13:54 +01:00
Daniel Roe 2c39b3ce61
feat(nuxt,schema): support new Nuxt folder structure (#27029) 2024-05-02 14:24:31 +01:00
Daniel Roe 061fbd4bd6
chore: upgrade dev dependencies 2024-05-02 11:50:58 +01:00
Daniel Roe 572c367455
chore(ui-templates): misc improvements (#27033) 2024-05-02 09:51:39 +01:00
Daniel Roe eec84f5b24
build(schema): use relative path to ui-templates dist 2024-05-01 22:46:53 +01:00
Daniel Roe 99dc3ce888
build(nuxt): use relative path to ui-templates dist 2024-05-01 22:43:10 +01:00
Daniel Roe 0d4a622f3a
fix(nuxt,schema): remove `.js` extension from template imports 2024-05-01 21:59:45 +01:00
Daniel Roe 3d2f93d5ac
chore(ui-templates): remove legacy artifacts 2024-05-01 21:42:12 +01:00
Daniel Roe e7789a2571
docs: add docs for `future.compatibilityVersion` 2024-05-01 21:29:34 +01:00
Daniel Roe f597ca59af
feat(schema): enable `cookieStore` by default
https://github.com/nuxt/nuxt/pull/25198
2024-05-01 21:00:36 +01:00
Daniel Roe cd59dc1b8f
fix(nuxt): register redirect middleware before pushing route (#27016) 2024-05-01 18:04:19 +01:00
Harlan Wilton 8b67a19af6
feat(nuxt): configurable `app.rootAttrs` and `teleportAttrs` (#27014) 2024-05-01 16:27:30 +01:00
renovate[bot] c538a35711
chore(deps): update all non-major dependencies (main) (#27017)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-01 15:36:10 +01:00
renovate[bot] 05dfe29dd6
chore(deps): pin devdependency @nuxt/ui-templates to 1.3.3 (main) (#27018)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-01 14:12:47 +01:00
Daniel Roe 256ef1faf6
feat(nuxt,schema): inline error, welcome, spa-loading templates (#27021) 2024-05-01 14:10:33 +01:00
Daniel Roe fe6bdcc017
chore: add `@nuxt/ui-templates` to core monorepo 2024-05-01 11:05:03 +01:00
renovate[bot] 6bdd28a1db
chore(deps): update all non-major dependencies (main) (#27011) 2024-05-01 06:44:49 +01:00
Daniel Roe 933c0aa71f
fix(nuxt): compile plugin templates last (#27009) 2024-05-01 06:43:35 +01:00
Daniel Roe 505e706dcb
feat(schema): v4 opt-in with `future.compatibilityVersion` (#26925) 2024-04-30 20:34:32 +01:00
renovate[bot] 6839f3ee57
chore(deps): update all non-major dependencies (main) (#26997)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-30 09:18:13 +01:00
renovate[bot] 46f5fcf47f
chore(deps): update all non-major dependencies (main) (#26970)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-04-29 22:03:31 +01:00
Julien Huang 4544eaf228
fix(nuxt): `useState` in `NuxtClientFallback` setup function (#26928) 2024-04-27 21:01:09 +01:00
renovate[bot] e382045f95
chore(deps): update dependency cssnano to ^7.0.1 (main) (#26966)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-26 16:28:18 +01:00
Alexandr 62030cad96
fix(nuxt): handle arrays correctly in `updateAppConfig` (#26949) 2024-04-26 15:44:51 +01:00
renovate[bot] 7c8f78d27e
chore(deps): update dependency cssnano to v7 (main) (#26929)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-25 10:31:21 +01:00
renovate[bot] d22ba08f3b
chore(deps): update all non-major dependencies (main) (#26923) 2024-04-24 18:03:33 +01:00
renovate[bot] f524d30f5c
chore(deps): update all non-major dependencies (main) (#26913)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-04-24 13:17:59 +01:00
Daniel Roe af2e2da27c
fix(vite): inline styles for vue components with `lang="ts"` (#26912) 2024-04-24 11:43:06 +01:00
Pooya Parsa fdbfed1280
chore: fix small typos (#26907) 2024-04-23 13:53:11 +01:00
rgehbt 9f9e3e6917
fix(nuxt): don't scan component dirs when `enabled` is `false` (#26906) 2024-04-23 13:19:12 +01:00
Nicolas Payot 1a91b120ee
fix(nuxt): check if `_scope` is active before calling `run` function (#26756) (#26904) 2024-04-23 10:34:41 +01:00
Julien Huang 62296818aa
fix(nuxt): don't encode location header (#26893) 2024-04-22 22:11:46 +01:00
Julien Huang 64d09fa31d
fix(nuxt): assign `v-for` to slot in islands (#26880) 2024-04-22 21:07:14 +01:00
renovate[bot] 084fc06d28
chore(deps): update all non-major dependencies (main) (#26891)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 21:06:33 +01:00
renovate[bot] d0601126f3
chore(deps): update all non-major dependencies (main) (#26870) 2024-04-22 20:09:05 +01:00
renovate[bot] 67a585faa4
chore(deps): update dependency devalue to v5 (main) (#26865)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-04-20 08:14:10 +03:00
Julien Huang f0902f9301
perf(nuxt): remove state from nuxt island response (#26863) 2024-04-20 04:56:56 +03:00
renovate[bot] 3a1137e2b8
chore(deps): update dependency @nuxt/devtools to ^1.2.0 (main) (#26855)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-04-19 18:08:42 +03:00
Luke Nelson 306174c4d8
docs: add `@since` annotations to exported functions (#25365) 2024-04-19 17:58:19 +03:00
Joaquín Sánchez 4dbe748cfc
feat(nuxt): expose `useLink` from `NuxtLink` (#26522) 2024-04-19 12:48:49 +03:00
Inesh Bose 3e610df4dd
feat(kit): handle virtual files in `resolvePath` and `findPath` (#26465) 2024-04-19 12:43:28 +03:00
renovate[bot] d5e2080cd1
chore(deps): update all non-major dependencies (main) (#26847)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-04-19 12:13:46 +03:00
Inesh Bose 00a47be49a
fix(nuxt): re-initialise `nuxt._ignore` after all modules run (#26680) 2024-04-19 11:48:19 +03:00
Louis Ramos c8f63684af
fix(kit): set typescript `moduleDetection` to 'force' (#26667) 2024-04-19 11:38:49 +03:00
Ryota Watanabe be73cc9cf9
docs: deprecate `pending` value in data fetching composables (#26766) 2024-04-19 11:15:02 +03:00
renovate[bot] 79b059aaf5
chore(deps): update all non-major dependencies (main) (#26839) 2024-04-18 21:39:41 +03:00
renovate[bot] 8bd5ce767b
chore(deps): update all non-major dependencies (main) (#26823)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-18 06:20:42 +03:00
Ivan Kalachikov 4fea6da1ae
feat(nuxt): add `<NuxtRouteAnnouncer>` and `useRouteAnnouncer` (#25741) 2024-04-17 16:58:13 +01:00
Daniel Roe 75e43ac427
fix(nuxt): avoid double-slash in ignore pattern 2024-04-17 14:23:20 +01:00
Daniel Roe e105fadd7e
fix(kit): ignore negation when resolving ignore patterns 2024-04-17 14:23:20 +01:00
Danila Rodichkin 468ebbdf0b
perf(nuxt): unsubscribe from `asyncData` watch when unmounted (#26821) 2024-04-17 13:57:45 +01:00
renovate[bot] 6d7a558c69
chore(deps): update all non-major dependencies (main) (#26768)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-04-17 10:48:51 +01:00
kawadah bde696a0db
docs: fix `srcDir` description mentioning deprecated `static/` directory (#26804) 2024-04-16 19:58:54 +01:00
Julien Huang f725703bb2
docs: reference correct composable in `callWithNuxt` (#26771) 2024-04-15 16:19:57 +02:00
Ryan Clements b7ba3a4a80
fix(nuxt): hint prerenderer to crawl routes at runtime (#26694) 2024-04-13 00:21:02 +02:00
renovate[bot] 95c399f9a3
chore(deps): update all non-major dependencies (main) (#26720)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-04-13 00:11:24 +02:00
Damian Głowala dec7191ac5
fix(nuxt): correctly remove extension from path in `hasSuffix` (#26725) 2024-04-11 08:23:14 +02:00
Julien Huang 30e27f48d1
fix(nuxt): encode location header in navigateTo (#26712) 2024-04-10 09:03:25 +02:00
renovate[bot] a7425d30a7
chore(deps): update all non-major dependencies (main) (#26710) 2024-04-10 09:03:09 +02:00
Anthony Fu 36c0137b7e
feat(nuxt): introduce `imports.scan` option (#26576) 2024-04-09 15:03:42 +02:00
Damian Głowala 0a1b72f9fd
feat(nuxt): support passing options to `useRequestURL` (#26687) 2024-04-09 15:03:29 +02:00
renovate[bot] 5d071a70d3
chore(deps): update all non-major dependencies (main) (#26692) 2024-04-08 20:34:15 +01:00
Han 98a02744bd
fix(nuxt): prevent `getCachedData` from shaping type of `useAsyncData` (#25946) 2024-04-08 18:38:40 +01:00
renovate[bot] b6cd522402
chore(deps): update all non-major dependencies (main) (#26682) 2024-04-07 23:05:57 +01:00
Julien Huang bfb7eeac07
perf(nuxt): don't add client fallback plugin if not enabled (#26666) 2024-04-06 16:15:47 +01:00
renovate[bot] 7dcd9e2a2d
chore(deps): update all non-major dependencies (main) (#26645)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-04-06 16:12:41 +01:00
renovate[bot] 6a10e9bc5e
chore(deps): update dependency css-loader to v7 (main) (#26646) 2024-04-05 19:09:41 +01:00
Anthony Fu f209158352
chore: cleanup eslint rules with latest `@nuxt/eslint-config` (#26653) 2024-04-05 19:08:32 +01:00
Anthony Fu ee608cea2c
chore: update `moduleResolution` to `Bundler` (#26658) 2024-04-05 16:36:52 +01:00
renovate[bot] 5a375ce82e chore(deps): update all non-major dependencies (#236)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-05 13:54:49 +01:00
Daniel Roe a16107b93b chore: release
- @nuxt/ui-templates@1.3.3
2024-04-05 13:43:20 +01:00
Daniel Roe 1086bf0018 fix(templates): include `.d.mts` declarations 2024-04-05 13:43:04 +01:00
github-actions[bot] 3c90aaf8e2
v3.11.2 2024-04-04 17:04:48 +01:00
renovate[bot] bb65d91ae7
chore(deps): update dependency magic-string to ^0.30.9 (main) (#26641)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-04 17:02:35 +01:00
Alex Liu af3594c788
fix(nuxt): handle missing Nuxt context in `useRoute` (#26633) 2024-04-03 21:49:09 +01:00
Luke Nelson a3a28a913e
chore: migrate to ESLint flat config (#26583) 2024-04-03 21:46:58 +01:00
renovate[bot] 2abc1a5815
chore(deps): update dependency css-loader to ^6.11.0 (main) (#26631) 2024-04-03 20:56:42 +01:00
renovate[bot] 0d63921be1
chore(deps): update dependency vite to v5.2.8 (main) (#26627)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-03 17:51:08 +01:00
Damian Głowala 8ae37e7e5c
docs: correct grammar in `typescript.shim` JSDoc (#26626) 2024-04-03 15:46:46 +01:00
Julien Huang 2dc4505c8a
fix(nuxt): normalise rollup opts in island transform w/o nuxt (#26589) 2024-04-03 11:36:15 +01:00
renovate[bot] 59b58b8485
chore(deps): update all non-major dependencies (main) (#26613)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-04-03 11:34:56 +01:00
Daniel Roe be49918139
perf(nuxt): reduce router resolutions (#26519) 2024-04-03 10:56:27 +01:00
renovate[bot] d38d7e59b2
chore(deps): pin devdependency @vue/compiler-sfc to 3.4.21 (main) (#26621)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-03 10:33:06 +01:00
Antoine Rey 5f603610a5
fix(schema): document use case for `typescript.shim` (#26607) 2024-04-03 10:16:32 +01:00
Daniel Roe 9bb8976470
fix(schema): update webpack `transformAssetUrls` + pass `hoistStatic` to vite plugin (#26563) 2024-04-03 10:16:15 +01:00
Daniel Roe 1019ed9fba
fix(nuxt): handle auto-importing named components (#26556) 2024-04-03 10:15:36 +01:00
Daniel Roe cbb4a1cb61
perf(nuxt): unsubscribe from watch when scope is disposed (#26554) 2024-04-03 10:15:21 +01:00
Daniel Roe 2f8915127d
fix(nuxt): suppress warning about resolve cache-driver (#26595) 2024-04-03 09:51:05 +01:00
Daniel Roe 6129711802 chore: release
- @nuxt/ui-assets@0.2.1
 - @nuxt/ui-templates@1.3.2
2024-04-02 15:38:28 +01:00
renovate[bot] a1c486b365 chore(deps): update devdependency knitwork to ^1.1.0 (#235)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-02 15:33:23 +01:00
Daniel Roe e8cc8f5ed6 fix(ui-templates): give alternative of creating `app.vue` (#233) 2024-04-02 15:33:12 +01:00
renovate[bot] fe9667939a
chore(deps): update all non-major dependencies (main) (#26584)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-04-02 12:45:12 +01:00
renovate[bot] 4bc22a838e
chore(deps): update dependency knitwork to ^1.1.0 (main) (#26577) 2024-03-30 20:48:13 +00:00
Alex Liu 8eef1e3c57
refactor(nuxt): simplify `runtimeConfig` initialization of client side (#26558) 2024-03-30 07:48:43 +00:00
Julien Huang 6dcad76a06
perf(nuxt): reduce nuxt island payload (#26569) 2024-03-30 07:41:46 +00:00
renovate[bot] 41ab12414f
chore(deps): update dependency cookie-es to ^1.1.0 (main) (#26568) 2024-03-30 07:41:18 +00:00
renovate[bot] 7024d5c796
chore(deps): update dependency webpack-dev-middleware to v7.2.0 (main) (#26559)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-29 17:31:00 +00:00
renovate[bot] 95759de0d3 chore(deps): update all non-major dependencies (#234)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-29 14:36:35 +00:00