Commit Graph

2575 Commits

Author SHA1 Message Date
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
01076d144f
feat(schema): add type hints for runtime config (#18652) 2023-02-06 15:27:35 -08:00
Daniel Roe
85881b462b
feat(nuxi): warn when prerendering routes with ssr: false (#18783) 2023-02-06 15:25:53 -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
Mehdi HosseinZade
76a08e3ccd
feat(kit): add addRouteMiddleware method (#18553) 2023-02-06 15:24:56 -08:00
Daniel Roe
a6a2978978
fix(vite): exclude styles, not all assets (#18752) 2023-02-06 15:24:17 -08:00
renovate[bot]
66b0108b5d
chore(deps): update dependency esbuild to ^0.17.6 (main) (#18837)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-06 14:36:07 -08:00
Daniel Roe
d998c16bac
fix(webpack): client-side typechecking when ssr: false (#18828) 2023-02-06 10:35:47 -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
Lucas
198f9a23ec
docs(schema): add NuxtHooks interface documentation (#18756) 2023-02-05 04:17:15 -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
03d6737089
fix(vite, webpack): omit magic keys when import of same name is detected (#18733) 2023-02-03 03:55:58 -08:00
renovate[bot]
fcd63a0e18
chore(deps): update all non-major dependencies (main) (#18708)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-02 13:35:40 -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
Daniel Roe
727cf7958f chore: update 2.x branch name 2023-02-01 18:38:15 +00: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
pooya parsa
637b88304e
fix(kit): avoid adding already installed modules to internal _installedModules (#18647) 2023-01-31 17:44:19 +01:00
Daniel Roe
d1a79a95a6
perf(vite): use compiled regexp for test (#18646) 2023-01-31 08:38:18 -08:00
Daniel Roe
b864fa04a7
fix(vite): ensure __publicAssetsURL set before loading assets (#18642) 2023-01-31 06:04:55 -08:00
Daniel Roe
b7591e639d
perf(nuxt): simplify generated variable names (#18629) 2023-01-30 12:24:58 -08:00
Daniel Roe
c9d0b2f6be
fix(test-utils): prevent orphaned processes and use baseURL when loading (#18623) 2023-01-30 12:21:02 -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
Tobias Diez
d83dc797af
fix(kit): don't use default export of defu (#18589) 2023-01-30 03:50:24 -08:00
Daniel Roe
aa646f0655 test(nuxt): exclude new internal vue assertNumber helper 2023-01-29 14:06:53 +00:00
Daniel Roe
b8f6243621
fix(nuxt): provide fallback values for undefined runtime config (#18586) 2023-01-28 07:18:04 -08: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
23e5f980ea
fix(vite): ensure newly created pages do not return 404 (#18447)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2023-01-25 04:24:58 -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
022c95269e
fix(vite): enable css sourcemaps in dev based on sourcemap (#18446) 2023-01-23 11:08:48 +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
Mehdi HosseinZade
585e8be2e0
feat(kit): add extendRouteRules method (#9771) 2023-01-21 16:54:02 +00:00
James George
bcc784243e
fix(nuxi): prevent showing stack traces while scaffolding (#9962) 2023-01-21 13:31:48 +00:00
Alan Poulain
50e23bad35
fix(nuxt): use query for hashing the fetch key (#18411) 2023-01-20 18:05:10 +00:00
Alexander Lichter
fa2672485a
fix(kit): resolve group syntax of ignore (#15884) 2023-01-20 16:23:16 +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
19973c26f4 chore: update more repo links 2023-01-20 13:37:41 +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
Ikko Eltociear Ashimine
e908ebdb51
chore: fix typo in comment (#10148) 2023-01-19 13:20:53 +00:00
Sébastien Chopin
912eafbbf6
feat(nuxt): prefetch middleware/layouts + await layout loading (#10155) 2023-01-19 13:01:21 +00:00
Jose Morel
baf9d950db
feat(vite): support build.transpile as function (#7767)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-19 10:56:34 +00:00
Anthony Fu
1e8da22893
fix(vite): add additional before skipping vite transform (#10120) 2023-01-16 16:04:16 +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
076b5e96a5
fix(vite): defer to nitro to copy public dir (#10013) 2023-01-10 11:51:53 +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
Daniel Roe
a3a0f005fa
docs: remove nuxt 2 information from generate schema (#10002) 2023-01-09 09:52:56 +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
Julien Huang
3c7140582b
docs: update generate doc to include --dotenv (#9991) 2023-01-09 09:25:24 +00:00
James George
da38c62000
fix(nuxi): show an error if no value is supplied for the --template flag (#9946) 2023-01-04 19:15:30 +01: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]
fa55f67c40
chore(deps): update dependency get-port-please to v3 (#9927)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-04 12:05:40 +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
renovate[bot]
bf8f42557d
chore(deps): update dependency esbuild to ^0.16.13 (#9918)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-03 11:43:51 +01:00
renovate[bot]
bcfaa4d716
chore(deps): update all non-major dependencies (#9856)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-02 19:21:50 +01:00
Alejandro Romano
7f4f10a733
fix(nuxt): set is loading state for <NuxtLoadingIndicator> after throttle (#9832) 2023-01-02 19:20:53 +01:00
BetonZM
f3263ebb9d
docs: clarify plugins are auto-registered, remove components default (#9815)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-02 19:18:50 +01:00