Commit Graph

3219 Commits

Author SHA1 Message Date
Julien Huang
41d34ca67d
feat(nuxt): allow accessing NuxtLayout ref via layoutRef (#19465) 2023-06-10 23:17:14 +01:00
Julien Huang
319935fc95
feat(nuxt): allow accessing NuxtPage ref via pageRef (#19403) 2023-06-10 23:13:33 +01:00
Daniel Roe
c6a62268c3
fix(vite): invalidate templates by dst not src (#21501) 2023-06-10 18:14:58 +01:00
renovate[bot]
8aa611a32e
chore(deps): update all non-major dependencies (main) (#21507)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-06-10 18:10:10 +01:00
Edward Hibbert
13aae836e8 perf(nuxt): import error component synchronously (#21406) 2023-06-10 10:11:26 +01:00
Daniel Roe
acdc28a99e
fix(nuxi,nuxt): remove baseUrl + use relative paths in tsconfig (#21081) 2023-06-09 23:19:42 +01:00
Nicolas Payot
c884a95f0f
feat(nuxt): return status from useAsyncData (#21045) 2023-06-09 22:38:14 +01:00
Žan Fras
0505c9147d
docs: remove example of deprecated reactivity transform (#21396) 2023-06-09 22:24:39 +01:00
Hebilicious
ee6869b1ba
feat(kit): addTypeTemplate helper with auto-registration (#21331) 2023-06-09 22:24:03 +01:00
Jongmin Yoon
31a1b98f3f
feat(nuxt): provide clearNuxtState composable (#21409) 2023-06-09 22:22:21 +01:00
renovate[bot]
fa08ed62df
chore(deps): update all non-major dependencies (main) (#21479)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-09 10:43:32 +01:00
Anthony Fu
02ba4b30ac
fix(nuxt): fix typo on nitro.autoImport option (#21485) 2023-06-09 10:15:33 +01:00
Lehoczky Zoltán
7ff0c2d97a
fix(schema): add more explicit types for config schema (#21475) 2023-06-08 22:50:29 +01:00
Julien Huang
ed5732196d
fix(nuxt): prefix server component ids to avoid collisions (#21472) 2023-06-08 21:55:21 +01:00
renovate[bot]
c4c98d950f
chore(deps): update all non-major dependencies (main) (#21441)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-07 21:08:44 +01:00
Wilson Pinto
857511f448
feat(webpack, schema): add webpack experiments configuration (#21446) 2023-06-07 20:49:46 +01:00
Wilson Pinto
5a25fca475
fix(nuxt): add missing vue types (#21445) 2023-06-07 20:49:19 +01:00
Wilson Pinto
c4e5ac83bf
feat(nuxt): add open option in navigateTo helper (#21333) 2023-06-07 20:27:00 +01:00
pooya parsa
05f3decfa9
fix(nuxt): avoid early returning renderer with empty response (#21439) 2023-06-07 14:11:59 +01:00
renovate[bot]
f5e65171a2
chore(deps): pin devdependency esbuild-loader to 3.0.1 (main) (#21440)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-07 14:07:25 +01:00
Daniel Roe
525a06af38
feat(webpack): allow configuring esbuild-loader options (#21436) 2023-06-07 13:50:12 +01:00
renovate[bot]
f0ade90645
chore(deps): update all non-major dependencies (main) (#21410)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-07 13:30:41 +01:00
Daniel Roe
7710ed30fa
fix(nuxt): skip vue render when redirecting (#21412) 2023-06-07 13:18:50 +01:00
Daniel Roe
6d62b65f97
fix(schema): remove obsolete terser option from webpack config (#21407) 2023-06-07 12:46:08 +01:00
renovate[bot]
5872015be3
fix(vite): remove resolveId workaround and update vite-node (#21423)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-07 12:42:59 +01:00
Anthony Fu
6d59a027c7
perf(nuxt): mark define functions as side-effect free at source (#21434) 2023-06-07 11:11:24 +01:00
John Jenkins
6bb0a849fe
feat(nuxt): add renderResult to app:rendered (#18610) 2023-06-07 10:25:05 +01:00
Asher White
0bc38b7e19
fix(nuxt): replace BigInt literal with BigInt constructor (#21427) 2023-06-07 09:57:44 +01:00
Harlan Wilton
c0b3d26b00
feat(kit): module compatibility utils (#21246) 2023-06-06 23:36:35 +01:00
Alexander B
a31899af65
feat(nuxt): sync useCookie state between tabs (#20970) 2023-06-06 23:21:51 +01:00
Daniel Roe
370b84e909
fix(nuxt): handle page rendering on different path (#21408) 2023-06-06 22:47:32 +01:00
github-actions[bot]
199595f3af
v3.5.3 2023-06-06 01:24:34 +01:00
renovate[bot]
a1dbeaf9e8
chore(deps): pin dependencies (main) (#21388)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-06 01:19:11 +01:00
Daniel Roe
d58d1ea1ee chore: support vitest 0.30.0 peer dependency 2023-06-05 22:57:15 +01:00
Wilson Pinto
0f4ae15cee
fix(kit): temporarily inline lodash.template from lodash-es (#20892) 2023-06-05 22:52:43 +01:00
anhao
67f2232014
fix(vite): skip generating keys for locally scoped functions (#20955) 2023-06-05 20:15:12 +01:00
Daniel Roe
ec72066f91
fix(nuxt): key distinct pages differently for legacy asyncData (#21263) 2023-06-05 19:36:26 +01:00
Daniel Roe
05b577e550
fix(nuxt): support usage of std-env in runtime code (#21372) 2023-06-05 19:23:38 +01:00
renovate[bot]
febf4b807d
chore(deps): update all non-major dependencies (main) (#21377)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-05 16:37:25 +01:00
Alexander
6163c5e32a
fix(nuxt): display errors in client overlay with typeCheck (#21064) 2023-06-05 15:58:18 +01:00
renovate[bot]
7998dac541
chore(deps): update all non-major dependencies (main) (#21321)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-05 00:24:39 +01:00
Wilson Pinto
1e6d640bf7
fix(schema): add types for vue experimental features (#21364) 2023-06-05 00:06:01 +01:00
renovate[bot]
5d9973da49
chore(deps): pin devdependency vue-loader to 17.2.2 (main) (#21365)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-04 23:55:21 +01:00
Lehoczky Zoltán
fd6a9b2ead
fix(schema): update vue-loader options type (#21363) 2023-06-04 23:07:53 +01:00
renovate[bot]
1209b930ad
chore(deps): update all non-major dependencies (main) (#21295)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-02 14:31:12 +01:00
Daniel Roe
5614ef9b8f
chore: avoid inlining deps in vitest (#21316) 2023-06-02 12:12:33 +01:00
Anthony Fu
7512a52488
fix(nuxi): always use the latest devtools wizard (#21291) 2023-05-31 17:14:28 +01:00
renovate[bot]
f824116fa0
chore(deps): pin dependencies (main) (#21289)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-31 17:10:16 +01:00
Daniel Roe
f84df08dbc
fix(nuxi): pass --no-clear config through to vite (#21262) 2023-05-31 15:28:09 +01:00
Daniel Roe
a302fe8062
perf(nuxt): avoid watching nested paths (#21256) 2023-05-31 14:11:46 +01:00
Daniel Roe
c9adf700a4
fix(nuxt): handle serialising empty bigint (#21257)
Co-authored-by: lorado <eugen.sacharow@gmx.de>
2023-05-30 13:53:04 +02:00
Daniel Roe
6f8d036d4f test: add additional component case 2023-05-30 11:21:27 +02:00
github-actions[bot]
d85348987f
v3.5.2 2023-05-29 13:48:59 +02:00
renovate[bot]
bb76ba9beb
chore(deps): update devdependency vue-router to ^4.2.2 (main) (#21235)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-29 13:48:09 +02:00
renovate[bot]
a6cac7b746
chore(deps): update dependency vue-loader to ^17.1.2 (main) (#21229)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-29 03:49:48 -05:00
Daniel Roe
b7547c3ce1
fix(vite): narrow vite-node inline pattern (#21224) 2023-05-28 18:54:24 -05:00
Daniel Roe
9723add182 chore: add missing dependencies 2023-05-28 11:08:40 -05:00
renovate[bot]
c983ef9d41
chore(deps): update all non-major dependencies (main) (#21093)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-28 11:08:28 -05:00
Daniel Roe
6eacad03b8
fix(nuxt): resolve modules relative to modulesDir (#21082) 2023-05-27 11:24:21 -05:00
Louis Haftmann
92bc999d0e
fix(nuxt): omit Set-Cookie header if value is null (#21072) 2023-05-26 14:42:12 -05:00
renovate[bot]
bd4f9acdbc
chore(deps): update all non-major dependencies (main) (#21068)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-26 10:03:35 -05:00
Daniel Roe
75cd6b7894
fix(nuxt): normalize windows paths in granular watcher (#21066) 2023-05-25 16:38:34 -05:00
renovate[bot]
1879e1cd4d
chore(deps): update all non-major dependencies (main) (#20984)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-25 16:38:10 -05:00
Alexander
e50cabfed1
fix(nuxt): show error page after fatal abortNavigation (#21047) 2023-05-25 13:29:22 -05:00
Daniel Roe
4e6369cefa docs: link to correct webpack css extraction loader
resolves #21058
2023-05-25 09:17:21 -05:00
Lucie
a672cd7a42
fix(nuxt): await nuxt ready state before refreshNuxtData (#21008) 2023-05-23 00:09:05 +01:00
Julien Huang
7cc7297ea7
fix(nuxt): treeshake <DevOnly> with webpack (#21013)
Co-authored-by: Inesh Bose <56732164+ineshbose@users.noreply.github.com>
2023-05-22 21:29:59 +01:00
Daniel Roe
c37ebab1ef
perf(nuxt): use .test and hoist regexps where possible (#21011) 2023-05-22 21:25:42 +01:00
Daniel Roe
f94984e5cb
fix(nuxt): use simple incrementing id on client (#20992) 2023-05-22 21:25:04 +01:00
Daniel Roe
397c54c9db fix(nuxt): add type support for router composables without pages/ integration 2023-05-22 19:42:25 +01:00
Lehoczky Zoltán
2518cf8d37
fix(schema): remove duplicate @default jsdoc tag (#21010) 2023-05-22 19:12:58 +01:00
Daniel Roe
3ed0d0ffc1
fix(nuxt): scan component dirs case-sensitively (#20995) 2023-05-22 11:04:02 +01:00
Sébastien Chopin
6d8c119a26 chore: move v2 docs to v2.nuxt.com 2023-05-22 11:39:55 +02:00
Haruaki OTAKE
bb28819d3c
fix(nuxt): fix useLazyFetch types (#20989) 2023-05-22 08:25:50 +01:00
github-actions[bot]
f13ccfe836
v3.5.1 2023-05-21 17:39:15 +01:00
Daniel Roe
980728275a
fix(nuxt): use resolvePath to handle edge cases for modules (#20975) 2023-05-20 23:29:32 +01:00
Julien Huang
2d680455ae
fix(nuxt): skip middleware for islands components (#20924) 2023-05-20 23:26:29 +01:00
Haruaki OTAKE
b88aab049f
fix(nuxt): use default type for initial value for composables (#20968) 2023-05-20 23:19:50 +01:00
Daniel Roe
957a75a7e1
fix(nuxt): exclude plugin declaration from non-existent files (#20974) 2023-05-20 23:14:52 +01:00
Daniel Roe
26861e68ce
fix(kit): resolve relative module paths when installing (#20896) 2023-05-20 23:10:52 +01:00
renovate[bot]
1425a4d537
chore(deps): update dependency unimport to ^3.0.7 (main) (#20973)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-20 22:39:50 +01:00
renovate[bot]
6fa15db010
chore(deps): update all non-major dependencies (main) (#20947)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-20 11:06:01 +01:00
Daniel Roe
25c150136d
fix(nuxt): don't match partial component names with prefix (#20939) 2023-05-19 08:11:46 +01:00
renovate[bot]
1aecd24361
chore(deps): update all non-major dependencies (main) (#20934)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-18 21:04:47 +01:00
renovate[bot]
4ec2fcb750
chore(deps): update all non-major dependencies (main) (#20923)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-18 16:02:48 +01:00
Daniel Roe
dda338a1dc
fix(nuxt): resolve layer assets in relation to layer directory (#20932) 2023-05-18 15:10:12 +01:00
Daniel Roe
9dea9bc1b2
perf(nuxt): use granular watcher to avoid crawling ignored dirs (#20836) 2023-05-18 14:44:24 +01:00
renovate[bot]
37b4e32a6e
chore(deps): update all non-major dependencies (main) (#20922)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-17 22:11:45 +01:00
Daniel Roe
2cdc22a746
fix(nuxt): don't refresh when hydrating when data is present (#20916) 2023-05-17 14:23:52 +01:00
Daniel Roe
d2e14b678b
fix(nuxt): prioritise vue app context when available (#20910) 2023-05-17 13:26:16 +01:00
Gypsophyllite
f39eb6e981
fix(nuxt): infer useFetch method when generic is passed (#20797) 2023-05-17 12:56:47 +01:00
renovate[bot]
55a5fa4890
chore(deps): update all non-major dependencies (main) (#20867)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-17 05:54:33 +01:00
Daniel Roe
53bd8a44ec
fix(nuxt): allow island renders without / route (#20894) 2023-05-16 22:50:55 +01:00
Anthony Fu
e3af77253d
fix(webpack): analyze report path (#20878) 2023-05-16 14:47:12 +01:00
github-actions[bot]
9683c3dad3
v3.5.0 2023-05-16 14:29:04 +01:00
Daniel Roe
a0583ba96e
fix(nuxt): pass from + savedPosition to first scrollBehavior (#20859) 2023-05-16 10:55:13 +01:00
Anthony Fu
433b52930a
feat(nuxt): support parallel plugins (#20460) 2023-05-16 09:50:43 +01:00
Julien Huang
70c5ec86d2
feat(nuxt): full scoped slots support for server components (#20284) 2023-05-15 23:43:53 +01:00
renovate[bot]
22f4be9e06
chore(deps): update dependency vite to v4.3.6 (main) (#20862)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-15 20:23:41 +01:00
Daniel Roe
038c84c4b1
fix(nuxt): add types for webpack/vite environments (#20749) 2023-05-15 17:17:39 +01:00
Daniel Roe
33e2bd3dc0
feat(nuxt): support separate server tsconfig (#20559) 2023-05-15 16:36:30 +01:00
Alexander
e9b2f6286c
fix(nuxt): stop loading indicator on vue errors (#20738) 2023-05-15 16:34:20 +01:00
renovate[bot]
26c6531282
chore(deps): update dependency h3 to ^1.6.6 (main) (#20854)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-15 14:10:06 +01:00
Dario Ferderber
ec9dcdb093
fix(nuxt): allow pages:extend to enable pages module (#20806) 2023-05-15 13:47:30 +01:00
白雾三语
ce84c9b44f
fix(nuxt): ensure all dir parts are present in component name (#20779) 2023-05-15 13:34:04 +01:00
Inesh Bose
1f30cf18e3
fix(nuxt): get fallback for <DevOnly> from parsed html (#20840) 2023-05-15 13:33:46 +01:00
renovate[bot]
95246397e6
chore(deps): update all non-major dependencies (main) (#20832)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-15 12:25:11 +01:00
Julien Huang
603e7e7fb1
feat(nuxt): allow keeping fallback for NuxtClientFallback (#20336) 2023-05-14 22:22:54 +01:00
Daniel Roe
ebbda2cbe4
fix(vite): dedupe/optimize more vue core deps (#20829) 2023-05-14 12:56:15 +01:00
Daniel Roe
7006064567
feat(kit): addBuildPlugin for builder-agnostic implementation (#20587) 2023-05-14 12:55:26 +01:00
Inesh Bose
d077c10c41
feat(nuxt): allow fallback production content in <DevOnly> (#20817) 2023-05-13 23:32:31 +01:00
Julien Huang
900ee6dc8b
fix(nuxt): transform client fallbacks directly on SFCs (#20835) 2023-05-13 22:39:50 +01:00
Sébastien Chopin
6a052b583b
feat(nuxt): add useRequestURL helper (#20765) 2023-05-13 22:09:37 +01:00
Daniel Roe
7f0fe2fbe7
fix(nuxt): allow serialising undefined refs (#20828) 2023-05-13 20:49:05 +01:00
renovate[bot]
2d07e491a4
chore(deps): update all non-major dependencies (main) (#20825)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-13 12:46:22 +01:00
renovate[bot]
9b671fab03
chore(deps): update devdependency semver to ^7.5.1 (main) (#20820)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-13 02:31:56 +01:00
renovate[bot]
314905329f
chore(deps): update all non-major dependencies (main) (#20814)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-05-12 15:58:49 +01:00
renovate[bot]
f7f4a7643c
chore(deps): update all non-major dependencies (main) (#20792)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-12 06:46:16 +01:00
Julien Huang
90ab1b50f4
fix(nuxt): always inline styles for server/island components (#20599) 2023-05-11 23:33:17 +01:00
Lehoczky Zoltán
6b7197fd8c
fix(nuxt): avoid destructuring error prop (works around upstream bug) (#20795) 2023-05-11 22:54:07 +01:00
Daniel Roe
83c7172ace
fix(nuxi): hard-reload nuxt when .env changes (#20501) 2023-05-11 22:00:41 +01:00
Daniel Roe
5e74fe4e0b
fix(nuxt): enable suspensible behaviour for nested pages (#20777) 2023-05-11 18:57:18 +01:00
renovate[bot]
d1577889ad
chore(deps): update all non-major dependencies (main) (#20786)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-11 16:06:34 +01:00
Daniel Roe
0258acdc8a fix(nuxt): remove webstorm compatibility augmentation 2023-05-11 15:28:03 +01:00
Daniel Roe
93ba5e7cd2
feat(nuxt): use runWithContext within callWithNuxt (#20775) 2023-05-11 12:39:08 +01:00
renovate[bot]
6b710811bd
chore(deps): update dependency @vitejs/plugin-vue to ^4.2.2 (main) (#20776)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-11 10:02:10 +01:00
Daniel Roe
f170075c79
feat(deps): update vue to v3.3 (#20478) 2023-05-11 09:37:32 +01:00
renovate[bot]
80a131a32d
chore(deps): update dependency webpack to ^5.82.1 (main) (#20769)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-05-11 07:32:32 +01:00
Daniel Roe
95a0e17898
feat(schema): enable rich json payloads by default (#20770) 2023-05-10 23:31:13 +01:00
Daniel Roe
a33d2e7aec chore: update target for externalVue removal 2023-05-10 22:57:51 +01:00
Daniel Roe
29f29302ce
feat(nuxi): allow passing overrides to other nuxi commands (#20760) 2023-05-10 14:45:52 +01:00
Daniel Roe
53fef72031
fix(nuxt): deduplicate global components before registration (#20743) 2023-05-10 13:57:27 +01:00
Daniel Roe
8cca5cc9d8
fix(vite): expand fs.allow dirs to include app files (#20755) 2023-05-10 13:45:49 +01:00
Daniel Roe
cbcd254cd4
refactor(kit): use esm utils for resolvePath (#20756) 2023-05-10 13:11:13 +01:00
Daniel Roe
3b820ad366
fix(kit): prefer esm resolution for modules to install (#20757) 2023-05-10 13:10:23 +01:00
renovate[bot]
32fa44c0c9
chore(deps): update all non-major dependencies (main) (#20712)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-10 09:35:04 +01:00
Julien Huang
018bf125ab
feat(nuxt): add apps to nuxt build-time instance (#20637) 2023-05-09 23:46:03 +01:00
Eduardo San Martin Morote
5781cf1569
feat(nuxt): add experimental typedPages option (#20367) 2023-05-09 18:08:07 +01:00
Daniel Roe
80d7899f49
fix(nuxt): prevent treeshaking hooks with composable names (#20745) 2023-05-09 17:47:46 +01:00
Daniel Roe
eb8e9169d6
fix(nuxt): generate empty sourcemaps for wrappers (#20744) 2023-05-09 16:57:23 +01:00
Daniel Roe
1da25c8069
fix(nuxt): allow resolving client nuxt app to singleton (#20639) 2023-05-09 11:22:38 +01:00
Daniel Roe
ddbb847979
fix(webpack): warn when using deprecated build.extend hook (#20605) 2023-05-08 18:38:49 +01:00
Daniel Roe
a793e7ad48
chore: type-check .mjs files (#20711) 2023-05-06 23:00:50 +01:00
renovate[bot]
7cb4c69935
feat(deps): upgrade to nitropack v2.4 (#20688)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-06 09:44:07 +01:00
Anthony Fu
1f38863c06
fix(nuxt, vite): ignore nuxt_component ssr style and isVue (#20679) 2023-05-04 17:19:03 +01:00
renovate[bot]
0508ec2b3e
chore(deps): update all non-major dependencies (main) (#20657)
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 <pyapar@gmail.com>
2023-05-04 07:22:18 +01:00
renovate[bot]
c586f02d20
chore(deps): update dependency cookie-es to v1 (main) (#20660)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-04 05:52:16 +01:00
renovate[bot]
ca1cb614f7
chore(deps): update dependency perfect-debounce to v1 (main) (#20661)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-04 05:51:44 +01:00
Daniel Roe
566fa85fc8
fix(nuxt): run page meta plugin on all pages (and only pages) (#20628)
Co-authored-by: Julien Huang <julien.huang@outlook.fr>
2023-05-03 15:14:12 +01:00
Daniel Roe
da3357449f
feat(nuxt): add nuxtApp.runWithContext (#20608) 2023-05-03 11:02:07 +01:00
renovate[bot]
3306cfe292
chore(deps): update all non-major dependencies (main) (#20632)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 07:00:29 +01:00
Anthony Fu
fb76b3931a
feat(nuxi): allow greater control of nuxi analyze from cli (#20387) 2023-05-02 14:24:11 +01:00
Anthony Fu
84559e84aa
feat(kit): support passing getter to addVitePlugin and addWebpackPlugin (#20525) 2023-05-02 12:17:41 +01:00
renovate[bot]
787d5e953e
chore(deps): update dependency vite to v4.3.4 (main) (#20619)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-02 12:12:31 +01:00
Daniel Roe
16bf228437
fix(nuxt): ensure useError is called with nuxt app context (#20585) 2023-05-01 23:55:24 +01:00
renovate[bot]
f3cfb5f630
chore(deps): update all non-major dependencies (main) (#20609)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-01 23:46:29 +01:00
Daniel Roe
8b86d39e30
refactor(schema): move runtimeCompiler option out of experimental (#20606) 2023-05-01 17:39:07 +01:00
Daniel Roe
8353e4c66e
feat(nuxt): allow access to components within app (#20604) 2023-05-01 17:35:00 +01:00
Daniel Roe
2c55bb6f84
fix(nuxt): remove internal <FragmentWrapper> (#20607) 2023-05-01 12:56:30 +01:00
renovate[bot]
c9c51cb3d8
chore(deps): update all non-major dependencies (main) (#20588)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-30 22:27:31 +01:00
Harlan Wilton
d2170b80b9
fix(nuxt): skip payload extraction for island context (#20590) 2023-04-30 10:10:09 +01:00
Anthony Fu
d2fc6ae614
fix(nuxt): properly handle query for component wrapper (#20591) 2023-04-30 10:08:08 +01:00
Anthony Fu
a13b18eddf
fix(nuxt): add @nuxt/devtools module before core modules (#20595) 2023-04-30 10:06:43 +01:00
renovate[bot]
9b956c9689
chore(deps): update all non-major dependencies (main) (#20570)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-30 00:27:12 +01:00
Gergő Jedlicska
4e7206bfab
feat(test-utils): add option to configure test server port (#20443) 2023-04-30 00:01:10 +01:00
Daniel Roe
24cce84e4b
feat(nuxt): add layer meta and env overrides to config types (#20329) 2023-04-29 23:51:28 +01:00
Daniel Roe
b2a1f9f339
feat(kit): allow vite and webpack plugins to be prepended (#20403)
Co-authored-by: Eduardo San Martin Morote <posva13@gmail.com>
2023-04-29 23:39:08 +01:00
Daniel Roe
6ef2e1caea
fix(nuxt): remove backwards-compatible runtimeConfig proxy (#20340) 2023-04-29 23:38:40 +01:00
Anthony Fu
cd7f38988a
feat(webpack): introduce webpack:configResolved hook (#20412) 2023-04-29 23:37:29 +01:00
Anthony Fu
17ca50354b
feat(vite): introduce vite:configResolved hook (#20411) 2023-04-29 23:37:06 +01:00
Stefan Milosevic
fac160c79f
feat(nuxt): auto import 'watchPostEffect' and 'watchSyncEffect' from vue (#20279) 2023-04-29 23:33:29 +01:00
Daniel Roe
e1e3d2cd8e
feat(nuxt): add scoped helper for clearing error within boundary (#20508) 2023-04-29 23:32:29 +01:00
Stefan Milosevic
1444d89e3b
feat(kit): add prepend option to addImportsDir (#20307) 2023-04-29 23:21:45 +01:00
Daniel Roe
1464294d6a v3.4.3 2023-04-28 20:08:45 +01:00
renovate[bot]
d8176f11eb
chore(deps): update all non-major dependencies (main) (#20514)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-28 11:18:51 +01:00
Daniel Roe
f73bb1de0a
fix(nuxt): return RenderResponse for redirects (#20496) 2023-04-28 11:18:03 +01:00
Anthony Fu
98b20c45c8
fix(nuxt): transform #components imports into direct component imports (#20547)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-04-28 10:14:42 +01:00
Julien Huang
ecf41537ca
fix(nuxt): throw errors when running legacy asyncData (#20535) 2023-04-27 11:51:33 +01:00
Daniel Roe
65a8f4eb3e
fix(nuxt): restrict access to single renderer outside of test/rootDir (#20543) 2023-04-27 11:31:52 +01:00
Daniel Roe
197de3ecbb
fix(nuxt): call app:error in SSR before rendering error page (#20511) 2023-04-26 14:36:59 +01:00
Daniel Roe
dd0d13d425
fix(nuxt): improved typing support for app config (#20526) 2023-04-26 14:30:05 +01:00
Daniel Roe
7ab476b1f8
fix(nuxt): use callAsync for executing hooks with context (#20510) 2023-04-26 07:15:22 +01:00
renovate[bot]
9170a721f7
chore(deps): update dependency vite to v4.3.2 (main) (#20504)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-25 21:18:33 +01:00
Daniel Roe
200cb2787e
fix(nuxt): throw 404 when accessing /__nuxt_error directly (#20497) 2023-04-25 15:47:02 +01:00
Daniel Roe
4c200e4a2a
fix(nuxi,schema): support devServer.https: true (#20498) 2023-04-25 15:33:29 +01:00
renovate[bot]
24ce1022e9
chore(deps): update dependency @vitejs/plugin-vue to ^4.2.0 (main) (#20493)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-25 13:44:56 +01:00
renovate[bot]
5fd93d85c7
chore(deps): update all non-major dependencies (main) (#20429)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-24 22:48:16 +01:00
Jonas Thelemann
3133c6fb84
fix(deps): relax upper node version constraint (#20472) 2023-04-24 22:24:38 +01:00
Andrew Luca
ea1c5b2550
fix(nuxt): use event.node.req in cookie utility (#20474) 2023-04-24 21:25:36 +01:00
renovate[bot]
fd281f2d7d
chore(deps): update all non-major dependencies (main) (#20426)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-20 23:31:50 +01:00
Daniel Roe
f1ded44e80 fix(nuxt): add basic typings for <ClientOnly> 2023-04-20 22:56:22 +01:00
Julien Huang
e8e01bac13
fix(nuxt): use key to force server component re-rendering (#19911) 2023-04-20 22:41:20 +01:00
Daniel Roe
8b7df05ff0
fix(nuxt): don't call timeEnd unless we're debugging (#20424) 2023-04-20 22:18:32 +01:00
github-actions[bot]
607bfdcfef
v3.4.2 (#20410) 2023-04-20 14:51:12 +01:00
Daniel Roe
0ea719776b
refactor(vite): use native isFileServingAllowed util (#20414) 2023-04-20 14:00:05 +01:00
renovate[bot]
c1d97a2fdb
chore: update vite to v4.3 (#20405)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-04-20 13:36:11 +01:00
Daniel Roe
12f347a928
fix(nuxt): clone app config on server (#20278) 2023-04-20 13:33:45 +01:00
Daniel Roe
872d681549
fix(nuxi): load kit from rootDir when preparing project (#20401) 2023-04-19 22:28:55 +01:00
renovate[bot]
5f016b180e
chore(deps): update all non-major dependencies (main) (#20400)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-19 22:19:30 +01:00
Daniel Roe
a086af9692
perf: allow using @parcel/watcher for dev watcher (#20179) 2023-04-19 22:02:52 +01:00
Daniel Roe
83f0103a47
fix(schema): rely on installed telemetry types (#19640) 2023-04-19 22:02:15 +01:00
Daniel Roe
c7be5b4ec6
refactor(nuxt): rework and use isJS and isVue utilities consistently (#20344) 2023-04-19 19:17:36 +01:00
Harlan Wilton
5febd46d23
fix(core,kit): ensure module transpilation paths are dirs (#20396) 2023-04-19 19:05:46 +01:00
Daniel Roe
526852c1f1
fix(test-utils): import jest functions from @jest/globals (#20360) 2023-04-19 19:05:01 +01:00
Preet Mishra
48b48dec00
fix(nuxt): handle pages with no content and log warning (#20373) 2023-04-19 17:58:43 +01:00
renovate[bot]
6b75cceb3d
chore(deps): update all non-major dependencies (main) (#20395)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-19 17:03:51 +01:00
Daniel Roe
574a5616b4
perf: remove unused deps and add implicit deps (#20356) 2023-04-19 16:45:13 +01:00
Daniel Roe
4ab4ac13df
fix(nuxt): swap preloads for json/js payloads (#20375) 2023-04-19 10:18:02 +01:00
renovate[bot]
fe441a1364
chore(deps): update all non-major dependencies (main) (#20364)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-18 16:52:31 +01:00
Anthony Fu
886350a27c
fix(vite): avoid serving arbitrary file in vite-node middleware (#20345) 2023-04-18 12:30:16 +01:00
renovate[bot]
dc20b22a5f
chore(deps): update all non-major dependencies (main) (#20337)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 09:57:25 +01:00
renovate[bot]
b9c8c9936e
chore(deps): update dependency c12 to ^1.3.0 (main) (#20328)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 15:16:04 +01:00
renovate[bot]
2f89fc0236
chore(deps): update all non-major dependencies (main) (#20313)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-17 09:14:46 +01:00
renovate[bot]
60c90c2948
chore(deps): update all non-major dependencies (main) (#20305)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-16 20:04:53 +01:00
Daniel Roe
8aa86559c8
fix(nuxt): mark useRequestHeaders keys as optional (#20286) 2023-04-15 15:43:19 +01:00
Daniel Roe
ac2e466175
fix(nuxt): provide more helpful error when instance unavailable (#20289) 2023-04-15 14:47:34 +01:00
Daniel Roe
3754591257
fix(nuxt): return type directly if not picking asyncData (#20288) 2023-04-15 11:03:09 +01:00
Daniel Roe
d0c8e7fb4a
fix(nuxt): generate hi-res sourcemaps (#20280) 2023-04-14 18:21:08 +01:00
Daniel Roe
f366ab4eb8
chore: remove @ts-ignore and fix some issues (#20273) 2023-04-14 13:53:21 +01:00
Daniel Roe
b602b66a8e
fix(vite): set different cache dirs for client/server (#20276) 2023-04-14 13:25:33 +01:00
Daniel Roe
53db8125f1
perf(nuxt): share lazy component definitions (#20259) 2023-04-13 20:08:08 +01:00
renovate[bot]
b0c35291b6
chore(deps): update all non-major dependencies (main) (#20253)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-13 19:28:30 +01:00
Daniel Roe
940fb0b7ad
v3.4.1 (#20246) 2023-04-13 03:31:11 -07:00
Daniel Roe
9110d41628
fix(nuxt): do not redirect when vue-router normalises url (#20247) 2023-04-13 03:14:44 -07:00
Daniel Roe
b011d3d76f
fix(nuxt): improve handling of redirects within middleware (#20244) 2023-04-13 02:58:25 -07:00
renovate[bot]
2dc47a6deb
chore(deps): update dependency nypm to ^0.2.0 (main) (#20241)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-12 10:53:17 -07:00
renovate[bot]
e4c5c829b0
chore(deps): update all non-major dependencies (main) (#20214)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-12 10:33:52 -07:00
Daniel Roe
e5d1d29b1d
fix(nuxt): add missing imports to <NuxtClientFallback> (#20237) 2023-04-12 10:10:18 -07:00
Daniel Roe
22f1f71e3e
fix(nuxt): mark entire payload as reactive (#20218) 2023-04-12 01:42:45 -07:00
Daniel Roe
fe2800540c
fix(nuxt): set config on ssrContext in spa renderer (#20216) 2023-04-11 15:33:21 -07:00
renovate[bot]
8f67d871b8
chore(deps): update dependency globby to ^13.1.4 (main) (#20206)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-11 18:47:45 +01:00
Daniel Roe
25e3a9046c
v3.4.0 (#20170) 2023-04-11 09:17:01 -07:00
Sacha Stafyniak
811bf28068
feat(nuxt): add chokidar watcher debug timing (#20176) 2023-04-11 07:19:45 -07:00
Julien Huang
163913a744
feat(nuxt): add experimentalNoScripts route rule (#19805) 2023-04-11 07:17:44 -07:00
renovate[bot]
90d9cbbe88
chore(deps): update devdependency nitropack to ^2.3.3 (main) (#20203)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-11 07:14:46 -07:00
Harlan Wilton
4da289d150
fix(schema): allow ignorePrefix to be changed (#20202) 2023-04-11 06:55:25 -07:00
Daniel Roe
89ab2e522d
fix(nuxi, vite): suppress sourcemap + native fetch warnings (#20198) 2023-04-11 05:46:49 -07:00
renovate[bot]
bc910f6837
chore(deps): update all non-major dependencies (main) (#20196)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-11 05:38:53 -07:00
renovate[bot]
5a0a5f405f
chore(deps): update all non-major dependencies (main) (#20188)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-11 04:59:08 -07:00
Daniel Roe
4285092879
feat(nuxt): support object-syntax plugins (#20003) 2023-04-11 04:58:43 -07:00
Daniel Roe
f951a15232
chore: upgrade to consola v3 (#20194) 2023-04-11 03:07:39 -07:00
Daniel Roe
d6c3c2439a
feat(nuxt): support async transform of object properties (#20182) 2023-04-10 14:57:13 -07:00
renovate[bot]
98d1c0e827
chore(deps): update all non-major dependencies (main) (#20184)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 14:46:12 -07:00
Harlan Wilton
33f3ae4963
fix(nuxt): default nitro autoImports to imports.autoImport (#20180) 2023-04-10 19:11:07 +01:00
renovate[bot]
8e00026d4a
chore(deps): update dependency esbuild to ^0.17.16 (main) (#20165)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-10 05:28:51 -07:00
Daniel Roe
e99f923aa5
feat(nuxt): add experimental View Transitions API support (#20092) 2023-04-10 04:33:14 -07:00
renovate[bot]
40e6933fa5
chore(deps): update all non-major dependencies (main) (#20151)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 07:54:38 +01:00
Daniel Roe
ea4b5220a4
feat: upgrade to consola v3.x prerelease (#20141) 2023-04-08 03:16:06 -07:00
Daniel Roe
9878c5b6e4
style: enable sort-imports eslint rule (#20133) 2023-04-07 09:02:47 -07:00
Anthony Fu
11a9780c80
feat(nuxt): prompt to install devtools when it's enabled (#20126) 2023-04-07 08:34:11 -07:00