Commit Graph

641 Commits

Author SHA1 Message Date
Julien Huang bf617c790c
fix(nuxt): treeshake client-only components with placeholders (#8789) 2023-02-04 07:36:03 -08:00
renovate[bot] 342e9aa1cc
chore(deps): update all non-major dependencies (main) (#18746)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-03 09:10:20 -08:00
Daniel Roe 225988ebd5
v3.1.2 (#18685) 2023-02-03 04:56:51 -08:00
Daniel Roe 2b75414f47
perf(nuxt): cache result of importing styles module (#18734) 2023-02-03 04:50:17 -08:00
Daniel Roe cb0860ba6c
fix(nuxt): make `onNuxtReady` safe to run on server-side (#18706) 2023-02-02 05:27:48 -08:00
renovate[bot] cce4df1cb9
chore(deps): update all non-major dependencies (main) (#18694)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-02 03:51:23 -08:00
renovate[bot] 434d36b532
chore(deps): update all non-major dependencies (main) (#18664)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-01 05:56:10 -08:00
Daniel Roe b7591e639d
perf(nuxt): simplify generated variable names (#18629) 2023-01-30 12:24:58 -08:00
Daniel Roe a0085b70a3
fix(nuxt): dedupe vue-router (#18626) 2023-01-30 10:22:15 -08:00
Daniel Roe 5037dd6876
fix: use named export from `defu` in all places (#18624) 2023-01-30 04:09:48 -08:00
Daniel Roe aa646f0655 test(nuxt): exclude new internal vue `assertNumber` helper 2023-01-29 14:06:53 +00:00
renovate[bot] ec977c5877
chore(deps): update all non-major dependencies (main) (#18537)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-25 22:39:42 -08:00
Daniel Roe deb0837c16
chore: bump version to v3.1.1 (#18524) 2023-01-25 14:04:45 -08:00
Daniel Roe 7d812db9e8
fix(nuxt): augment interfaces exported from `vue` (#18505) 2023-01-25 07:59:02 -08:00
Daniel Roe 1d68b51c2c
fix(nuxt): async transform for inline middleware (#18460) 2023-01-25 04:52:00 -08:00
renovate[bot] 527dfbb5cf
chore(deps): update all non-major dependencies (main) (#18510)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-25 04:44:25 -08:00
Daniel Roe fdb31f418f
fix(nuxt): don't render unknown components with placeholder (#18494) 2023-01-25 02:30:59 -08:00
Daniel Roe 9751c9dab7
fix(nuxt): do not override inferred type of `<NuxtPage>` (#18495) 2023-01-25 00:44:59 -08:00
Daniel Roe c552d1b420
v3.1.0 (#18406) 2023-01-24 16:47:20 +00:00
Daniel Roe 1d9eef401a
chore: upgrade nitropack to v2 (#18483) 2023-01-24 16:43:51 +00:00
Daniel Roe f711046171
perf(nuxt): add tree-shaken `useServerSeoMeta` composable (#18476) 2023-01-24 15:34:20 +00:00
Anthony Fu bb41265442
fix: upgrade unimport (#18475) 2023-01-24 11:11:36 +00:00
Anthony Fu e0c89e5c0e fix: upgrade unimport, close #15594 2023-01-24 11:30:10 +01:00
Daniel Roe 629d2c099e fix(nuxt): import `onServerPrefetch` 2023-01-23 23:40:09 +00:00
pooya parsa 1af319e0fa
feat: experimental config schema (#18410) 2023-01-23 19:07:21 +01:00
Daniel Roe 3c715ac729
chore: include central readme/licence when publishing individual packages (#18421) 2023-01-23 16:53:59 +00:00
Harlan Wilton 1406d21ed2
feat(head): `useSeoMeta` composable (#18441) 2023-01-23 11:39:17 +00:00
Daniel Roe de4086f6ed
fix(nuxt): let router handle internal redirects within middleware (#18445) 2023-01-23 11:18:33 +00:00
Daniel Roe c5d6db7fd0
fix(nuxt): await async `callWithNuxt` calls (#18443) 2023-01-23 11:13:21 +00:00
Daniel Roe 0236a799f2
fix(vite): don't skip loading styles in hydration phase (#18433) 2023-01-21 23:15:48 +00:00
Kareem Dabbeet ea9812a559
feat(nuxt): allow disabling color for `<NuxtLoadingIndicator>` (#18432) 2023-01-21 23:15:32 +00:00
Inesh Bose 98d292ae85
fix(nuxt): provide types for modules as array (#18416)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-21 16:55:44 +00:00
Alan Poulain 50e23bad35
fix(nuxt): use query for hashing the fetch key (#18411) 2023-01-20 18:05:10 +00:00
renovate[bot] 7c1712013c
chore(deps): update all non-major dependencies (main) (#11127)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2023-01-20 16:17:31 +00:00
Daniel Roe 5e1881c20a
feat(nuxt): support server components with extracted payloads (#10113) 2023-01-20 12:10:58 +00:00
Daniel Roe 081dc3254f chore: update internal repo/issue links to use`nuxt/nuxt` 2023-01-19 19:37:07 +00:00
Sébastien Chopin 912eafbbf6
feat(nuxt): prefetch middleware/layouts + await layout loading (#10155) 2023-01-19 13:01:21 +00:00
Daniel Roe 0db3c6373a
fix(nuxt): name anonymous components in render tree (#10011) 2023-01-14 01:27:38 +00:00
Daniel Roe 488479ab1b
fix(nuxt): avoid injecting url helpers into `globalThis` (#9627) 2023-01-14 01:27:06 +00:00
Kyohei Oka 86ed4ef1f4
fix(nuxt): update `class` prop type for head components (#9133) 2023-01-14 01:18:55 +00:00
Daniel Roe bf649fe576
fix(nuxt): allow overriding lower layer composables (#10017) 2023-01-14 01:14:24 +00:00
renovate[bot] 0b1cdcc70d
chore(deps): update devdependency @nuxtjs/eslint-config-typescript to v12 (#9086)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-14 01:13:48 +00:00
renovate[bot] f314e9d541
chore(deps): update all non-major dependencies (#10095)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-14 01:04:38 +00:00
Mohammad Saleh Fadaei 5b19a0dc34
fix(nuxt): don't try to override computed layouts in `definePageMeta` (#9161) 2023-01-14 00:58:54 +00:00
Julien Huang f4ba7ec82d
fix(nuxt): don't short circuit middleware after validate function (#9180) 2023-01-14 00:23:20 +00:00
renovate[bot] ba940719fe
chore(deps): update devdependency @types/fs-extra to v11 (#9999)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-14 00:17:31 +00:00
renovate[bot] 50587ef2fc
chore(deps): update all non-major dependencies (#10052)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-13 23:44:58 +00:00
Sébastien Chopin 71a5727589
fix(nuxt): support deep assign on empty object for app config (#10087) 2023-01-13 23:28:07 +00:00
Daniel Roe ef39d2c9d9
fix(nuxt): add `build.transpile` strings to nitro inline list (#10094) 2023-01-13 23:19:03 +00:00
Daniel Roe a68da6d6a7
chore: case police update (#10085) 2023-01-13 15:00:57 +00:00
Daniel Roe 698a3103e0
fix(nuxt): include components `runtime` dir in build output (#10046) 2023-01-11 20:51:49 +00:00
renovate[bot] 72bfcdfd69
chore(deps): update all non-major dependencies (#10029)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-11 16:15:56 +00:00
Alex Liu 9de94c21cf
refactor: improve internal type definitions of `<NuxtLink>` (#9869) 2023-01-10 14:33:21 +00:00
renovate[bot] 6c32a6087b
chore(deps): update all non-major dependencies (#10012)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-10 12:28:01 +00:00
Anthony Fu 586df1a817
feat(imports): `imports:context` hook for unimport context (#9971) 2023-01-09 11:35:44 +00:00
Daniel Roe 2d013c5fad
feat(nuxt): server-only components (#9972) 2023-01-09 11:20:33 +00:00
renovate[bot] 896c875524
chore(deps): update all non-major dependencies (#9945)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 09:51:57 +00:00
renovate[bot] 4f6b487ab1
chore(deps): update all non-major dependencies (#9929)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-04 12:05:53 +01:00
renovate[bot] be132df587
chore(deps): update all non-major dependencies (#9926)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-03 16:48:11 +01:00
Alejandro Romano 7f4f10a733
fix(nuxt): set is loading state for `<NuxtLoadingIndicator>` after throttle (#9832) 2023-01-02 19:20:53 +01:00
Yann Odeyer da6fa9ab44
perf(nuxt): use static import of `@unhead/ssr` (#9826) 2022-12-23 14:18:14 +01:00
renovate[bot] 65860d327d
chore(deps): update all non-major dependencies (#9816)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-23 14:12:10 +01:00
renovate[bot] c5494580a2
chore(deps): update all non-major dependencies (#9802)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 19:13:50 +01:00
renovate[bot] d2e51ae859
chore(deps): update all non-major dependencies (#9787)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-20 16:47:25 +01:00
renovate[bot] cd07957c61
chore(deps): update all non-major dependencies (#9737)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-19 12:57:23 +01:00
Anthony Fu faf260757c
feat(vite): display production build stats (#9761) 2022-12-19 12:57:08 +01:00
Mehdi HosseinZade 04c8625843
feat(nuxt): deep watch `useCookie` ref value by default (#9664)
* feat(nuxt): useCookie add deep watch option

* docs(api): useCookie add deepWatch option

* feat(nuxt): useCookie change deepWatch to watch option

* boolean|shallow

* enable watch by default

* docs: fix example

* docs(api): update useCookie example

Co-authored-by: Pooya Parsa <pooya@pi0.io>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-12-19 12:50:46 +01:00
Sébastien Chopin c0be933b02
docs: link to nuxt.com instead of v3.nuxtjs.org (#9786) 2022-12-19 11:50:01 +00:00
renovate[bot] 3139ea7d39
chore(deps): update all non-major dependencies (#9685)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-15 14:43:52 +01:00
Daniel Roe 0cb9a4c51d
refactor(nuxt): do not add all composable auto-imports to `globalThis` (#9630) 2022-12-13 10:30:12 +00:00
Daniel Roe 4cf110e0d8
fix(nuxt): make dev-only regexp less greedy (#9679) 2022-12-13 09:39:14 +00:00
renovate[bot] 9cd3c16675
chore(deps): update all non-major dependencies (#9677)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-12 20:24:24 +00:00
renovate[bot] 3733f123df
chore(deps): update all non-major dependencies (#9670)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-12-12 16:45:15 +00:00
Daniel Roe 5afcaca98f
feat(vite): upgrade to vite 4 (#9238) 2022-12-12 15:22:04 +00:00
Daniel Roe 23307cd8e0
fix(nuxt): remove absolute paths from routes objects (#9655) 2022-12-12 13:25:00 +01:00
Harlan Wilton 4cb7e425a1
refactor(nuxt): remove `vue-meta` for head support (#9638) 2022-12-12 11:07:31 +01:00
renovate[bot] 1a6186f3a8
chore(deps): update all non-major dependencies (#9660)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-12 11:02:55 +01:00
renovate[bot] 1a37cd957c
chore(deps): update dependency ultrahtml to ^1.1.0 (#9658)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-12 06:55:41 +00:00
Daniil Chudo ab2456c295
refactor: split out type imports from value imports (#9225) 2022-12-11 21:44:52 +00:00
Evgeny Yurkin 4641e8e504
fix(nuxt): await plugin asyncdata promises in nuxt hook (#9616) 2022-12-10 22:44:29 +00:00
Daniel Roe 2396fc657f
fix(nuxt): remove deprecated `req`/`res` access (#9636) 2022-12-10 19:54:35 +00:00
renovate[bot] 5ce5c69b91
chore(deps): update dependency fs-extra to v11 (#9390)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-08 16:46:10 +01:00
renovate[bot] 7f5f952911
chore(deps): update all non-major dependencies (#9549)
* update tests for islands head regression

Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-12-08 16:16:22 +01:00
Alexander Lichter d0c0cd7ad2
refactor(nuxt): use `pathe.join` for layer lookup (#9540) 2022-12-06 12:30:14 +01:00
Alexander Lichter 5f935aad48
feat(nuxt): support for extending error.vue in layers (#9521) 2022-12-06 09:44:03 +00:00
renovate[bot] 24cf27e57b
chore(deps): update dependency destr to ^1.2.2 (#9516)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-05 14:42:45 +01:00
Mahdi Boomeri 9c478ee16e
feat: `useNuxtData` composable (#9262)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-12-05 14:07:33 +01:00
Daniel Roe 5fe7c1c24d
fix(nuxt): speculation rules should be reactive (#9472) 2022-12-05 11:46:13 +01:00
renovate[bot] 1059b8c9a8
chore(deps): update all non-major dependencies (#9488)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-05 11:45:32 +01:00
Daniel Roe 4c4249dc33
feat(nuxt): add `onNuxtReady` composable (#9478) 2022-12-05 11:09:58 +01:00
Daniel Roe 52421a9354
fix(nuxt): defer render-blocking prefetches until after load (#9475) 2022-12-02 16:13:35 +00:00
Daniel Roe c26979a047
fix(nuxt): `useCookie` with defaults should return non-null value (#9449) 2022-12-02 10:45:33 +01:00
renovate[bot] 0b6f37f756
chore(deps): update all non-major dependencies (#9397)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-02 10:40:47 +01:00
Daniel Roe aa9aec112a
fix(nuxt): allow layouts to receive custom props (#9395) 2022-11-29 13:16:41 +01:00
renovate[bot] 1865bddc7b
chore(deps): update all non-major dependencies (#9379)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-29 13:15:12 +01:00
renovate[bot] 538ba11804
chore(deps): update all non-major dependencies (#9312)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-28 11:58:58 +01:00
Daniel Roe ab125bd1c5
feat(nuxt): experimental server component islands (#5689)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-11-24 13:24:14 +01:00
renovate[bot] 2d7e2ca9ca
chore(deps): update all non-major dependencies (#9242)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-22 10:56:35 +01:00
Damian Głowala 4f2bfbe5c0
fix(nuxt): include missing `<NuxtPage>` component props (#9204)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-11-21 14:03:22 +01:00
renovate[bot] fdb61f4f9b
chore(deps): update all non-major dependencies (#9135)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-21 11:53:58 +01:00