Commit Graph

867 Commits

Author SHA1 Message Date
Daniel Roe
d3fdbcaac6
fix(kit,vite,webpack): strip node_modules/ from parent urls 2024-09-21 23:12:38 +01:00
Daniel Roe
73accb5ac1
fix(kit,vite,webpack): resolve postcss paths from each modules dir (#29096) 2024-09-21 13:37:49 +01:00
Daniel Roe
097105fb2b
fix(kit): try resolving module path from each node_modules dir 2024-09-21 13:37:48 +01:00
Daniel Roe
33e2d0a5f3
fix(kit): handle passing 'bare' relative paths to modules 2024-09-21 13:37:48 +01:00
renovate[bot]
61b5ef7850
chore(deps): update all non-major dependencies (main) (#29093) 2024-09-21 09:32:18 +01:00
renovate[bot]
95e00dd7ee
chore(deps): update dependency jiti to v2.0.0-rc.1 (main) (#29070)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-19 13:47:16 +01:00
renovate[bot]
64a70feec2
chore(deps): update all non-major dependencies (main) (#29022)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-09-17 16:01:47 +02:00
renovate[bot]
22563ad048
chore(deps): update devdependency ignore to v6 (main) (#29034)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-17 15:04:29 +02:00
renovate[bot]
f7c68ac0f6
chore(deps): update vitest to v2.1.1 (main) (#28987) 2024-09-13 20:53:52 +01:00
renovate[bot]
2466af53b0
chore(deps): update vitest to v2.1.0 (main) (#28961)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-09-13 13:37:04 +01:00
renovate[bot]
cde1c93ed0
chore(deps): update dependency vite to v5.4.5 (main) (#28978)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-09-13 12:52:41 +01:00
renovate[bot]
272db76dca
chore(deps): update all non-major dependencies (main) (#28951) 2024-09-13 08:10:28 +01:00
Daniel Roe
a0ea790b80
fix(kit,nuxt,schema)!: remove other support for nuxt2/bridge (#28936) 2024-09-11 11:02:22 +01:00
renovate[bot]
b32bafd386
chore(deps): update all non-major dependencies (main) (#28937)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-11 10:04:49 +01:00
renovate[bot]
dbb1a4e176
chore(deps): update all non-major dependencies (main) (#28810)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 22:43:12 +01:00
renovate[bot]
de5800078e
chore(deps): update all non-major dependencies (main) (#28799)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-09-03 12:36:10 +01:00
Daniel Roe
e367cc9c48
feat(nuxt): cache vue app build outputs (#28726) 2024-08-28 21:00:38 +01:00
renovate[bot]
c4578ac0e8
chore(deps): update all non-major dependencies (main) (#28688) 2024-08-25 09:48:19 +01:00
renovate[bot]
8785ed43f6
chore(deps): update dependency pkg-types to ^1.2.0 (main) (#28665)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-23 09:00:21 +01:00
renovate[bot]
d188542a35
chore(deps): update dependency webpack to v5.94.0 (main) (#28657)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-22 15:45:41 +01:00
renovate[bot]
ca1d465a29
chore(deps): update all non-major dependencies (main) (#28634)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 23:26:50 +01:00
renovate[bot]
5060ff7be0
chore(deps): update all non-major dependencies (main) (#28613)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-08-21 13:03:27 +01:00
renovate[bot]
304c17be7c
chore(deps): update all non-major dependencies (main) (#28546)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-08-16 10:37:35 +01:00
Son Tran
c4cad445ea
feat(kit): add prepend option to addRouteMiddleware (#28496) 2024-08-12 19:41:01 +01:00
renovate[bot]
867d3081fe
chore(deps): update devdependency ignore to v5.3.2 (main) (#28502)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-12 12:41:35 +01:00
renovate[bot]
362203d1a7
chore(deps): update dependency vite to v5.4.0 (main) (#28451) 2024-08-07 19:37:47 +01:00
renovate[bot]
c906312034
chore(deps): update all non-major dependencies (main) (#28321)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-08-05 16:33:27 +01:00
renovate[bot]
2d6caa483b
chore(deps): update vitest to v2.0.5 (main) (#28367) 2024-07-31 18:31:02 +02:00
renovate[bot]
6fd8d3a590
chore(deps): update all non-major dependencies (main) (#28301)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-25 17:21:38 +02:00
renovate[bot]
12eb3dbfce
chore(deps): update vitest to v2.0.4 (main) (#28260) 2024-07-23 20:58:06 +02:00
Horu
c0ec90da05
fix(kit): include module dist/runtime/ in tsconfig includes (#28237) 2024-07-21 21:04:35 +02:00
renovate[bot]
1d22d25a59
chore(deps): update all non-major dependencies (main) (#28209) 2024-07-18 19:55:28 +01:00
renovate[bot]
78628587cf
chore(deps): update all non-major dependencies (main) (#28184)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-07-18 18:01:34 +01:00
Daniel Roe
ffcb5dc3d9
refactor(nuxt): use errx to handle dev log traces (#28027) 2024-07-18 15:59:50 +01:00
renovate[bot]
b845097554
chore(deps): update vitest to v2 (main) (major) (#28073) 2024-07-16 16:39:11 +01:00
Daniel Roe
afa84b31d9
fix(kit): normalise serverDir within layers using v4 compat (#28177) 2024-07-16 15:12:45 +01:00
renovate[bot]
eac0734a3b
chore(deps): update all non-major dependencies (main) (#28165) 2024-07-16 13:15:06 +01:00
renovate[bot]
53ab4ef052
chore(deps): update all non-major dependencies (main) (#28057) 2024-07-12 14:00:39 +01:00
Bobbie Goede
694229071b
fix(kit): ensure getNuxtVersion returns string (#28125) 2024-07-12 13:14:39 +01:00
Daniel Roe
19d7f93284
fix(kit): add back requireModule and tryRequireModule (#28013) 2024-07-04 10:04:10 +01:00
Daniel Roe
2d136e04c6
fix(kit): revert change to tryResolveModule 2024-07-03 23:19:54 +01:00
Daniel Roe
655e1473da
fix(kit): mark resolvePath utils as sync 2024-07-03 23:15:24 +01:00
Daniel Roe
ef35ff27df
feat(kit): reimplement cjs utils using mlly (#28012) 2024-07-03 23:02:05 +01:00
Daniel Roe
e0d8ab3e69
chore(deps): bump nitro edge release (#28009) 2024-07-03 21:47:40 +01:00
Daniel Roe
79193561b9
refactor(kit,nuxt,vite,webpack)!: remove legacy require utils (#28008) 2024-07-03 21:12:33 +01:00
Daniel Roe
128edc76fc
perf(kit,nuxt,schema,vite,webpack): use explicit exports (#27998) 2024-07-03 17:46:42 +01:00
Daniel Roe
fb4d11d2b9
feat(deps): upgrade to latest versions of c12, jiti and unbuild (#27995) 2024-07-03 12:30:04 +01:00
renovate[bot]
a8b3bd4b1a
chore(deps): update all non-major dependencies (main) (#27981)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-03 09:32:17 +01:00
Daniel Roe
ceec08dbca
chore: remove unused variable 2024-07-02 13:21:03 +01:00
Daniel Roe
2d53229ca9
refactor(kit,nuxt): use performance.now to measure time 2024-07-02 12:12:56 +01:00
Daniel Roe
6bb24c14cc
fix(kit,nuxt): ensure webworker types are available 2024-07-01 21:06:40 +01:00
Daniel Roe
1beddba6a0
fix(kit)!: drop support for building nuxt 2 projects 2024-07-01 21:06:40 +01:00
renovate[bot]
d30a64e016
chore(deps): update dependency pkg-types to ^1.1.2 (main) (#27947)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-01 15:04:15 +01:00
Daniel Roe
53aa3f093d
chore(deps): bump nitro-nightly version (#27939) 2024-07-01 10:02:31 +01:00
renovate[bot]
e1110493e2
chore(deps): update all non-major dependencies (main) (#27926)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-01 09:06:43 +01:00
renovate[bot]
82595fe77a
chore(deps): update all non-major dependencies (main) (#27917)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-06-30 00:40:33 +01:00
Daniel Roe
53df20ef2b
chore: improve type safety with indexed access (#27626) 2024-06-27 16:27:08 +02:00
Daniel Roe
8f95cac34c
feat(kit,nuxt,schema,vite,webpack): nitropack v3 nightly (#27702) 2024-06-26 15:18:05 +02:00
Daniel Roe
07ad89cd7f
fix(kit)!: support loading nuxt 4 and drop support for <=2 (#27837) 2024-06-26 11:31:45 +02:00
Damian Głowala
e374474df3
feat(kit,schema): add .with for better module options types (#27520) 2024-06-21 09:33:42 +01:00
Lucie
2475ee81cc
feat(kit): add new isNuxtMajorVersion compatibility util (#27579) 2024-06-20 23:20:49 +01:00
renovate[bot]
95ea3f2aee
chore(deps): update all non-major dependencies (main) (#27721)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-19 21:51:38 +01:00
Daniel Roe
f5ab7eb494
refactor(kit,nuxt)!: drop nuxt 2 + ejs template compile support (#27706) 2024-06-19 13:56:54 +01:00
github-actions[bot]
8578e2bd62
v3.12.2 2024-06-16 08:36:40 +01:00
Daniel Roe
2de885bab5
fix(nuxt): reduce usage of cjs utilities (#27642) 2024-06-16 00:03:24 +01:00
renovate[bot]
d6e723885d
chore(deps): update all non-major dependencies (main) (#27611)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-06-14 22:12:47 +01:00
Daniel Roe
7dfc85623b
perf(kit): various performance improvements (#27600)
Co-authored-by: Michael Brevard <yonshi29@gmail.com>
2024-06-13 22:52:57 +01:00
Daniel Roe
e4bfea6428
fix(nuxt,schema): add types for _installedModules 2024-06-13 21:00:11 +01:00
renovate[bot]
452d43ab23
chore(deps): update dependency vite to v5.3.0 (main) (#27586)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-13 15:19:05 +01:00
Daniel Roe
d195930aae
perf(kit): deduplicate layers before resolving config (#27582) 2024-06-13 12:51:00 +01:00
renovate[bot]
d443a24cff
chore(deps): update all non-major dependencies (main) (#27568) 2024-06-12 20:55:40 +01:00
renovate[bot]
6bbc85ade9
chore(deps): update dependency webpack to v5.92.0 (main) (#27539) 2024-06-11 19:45:51 +01:00
github-actions[bot]
41fc45da25
v3.12.1 2024-06-11 11:50:45 +01:00
github-actions[bot]
9f06842fa1
v3.12.0 2024-06-11 09:44:43 +01:00
Daniel Roe
018b03588a
fix(kit,schema): revert changes to module options types (#26850)
This reverts commit c06a683e49.
2024-06-10 21:25:42 +01:00
Daniel Roe
7bb02735e7
fix(kit): revert back to esnext target 2024-06-10 21:11:31 +01:00
Daniel Roe
7d48d98f62
chore: upgrade jiti (#27479)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2024-06-10 18:30:09 +01:00
Pooya Parsa
da28077be3
fix(kit): avoid fallback to normalized path in module loading (#27507) 2024-06-10 17:18:00 +01:00
Damian Głowala
c06a683e49
feat(kit,schema): add .with for better module options types (#26850) 2024-06-10 11:16:13 +01:00
Daniel Roe
b08dfc98be
fix(kit): do not use module: preserve unelss ts v5.4 is installed 2024-06-10 10:48:49 +01:00
Inesh Bose
0d84300218
feat(kit): support typed module options in installModule (#26744) 2024-06-10 09:54:40 +01:00
Daniel Roe
af65d59678
fix(kit): improve defaults in generated tsconfig.json (#27485) 2024-06-07 21:08:57 +01:00
renovate[bot]
9f24bc6386
chore(deps): update all non-major dependencies (main) (#27474)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-07 20:28:28 +01:00
renovate[bot]
e60a912f33
chore(deps): update all non-major dependencies (main) (#27404) 2024-06-07 07:37:13 +01:00
Daniel Roe
7c5e25f81b
perf(kit,nuxt): remove handling for node 14 perf api (#27396) 2024-05-29 17:05:21 +01:00
renovate[bot]
c2702ef98d
chore(deps): update all non-major dependencies (main) (#27386)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-28 19:51:04 +01:00
renovate[bot]
440f92e832
chore(deps): update all non-major dependencies (main) (#27353) 2024-05-25 15:42:30 +01:00
Daniel Roe
cf736e2745
chore: move @internal comment 2024-05-16 16:14:39 -05:00
Daniel Roe
06be4cc025
feat(nuxt): auto-register layers in layers/ directory (#27221) 2024-05-15 05:51:14 -05:00
Anthony Fu
b96b62ecd2
refactor: improve regexp performance (#27207) 2024-05-14 12:54:37 -05:00
Daniel Roe
89baee0493
fix(nuxt): scan folder indices for middleware (#27187) 2024-05-13 21:23:15 +01:00
renovate[bot]
65a2ec4592
chore(deps): update all non-major dependencies (main) (#27135)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-09 20:06:46 +01:00
Daniel Roe
cebc89186e
feat(kit): add useRuntimeConfig and updateRuntimeConfig utils (#27117) 2024-05-09 18:49:35 +01:00
Horu
d66d68cd7d
feat(nuxt): allow specifying builder compatibility in modules (#27022) 2024-05-09 09:28:33 +01:00
renovate[bot]
6273f5d3b6
chore(deps): update all non-major dependencies (main) (#27094)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-08 13:33:06 +01:00
renovate[bot]
b330a296b8
chore(deps): update vitest to v1.6.0 (main) (#27055) 2024-05-04 16:09:25 +01:00
Daniel Roe
2c39b3ce61
feat(nuxt,schema): support new Nuxt folder structure (#27029) 2024-05-02 14:24:31 +01:00
Daniel Roe
061fbd4bd6
chore: upgrade dev dependencies 2024-05-02 11:50:58 +01:00
renovate[bot]
c538a35711
chore(deps): update all non-major dependencies (main) (#27017)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-01 15:36:10 +01:00
renovate[bot]
d0601126f3
chore(deps): update all non-major dependencies (main) (#26870) 2024-04-22 20:09:05 +01:00