Commit Graph

3195 Commits

Author SHA1 Message Date
Maik Kowol
7046930a67
fix(nuxt): add overloads for asyncData generic + default (#22258) 2023-07-23 09:24:54 +01:00
Daniel Roe
429d3656e9
fix(nuxt): access resolved scrollBehaviorType (#22264) 2023-07-21 10:17:07 +01:00
Rudolf Byker
9742bffac2
fix(nuxt): await prerender:routes hook (#22247) 2023-07-20 14:22:10 +01:00
renovate[bot]
3cb10d6dc8
chore(deps): update dependency unimport to ^3.1.0 (main) (#22246)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-20 14:21:36 +01:00
renovate[bot]
1f1de38d03
chore(deps): update all non-major dependencies (main) (#21979)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-20 10:43:33 +01:00
Lucas Vargas
a2552c0191 feat(nuxt): smooth scroll behavior option (#21948) 2023-07-20 09:54:03 +01:00
Bogdan Kostyuk
bea5ec35fb feat(nuxt): polyfill idle callback utils (#21863) 2023-07-20 09:53:29 +01:00
Daniel Roe
42284c96a7 feat(vite): unpin vite from minor (#22031) 2023-07-20 09:52:44 +01:00
github-actions[bot]
f6a3adb521
v3.6.5 (#22229)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-19 19:40:34 +02:00
Anthony Fu
03abb6aa4a
fix(nuxt): remove dist from the default ignore list (#22227) 2023-07-19 19:32:27 +02:00
github-actions[bot]
380a91985c
v3.6.4 2023-07-19 16:19:14 +01:00
Daniel Roe
0f16cd6124
perf(nuxt,schema): do not watch buildDir and node_modules (#22214) 2023-07-19 15:43:28 +01:00
Daniel Roe
61146aacaf
fix(test-utils): pass along error if server can't start (#22216) 2023-07-19 14:38:52 +01:00
Nirina Rabeson
fb77cc04c7
fix(nuxi): support --inspect in dev mode (#22205) 2023-07-19 13:32:10 +01:00
Daniel Roe
5b409f8579
fix(nuxt): avoid premature hydration when using async layouts (#22198) 2023-07-19 07:55:53 +01:00
Daniel Roe
449a01526a
fix(nuxt): ensure we only increment hydrating count once (#22200) 2023-07-18 16:21:53 +01:00
Anthony Fu
f6b64f6a65
fix(nuxt): resolve race condition regenerating auto imports (#22201) 2023-07-18 16:20:06 +01:00
Julien Huang
f4ec04f520
fix(nuxt): add baseURL to island fetch requests (#22009) 2023-07-18 16:07:35 +01:00
Alexander Lichter
4b6f3e1ba1
fix(nuxt): work around payload extraction issue (#22162)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-18 13:31:35 +02:00
Daniel Roe
b8a282e115
fix(nuxt): don't redirect if initial path has trailing slash (#22192) 2023-07-18 11:03:14 +01:00
Alexander Lichter
fed5868184
fix(core): correctly use toLowerCase for possible moduleResolution (#22160) 2023-07-16 00:48:03 +02:00
github-actions[bot]
f068ad5edd
v3.6.3 2023-07-14 23:48:50 +01:00
Daniel Roe
0643d4315b fix(cli): allow non-existent experimental option 2023-07-14 23:39:06 +01:00
Samuel Burkhard
826f82a6da
fix(cli): add aliases to monorepo paths to tsconfig includes (#21997)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-14 15:32:59 +01:00
云游君
e3553a36f9
fix(nuxt): skip scanning components that do not produce a name (#22074) 2023-07-14 14:50:14 +01:00
Jianqi Pan
988e75bbc7
fix(nuxt): skip view transitions where there is no route change (#22140) 2023-07-14 14:49:57 +01:00
Daniel Roe
a07cfb8663
refactor(cli,schema): add bundler module resolution flag (#22142) 2023-07-14 14:46:40 +01:00
Daniel Roe
b06ae969f6
fix(test-utils): export from core playwright package (#22122) 2023-07-13 18:26:04 +01:00
Daniel Roe
e9dac76348
fix(nuxt): add pages in correct hook when generating (#22088) 2023-07-12 08:26:52 +01:00
Daniel Roe
dcef9d94cd
perf(nuxt): prepopulate island payloads from rendered html (#22049)
Co-authored-by: Julien Huang <julien.huang@outlook.fr>
2023-07-12 07:28:22 +01:00
renovate[bot]
d2aee40b9d
chore(deps): update vitest to ^0.33.0 (main) (#21998)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-07 10:26:57 +01:00
renovate[bot]
7dd012e29e
chore(deps): pin dependencies (main) (#21986)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-07 09:51:42 +01:00
Daniel Roe
1605a532a1
fix(vite): pass modulesDir to isExternal (#21966) 2023-07-06 14:22:31 +01:00
Daniel Roe
d590c85c35 chore: add explicit type dependencies 2023-07-06 13:36:58 +01:00
Daniel Roe
4e32e70bba fix(schema): correct type of unctx options 2023-07-06 13:07:11 +01:00
renovate[bot]
e16680b7ef
chore(deps): update all non-major dependencies (main) (#21972)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-06 09:05:39 +01:00
Harlan Wilton
6cabe69ce0 fix(kit): module compatibility not working with module names 2023-07-06 12:36:49 +10:00
github-actions[bot]
88f914e9a0
v3.6.2 2023-07-05 22:42:25 +01:00
renovate[bot]
927d637e3f
chore(deps): update all non-major dependencies (main) (#21955)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-05 18:31:22 +02:00
Daniel Roe
a79d04780a
fix(kit): ignore telemetry startup time (as it has prompt) (#21959) 2023-07-05 16:04:37 +02:00
Daniel Roe
74c11dc662
perf(nuxt): use getters when constructing reactive routes (#21957) 2023-07-05 14:33:12 +02:00
Daniel Roe
d0dde6426f
fix(nuxt): preserve old vnode when leaving nested route (#21823) 2023-07-05 12:39:39 +02:00
renovate[bot]
00fb33379c
chore(deps): update all non-major dependencies (main) (#21939)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-05 12:18:44 +02:00
Nozomu Ikuta
381e0f8349
fix(schema): warn if user provides vite.publicDir (#21847) 2023-07-05 11:59:23 +02:00
Julien Huang
52a427d583
fix(nuxt): use $fetch.raw in dev client mode for islands (#21904) 2023-07-05 11:48:01 +02:00
anhao
e70ff83e72
fix(vite): fix issue detecting shadowed keyed composables (#21891) 2023-07-05 11:35:45 +02:00
Anthony Fu
28e91a7aad
fix(nuxt): regenerate imports after template (#21934) 2023-07-05 11:25:21 +02:00
renovate[bot]
dfef49f508
chore(deps): update all non-major dependencies (main) (#21921)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-04 18:09:01 +02:00
Agénor Debriat
5d7d4d75af
fix(nuxt): add layers in node_modules to tsconfig include (#21929) 2023-07-04 11:46:34 +02:00
Daniel Roe
958562086f
fix(vite): remove @vue/ scoped libraries from resolutions (#21922) 2023-07-04 08:27:34 +01:00
ChronicStone
fd2b36a64d
fix(nuxt): support custom route name meta with typedPages (#21659) 2023-07-04 06:24:50 +01:00
Daniel Roe
435ac87961
perf(nuxt): allow hmr for server components in dev mode (#21916) 2023-07-04 05:21:27 +01:00
renovate[bot]
d15df420a3
chore(deps): update all non-major dependencies (main) (#21851)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-03 21:08:25 +01:00
Agénor Debriat
a9904a3ff7
fix(nuxt): include external layers in tsconfig.json scope (#21917) 2023-07-03 20:33:40 +01:00
Daniel Roe
b0daaa8cbb
fix(nuxi): respect nitro ssl cert/key variables (#21912) 2023-07-03 12:21:59 +01:00
Julien Huang
9f5130d06b
fix(nuxt): stop loading indicator on navigation failure (#21751) 2023-07-03 12:14:17 +01:00
Daniel Roe
87e01ccf0e
fix(nuxt): handle injecting multiple entry ids for styles (#21864) 2023-06-30 05:25:43 +01:00
Daniel Roe
669e9bcf2d
fix(nuxt): ensure static presets equivalent to nuxi generate (#21860) 2023-06-29 10:14:35 +01:00
Daniel Roe
d4addcf7b1
fix(vite): greater type-safety within runtime vite-node (#21849) 2023-06-28 22:19:51 +01:00
Julien Huang
cc4cf68ed4
perf(nuxt): don't run island transform plugin if disabled (#21844) 2023-06-28 17:44:43 +01:00
renovate[bot]
07a0e9d412
chore(deps): update all non-major dependencies (main) (#21833)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-28 15:43:04 +01:00
Daniel Roe
b108b1ee70
fix(nuxt): improve default prerender behaviour (#21817) 2023-06-28 15:17:19 +01:00
Daniel Roe
e023c06353
fix(nuxt, vite): do not use cjs utils to resolve/alias vue (#21837) 2023-06-28 14:49:50 +01:00
Daniel Roe
1cc22aa4aa
fix(nuxi): resolve @nuxt/ui-templates from modulesDir (#21836) 2023-06-28 13:51:17 +01:00
renovate[bot]
4709c3acf9
chore(deps): update all non-major dependencies (main) (#21806)
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-28 09:14:56 +01:00
renovate[bot]
e49645bfb9
chore(deps): pin dependencies (main) (#21814)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 11:53:25 +01:00
renovate[bot]
70919f3a14
chore(deps): update dependency memfs to v4 (main) (#21797)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 11:53:21 +01:00
Daniel Roe
489b088836
fix(nuxt): only redirect if path is not the same as initial url (#21815) 2023-06-27 11:15:35 +01:00
Daniel Roe
9c8746f2a6
chore: prune internal unused code and exports (#21809) 2023-06-27 10:38:40 +01:00
github-actions[bot]
54a0d5e8dc
v3.6.1 2023-06-26 20:25:37 +01:00
jenjen75
f5920ff2e7
docs: centre example loading spinner (#21792) 2023-06-26 20:11:11 +01:00
renovate[bot]
32333447f1
chore(deps): update all non-major dependencies (main) (#21794)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 20:10:28 +01:00
Daniel Roe
4a7134f9b4
fix(nuxt): use starting index when transforming islands (#21795) 2023-06-26 19:32:02 +01:00
Anthony Fu
3550893227
fix(nuxt): support importing types from #imports (#21796) 2023-06-26 16:53:29 +01:00
renovate[bot]
d9a3ab80e0
chore(deps): update all non-major dependencies (main) (#21776)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-26 13:24:21 +01:00
Daniel Roe
12403d160f
fix(vite): emit assets referenced in inline css (#21790) 2023-06-26 13:11:12 +01:00
renovate[bot]
c0ba36fcd6
chore(deps): update dependency esbuild to ^0.18.8 (main) (#21736)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-25 23:51:03 +01:00
Daniel Roe
dd913ce0d8
fix(vite): resolve css files without importer id first (#21770) 2023-06-25 22:51:31 +01:00
Daniel Roe
4cc9a7135d
fix(nuxt): inline global css with ssr: false route rule (#21763) 2023-06-25 22:50:42 +01:00
Daniel Roe
5b8370414a
fix(nuxt): augment nitro config within server context as well (#21724) 2023-06-25 17:40:53 +01:00
Daniel Roe
1cd48cbef9
fix(nuxt): escape colons in page paths (#21731) 2023-06-25 17:40:30 +01:00
Daniel Roe
c72bc95473
fix(nuxt): only remove one item from middleware (#21730) 2023-06-25 17:40:12 +01:00
Daniel Roe
6b8cb97d54
fix(nuxt): remove path from SPA payload (#21732) 2023-06-25 17:38:51 +01:00
Daniel Roe
068ab19aab
fix(nuxt): respect false to disable spa loading template (#21739) 2023-06-25 17:38:31 +01:00
Daniel Roe
88bc32d42a
fix(nuxt): proxy headers to islands + returned prerender hints (#21740) 2023-06-25 17:38:15 +01:00
Daniel Roe
789c8bfa95
fix(nuxt): use esbuild/acorn instead of typescript dep (#21729) 2023-06-24 00:01:17 +01:00
github-actions[bot]
e58cfc81f0
v3.6.0 2023-06-23 13:06:06 +01:00
Anthony Fu
adb1c122a7
fix(nuxt): fix error on layout switching (#21450)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-23 11:02:01 +01:00
Portnoy Vladislav
56eb15f83c
fix(schema): change redirect type for NuxtPage type (#21713) 2023-06-23 10:09:35 +01:00
renovate[bot]
7736fb2b0b
chore(deps): update devdependency semver to v7.5.3 (main) (#21707)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-23 09:33:51 +01:00
Daniel Roe
dd5dff37d5
fix(nuxt,schema): prefer unknown rather than any for signatures (#21700) 2023-06-22 14:14:21 +01:00
Daniel Roe
e00beddad6
fix(nuxt): add aliases and augmentations for nitro context (#21680) 2023-06-22 11:49:14 +01:00
renovate[bot]
829a8f4d6c
chore(deps): update dependency webpack to v5.88.0 (main) (#21683)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 11:18:35 +01:00
Daniel Roe
14a7d95139
fix(nuxt): use static nitro build if possible (#21655) 2023-06-22 11:00:50 +01:00
Daniel Roe
be3f6f7018
feat(nuxt): update devdependency nitropack to v2.5.1 (#21696)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 10:38:26 +01:00
renovate[bot]
c30b91ada8
chore(deps): update all non-major dependencies (main) (#21660)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-21 12:28:17 +01:00
Daniel Roe
bd34a8c158
fix(nuxt): do not embed error path in payload (#21671) 2023-06-21 11:04:44 +01:00
Daniel Roe
c3c56c14ab
fix(nuxt): guard res.end() calls with check if event is handled (#21665) 2023-06-21 07:07:02 +01:00
Daniel Roe
aa2fd0112d
feat(nuxt): add types for nuxt-defined nitro runtime hooks (#21666) 2023-06-21 07:05:47 +01:00
c-schwan
5460873161
fix(nuxt): move to @typescript-eslint/typescript-estree (#21664) 2023-06-20 22:01:31 +01:00