Commit Graph

342 Commits

Author SHA1 Message Date
Daniel Roe
a0dcb64c76
fix(kit): re-export addServerTemplate 2024-11-25 15:26:29 +00:00
Daniel Roe
e9f7cb7f89
fix(kit): resolve module paths before appending subpaths (#29955) 2024-11-17 21:20:42 +00:00
Gustavo Aquino Torres Teixeira
d5494c9a5a
fix(kit): use dst to deduplicate templates when adding them (#29895) 2024-11-17 11:11:00 +00:00
Daniel Roe
5fa566c09a
fix(kit): convert module path to file url before reading meta 2024-11-06 11:16:45 +00:00
Daniel Roe
2c0994fdf8
fix(kit): use mlly to resolve module paths to avoid cjs fallback (#29799) 2024-11-05 17:53:42 +00:00
Aurion SARL
7177e81442
fix(kit): fall back to meta version if there's no module.json (#29793) 2024-11-05 11:27:06 +00:00
Michael Brevard
5dad6e6233
perf(kit,nuxt,vite,webpack): hoist regex patterns (#29620) 2024-10-22 14:39:50 +01:00
Daniel Roe
01bee2f0ea
feat(rspack,webpack): add rspack builder (#29142)
Co-authored-by: "yangjian.fe" <yangjian.fe@bytedance.com>
Co-authored-by: underfin <likui6666666@gmail.com>
2024-10-09 14:57:54 +01:00
Daniel Roe
56d2261471
refactor(nuxt,schema,vite,webpack): use unplugin for vfs (#29165) 2024-10-09 13:58:05 +01:00
Daniel Roe
e553032df6
feat(kit,schema): add addServerTemplate utility (#29320) 2024-10-08 15:58:21 +01:00
Pooya Parsa
fd5a0a1ff8
chore(deps): update jiti (#29280) 2024-10-05 19:41:35 +01:00
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
Daniel Roe
a0ea790b80
fix(kit,nuxt,schema)!: remove other support for nuxt2/bridge (#28936) 2024-09-11 11:02:22 +01:00
Daniel Roe
e367cc9c48
feat(nuxt): cache vue app build outputs (#28726) 2024-08-28 21:00:38 +01:00
Son Tran
c4cad445ea
feat(kit): add prepend option to addRouteMiddleware (#28496) 2024-08-12 19:41:01 +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
Horu
c0ec90da05
fix(kit): include module dist/runtime/ in tsconfig includes (#28237) 2024-07-21 21:04:35 +02:00
Daniel Roe
ffcb5dc3d9
refactor(nuxt): use errx to handle dev log traces (#28027) 2024-07-18 15:59:50 +01:00
Daniel Roe
afa84b31d9
fix(kit): normalise serverDir within layers using v4 compat (#28177) 2024-07-16 15:12:45 +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
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
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
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
Daniel Roe
f5ab7eb494
refactor(kit,nuxt)!: drop nuxt 2 + ejs template compile support (#27706) 2024-06-19 13:56:54 +01:00
Daniel Roe
2de885bab5
fix(nuxt): reduce usage of cjs utilities (#27642) 2024-06-16 00:03:24 +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
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
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
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