Commit Graph

4948 Commits

Author SHA1 Message Date
Daniel Roe
27e356fe67
docs: clarify that local layers are scanned from rootDir
resolves https://github.com/nuxt/nuxt/issues/30925
2025-02-11 19:32:18 +00:00
Daniel Roe
3af848f9a6
feat(kit,nuxt,schema): support experimental decorators syntax (#27672) 2025-02-11 19:32:18 +00:00
Damian Głowala
3d0d831463
fix(nuxt): delete existing properties in app config HMR (#30918) 2025-02-11 19:31:18 +00:00
renovate[bot]
4150a4cb5c
chore(deps): update all non-major dependencies (3.x) (#30953)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-11 19:24:06 +00:00
renovate[bot]
27b18bd134
chore(deps): update all non-major dependencies (3.x) (#30947)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2025-02-11 16:17:07 +00:00
renovate[bot]
737a0b318f
chore(deps): update all non-major dependencies (3.x) (#30937)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-11 09:24:32 +00:00
Daniel Roe
63e0c342cd
fix(schema): normalise additional experimental options 2025-02-10 20:31:12 +00:00
Daniel Roe
6a4b7232fc
feat(schema): add runtime + internal type validation (#30844) 2025-02-10 16:49:02 +00:00
Daniel Roe
5a71ef8ace
test: update unit test 2025-02-10 16:47:24 +00:00
Daniel Roe
bc89ef8678
test: prepare environment to ensure more reproducible dev tests 2025-02-10 16:47:24 +00:00
Ryota Watanabe
41d4973279
feat(nuxt): allow disabling auto-imported polyfills (#30332) 2025-02-10 16:47:24 +00:00
Daniel Roe
baad3d55fb
fix(vite): use resolveId from vite-node to resolve deps (#30922) 2025-02-10 16:42:34 +00:00
renovate[bot]
2c894ca337
chore(deps): update devdependency prettier to v3.5.0 (3.x) (#30928)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2025-02-10 10:15:23 +00:00
renovate[bot]
9ecba3b42b
chore(deps): update all non-major dependencies (3.x) (#30913)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-08 21:23:43 +00:00
Daniel Roe
aba75bd5a5
fix(schema): update type import to nitropack 2025-02-08 21:17:07 +00:00
Julien Huang
9f6602f562
fix(nuxt): remove div wrapper in client-only pages (#30425) 2025-02-08 20:58:00 +00:00
Anthony Fu
31c4c511ff
feat(nuxt): support tracking changes to nuxt options by modules (#30555) 2025-02-08 20:55:01 +00:00
Alex Liu
79b8f4b69e
fix(nuxt): prevent keepalive cache reset (#30807) 2025-02-08 20:53:18 +00:00
Alex Liu
a42dec7a2c
feat(nuxt): add type hints for NuxtPage (#30704) 2025-02-08 20:53:18 +00:00
Anthony Fu
adc8c801c0
feat(nuxt): granular debug options (#30578) 2025-02-08 20:53:17 +00:00
renovate[bot]
a8b4edda23
chore(deps): update all non-major dependencies (3.x) (#30908)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2025-02-07 20:47:31 +00:00
renovate[bot]
7ca43210e5
chore(deps): update all non-major dependencies (3.x) (#30898)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2025-02-07 12:04:29 +00:00
Daniel Roe
a115ec980f
chore(deps): update vitest to v3.0.5 (3.x) 2025-02-06 15:12:39 +00:00
Anthony Fu
1f1ad477bf
feat(nuxt): upgrade @nuxt/devtools to v2 (#30889) 2025-02-06 14:10:57 +00:00
Daniel Roe
a7345c2f35
fix(nuxt,vite): do not override vite import conditions (#30887) 2025-02-06 14:10:17 +00:00
renovate[bot]
5d0875dd46
chore(deps): update all non-major dependencies (3.x) (#30878)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-06 11:59:32 +00:00
Daniel Roe
a852f49a36
test: add benchmarks for dev server initial build (#30742) 2025-02-05 14:41:24 +00:00
Julien Huang
01f5694408
fix(nuxt): assign slot to be rendered for client components (#30768) 2025-02-05 14:41:24 +00:00
Maik Kowol
31e2570de1
fix(nuxt): ensure <NuxtLayout> fallback prop is typed (#30832) 2025-02-05 14:41:24 +00:00
Charlie ✨
48b106dc38
docs: remove backslashes in spaLoadingTemplate example (#30830) 2025-02-05 14:41:24 +00:00
renovate[bot]
3cfe36f5a0
chore(deps): update all non-major dependencies (3.x) (#30829)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-05 14:38:03 +00:00
renovate[bot]
2cb5905c32
chore(deps): update all non-major dependencies (3.x) (#30823)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-31 11:59:30 +00:00
renovate[bot]
03c836515c
chore(deps): update all non-major dependencies (3.x) (#30808)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2025-01-31 10:24:30 +00:00
github-actions[bot]
244da170dd
v3.15.4 2025-01-29 09:03:23 +01:00
renovate[bot]
ceaf0f5aea
chore(deps): update all non-major dependencies (3.x) (#30804)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 07:46:51 +00:00
Daniel Roe
56d889ebb0
fix(vite): restore externality for dev server externals (#30802) 2025-01-28 23:49:43 +01:00
Daniel Roe
fb9c4b36d7
fix(webpack): disallow cross-site requests in no-cors mode (#30757) 2025-01-28 23:49:42 +01:00
Peter Radko
626eba06cc
fix(nuxt): don't warn about calling useRoute in SFC setup (#30788) 2025-01-28 23:49:17 +01:00
Lansi
325ed41a40
refactor(vite): use new rollup chunk.names for asset names (#30780) 2025-01-28 23:49:17 +01:00
Daniel Roe
7a1e5c818b
fix(nuxt): allow restarting nuxt on paths outside srcDir (#30771) 2025-01-28 23:49:16 +01:00
Daniel Roe
ca2d91f8e0
fix(kit): load @nuxt/schema from nuxt package dir (#30774) 2025-01-28 23:48:19 +01:00
Julien Huang
b78da56dd7
fix(nuxt): clear island uid before saving into the payload (#30767) 2025-01-28 23:48:19 +01:00
Norbiros
e0c47f9bf3
fix(nuxt): improve error logging when parsing with acorn (#30754) 2025-01-28 23:48:18 +01:00
renovate[bot]
940bcb8c4e
chore(deps): update all non-major dependencies (3.x) (#30747)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-28 19:24:30 +01:00
github-actions[bot]
048f974eba
v3.15.3 2025-01-24 23:38:06 +00:00
Alex Liu
e96a96dbd9
perf(nuxt): enable Transition component only on client side (#30720) 2025-01-24 23:19:41 +00:00
renovate[bot]
c6056bd07d
chore(deps): update all non-major dependencies (3.x) (#30733)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-24 23:17:12 +00:00
Daniel Roe
406db5b4d2
fix(vite,webpack): restrict access via cors to local origins + allow configuration via devServer.cors 2025-01-24 16:51:31 +00:00
xjccc
cb7f30a1ea
fix(nuxt): deep clone extracted page meta (#30717) 2025-01-24 16:50:53 +00:00
renovate[bot]
09d8db5f2f
chore(deps): update vitest to v3.0.4 (3.x) (#30724)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-24 15:14:40 +00:00
renovate[bot]
cb82217710
chore(deps): update all non-major dependencies (3.x) (#30714)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-24 10:34:21 +00:00
Daniel Roe
a49329b6d3
ci: reenable nuxt benchmarking (#30711) 2025-01-22 17:52:31 +00:00
Daniel Roe
c5a84fd7e8
perf(nuxt): early return from annotation for non-object syntax plugins (#30683) 2025-01-22 17:51:48 +00:00
Daniel Roe
10a54958d3
fix(vite): inline shared folder in dev mode (#30690) 2025-01-22 17:51:48 +00:00
renovate[bot]
f1c2948cd0
chore(deps): update all non-major dependencies (3.x) (#30694)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2025-01-22 17:26:16 +00:00
renovate[bot]
8bcaf22f58
chore(deps): update devdependency unimport to v4 (3.x) (#30702)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2025-01-22 15:15:44 +00:00
Daniel Roe
2669184bde
fix(nuxt): do not warn about [[ optional dynamic params (#30619) 2025-01-22 14:57:40 +00:00
renovate[bot]
64efade557
chore(deps): update vitest to v3.0.3 (3.x) (#30692)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 09:45:08 +00:00
Daniel Roe
9bd71e498a
fix(vite): add back invalidateModule call
this reverts commit b765251ce8
2025-01-21 13:49:22 +00:00
Daniel Roe
1797bbe4d0
perf(kit): run components compat check synchronously (#30685) 2025-01-21 13:48:53 +00:00
renovate[bot]
b3f0c140be
chore(deps): update all non-major dependencies (3.x) (#30687)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-21 13:10:01 +00:00
Daniel Roe
d2a95c542f
fix(vite): drop unneeded call to invalidate module 2025-01-21 12:08:22 +00:00
Daniel Roe
e8789b900c
perf(kit): reduce duplication between findPath and resolvePath (#30682)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-01-21 12:08:22 +00:00
Daniel Roe
893ac0f8bc
perf(nuxt): reduce unnecessary template updating (#30684)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-01-21 12:08:22 +00:00
Daniel Roe
09c3f79eff
fix(schema): allow overriding dev/test environment value (#30667) 2025-01-21 12:08:21 +00:00
Daniel Roe
7cfc338ed7
refactor(vite): drop externality and use vite internal config (#30634) 2025-01-21 12:08:15 +00:00
Daniel Roe
c315eb9805
perf(nuxt): reduce number of mkdirSync calls (#30651) 2025-01-21 12:05:31 +00:00
Daniel Roe
47c40f310a
chore: remove stray console log 2025-01-21 12:04:38 +00:00
renovate[bot]
6470d56b4b
chore(deps): update all non-major dependencies (3.x) (#30662)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-21 10:32:42 +00:00
renovate[bot]
842fe6dd1b
chore(deps): update all non-major dependencies (3.x) (#30642) 2025-01-19 14:25:27 +00:00
Daniel Roe
5a538be2b0
perf(kit,nuxt): don't resolve paths from local layers/modules (#30650) 2025-01-17 23:47:59 +00:00
Daniel Roe
a97602fd41
fix(nuxt): fall back to plugin.src for variable name generation (#30649) 2025-01-17 23:47:59 +00:00
Daniel Roe
9ec5f48b9d
chore: add debug timing jiti/unbuild plugins (#30648) 2025-01-17 23:47:58 +00:00
renovate[bot]
5465c5c008
chore(deps): update vitest to v3 (3.x) (major) (#30633)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-17 22:26:00 +00:00
Daniel Roe
b8742662ad
fix(kit,nuxt,schema,vite): improve watching behaviour (#30620) 2025-01-16 23:59:55 +00:00
Daniel Roe
306cabc7b9
fix(vite): override previous #app-manifest alias (#30618) 2025-01-16 23:59:54 +00:00
Daniel Roe
01adefcec7
build(schema): use new inlineDependencies option 2025-01-16 23:59:37 +00:00
renovate[bot]
4d1d9fb3eb
chore(deps): update all non-major dependencies (3.x) (#30622)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-16 14:12:13 +00:00
Daniel Roe
0c01273f5b
chore(kit): explicitly inline lodash-es 2025-01-15 15:21:50 +00:00
github-actions[bot]
87a0ee59ae
v3.15.2 2025-01-15 15:16:32 +00:00
renovate[bot]
107923743b
chore(deps): update dependency strip-literal to v3 (3.x) (#30601)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-15 13:26:38 +00:00
Daniel Roe
0ebf06d00d
fix(nuxt): decode id before resolving relative imports (#30599) 2025-01-15 11:32:54 +00:00
Alex Liu
d3cc244375
fix(nuxt): avoid invoking shouldPrefetch on the server side (#30591) 2025-01-15 11:32:29 +00:00
Anthony Fu
e438a04251
refactor(kit,nuxt,webpack): reduce reassignments (#30589) 2025-01-14 17:45:48 +00:00
Daniel Roe
f658ba60d5
fix(vite): provide fallback alias for #app-manifest (#30587) 2025-01-14 17:44:53 +00:00
renovate[bot]
1285c5c902
chore(deps): update all non-major dependencies (3.x) (#30572) 2025-01-14 14:59:49 +00:00
Daniel Roe
0249c74bcd
fix(nuxt): do not warn about invalid characters in route groups/catchalls 2025-01-14 14:08:08 +00:00
Daniel Roe
8a0350d5c2
fix(nuxt): allow url-specific chars in vfs (#30584) 2025-01-14 14:08:07 +00:00
Julien Huang
0bafc82868
fix(nuxt): warn about ignored char while parsing route segment (#30396) 2025-01-14 12:59:04 +00:00
Peter Buglavecz
fa2937087b
fix(nuxt): call page:loading:end only once with nested pages (#29009) 2025-01-14 12:59:04 +00:00
Daniel Roe
fb58275365
fix(kit): fully resolve plugin paths when normalising them (#30540) 2025-01-14 12:59:04 +00:00
Daniel Roe
77d34f75bc
perf(nuxt): defer version/config warnings to after build (#30567) 2025-01-14 12:59:04 +00:00
Daniel Roe
b2a1b63f18
perf(nuxt): avoid checking fs for existence of scanned pages (#30581) 2025-01-14 12:59:04 +00:00
renovate[bot]
f76fc48b5a
chore(deps): update all non-major dependencies (3.x) (#30566)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-13 22:04:56 +00:00
Daniel Roe
618bbc6da5
fix(nuxt): add import protection for @nuxt/cli 2025-01-13 16:28:57 +00:00
Daniel Roe
60f7d15edd
perf(kit): remove iterations when resolving module path (#30562) 2025-01-13 14:29:18 +00:00
Daniel Roe
23b9682899
fix: relax nuxt version constraints to current 2025-01-13 12:30:10 +00:00
Vuk Marjanovic
608830e130
fix(nuxt): use fullPath instead of empty string in router hmr (#30500) 2025-01-13 12:27:12 +00:00
Daniel Roe
f4e7e6bf36
perf(nuxt): use lighter @nuxt/cli dependency (#30526) 2025-01-13 12:27:10 +00:00
Saeid Zareie
0c1f9438bc
fix(kit): reorder #build to the end of tsConfig paths (#30520) 2025-01-13 12:24:26 +00:00