Commit Graph

666 Commits

Author SHA1 Message Date
Daniel Roe
e3e7688732 build(nuxt): add nuxt/schema to externals 2023-02-13 23:08:20 +00:00
Daniel Roe
4219ff21e9
fix(nuxt): prevent hyphens forming child routes & warn if dupes are detected (#18944) 2023-02-13 22:56:39 +00:00
Xin Du (Clark)
859fbd0add
fix(nitro): ensure ssr error statusCode is a number (#19001) 2023-02-13 22:55:29 +00:00
Daniel Roe
6016aef859
fix(nuxt): expose nuxt/schema subpath for augmentation (#18922) 2023-02-13 22:42:04 +00:00
Lioness100
b25b6c82c7
docs: fix typos (#18976) 2023-02-12 19:16:42 +00:00
pooya parsa
7111b6cf44
fix(nuxt): avoid recursive import in nitro renderer (#18948)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-10 16:33:06 +00:00
renovate[bot]
2d342c3a19
chore(deps): update all non-major dependencies (main) (#18929)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-10 14:23:27 +00:00
Daniel Roe
ee2f568fc1 refactor(nuxt): combine imports from same relative path 2023-02-10 10:32:02 +01:00
Daniel Roe
5855c1ed53
v3.2.0 (#18843) 2023-02-09 02:55:03 -08:00
Daniel Roe
71d67ad47f chore: combine import statements 2023-02-09 09:13:48 +01:00
renovate[bot]
a89e2fa391
chore(deps): update all non-major dependencies (main) (#18890)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-09 00:13:25 -08:00
Daniel Roe
9a035a15c5
refactor(nuxt): within nuxt app, import directly from source file (#18902) 2023-02-08 22:26:41 -08:00
pooya parsa
9845467421
feat(nuxt): upgrade to nitropack 2.2 (#18889) 2023-02-09 07:02:07 +01:00
Chen
2e6224602c
fix: reorder the types field in package.json (#18880) 2023-02-08 06:04:37 -08:00
Julien Huang
113ce71c34
fix(nuxt): use parser to treeshake <ClientOnly> (#8713) 2023-02-08 00:59:57 -08:00
Yasser Lahbibi
e451a9965e
fix(nuxt): don't exclude pnpm layers from nitro esbuild/imports (#9952) 2023-02-07 09:18:47 -08:00
Dany Sluijk
bae73c3650
feat(nuxt): infer useFetch return based on the method (#18526) 2023-02-07 06:01:31 -08:00
Alex Liu
526a78095a
fix(nuxt): defer adding route path to preloaded record (#18862) 2023-02-07 06:01:03 -08:00
Anthony Fu
2677b88f5f
feat(nuxt): support type auto-import (#18859) 2023-02-07 06:00:11 -08:00
Ayaka Rizumu
34b58d143c
chore: update @vueuse/head 1.0.25 (#18850) 2023-02-07 02:38:37 -08:00
renovate[bot]
1dc0c0c1fc
chore(deps): update all non-major dependencies (main) (#18841)
* chore(deps): update all non-major dependencies

* test: add `uncrypto` to snapshot

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-07 02:00:24 -08:00
Daniel Roe
39747ce095
perf(vite): use stub entry in vite server build when ssr: false (#18782) 2023-02-06 15:25:24 -08:00
renovate[bot]
6ce5443a7a
chore(deps): update all non-major dependencies to ^1.0.21 (main) (#18824)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-06 07:58:52 -08:00
Evan You
73a966985e
Update auto-imports.test.ts (#18800) 2023-02-06 00:37:46 -08:00
renovate[bot]
39b5886a0d
chore(deps): update all non-major dependencies (main) (#18775)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-05 04:31:53 -08:00
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 usenuxt/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