Commit Graph

336 Commits

Author SHA1 Message Date
Daniel Roe
fb833ac64f
fix(kit): convert module path to file url before reading meta 2024-11-06 11:17:23 +00:00
Daniel Roe
a929a91d71
fix(kit): use mlly to resolve module paths to avoid cjs fallback (#29799) 2024-11-05 21:40:57 +00:00
Aurion SARL
220b0f146c
fix(kit): fall back to meta version if there's no module.json (#29793) 2024-11-05 21:40:26 +00:00
renovate[bot]
85514f212c
chore(deps): update all non-major dependencies (3.x) (#29753)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-11-02 09:43:22 +00:00
Michael Brevard
9e23aceb6a
perf(kit,nuxt,vite,webpack): hoist regex patterns (#29620) 2024-10-22 15:38:26 +01:00
Daniel Roe
e207f7e993
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 15:59:32 +02:00
Daniel Roe
0f210e3170
refactor(nuxt,schema,vite,webpack): use unplugin for vfs (#29165) 2024-10-09 15:04:58 +02:00
Daniel Roe
da0dfd3054
feat(kit,schema): add addServerTemplate utility (#29320) 2024-10-09 08:28:57 +02:00
Pooya Parsa
48f9617b8b
chore(deps): update jiti (#29281) 2024-10-05 19:42:01 +01:00
Daniel Roe
5bd42c893e
fix(kit,vite,webpack): strip node_modules/ from parent urls 2024-09-21 22:04:59 +01:00
Daniel Roe
9d77fdc802
fix(kit,vite,webpack): resolve postcss paths from each modules dir (#29096) 2024-09-20 18:39:17 +01:00
Daniel Roe
70a622d433
fix(kit): try resolving module path from each node_modules dir 2024-09-20 13:29:57 +01:00
Daniel Roe
c7fecd8a1e
fix(kit): handle passing 'bare' relative paths to modules 2024-09-19 17:21:12 +01:00
Daniel Roe
c5a8eaae36
feat(kit,nuxt,vite,webpack): reimplement cjs utils using jiti (#29073) 2024-09-19 16:35:02 +01:00
Daniel Roe
10ce38055d
feat(deps): upgrade to latest version of jiti (#27995) 2024-09-19 14:39:19 +01:00
Daniel Roe
6a39c657f5
chore: add more checks around indexed access (#29060) 2024-09-19 13:26:25 +01:00
Julien Huang
aa7117b044
fix(nuxt): add missing isNuxtMajorVersion export (#29016) 2024-09-15 21:23:34 +01:00
Daniel Roe
bafc482fa5
perf(nuxt): cache vue app build outputs (#28726) 2024-08-28 22:39:40 +01:00
Son Tran
9de596d802
feat(kit): add prepend option to addRouteMiddleware (#28496) 2024-08-13 20:43:59 +01:00
Daniel Roe
1a60b45410
fix(kit): add missing type import 2024-08-08 11:24:06 +01:00
Daniel Roe
cab9e5c356
chore: lint 2024-08-08 11:20:29 +01:00
Damian Głowala
56092503b4
feat(kit,schema): add .with for better module options types (#27520) 2024-08-08 11:10:35 +01:00
Lucie
9118965505
feat(kit): add new isNuxtMajorVersion compatibility util (#27579) 2024-08-08 11:09:22 +01:00
renovate[bot]
17ff2d5c98
chore(deps): update all non-major dependencies (3.x) (#28302)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-08-06 15:16:20 +01:00
Horu
0bbd06b508
fix(kit): include module dist/runtime/ in tsconfig includes (#28237) 2024-07-24 00:41:03 +02:00
Daniel Roe
6abaae7fa1
fix(kit): normalise serverDir within layers using v4 compat (#28177) 2024-07-18 21:07:47 +01:00
Bobbie Goede
e102d1d444
fix(kit): ensure getNuxtVersion returns string (#28125) 2024-07-15 14:03:06 +01:00
Daniel Roe
5c8312e9bd
fix(kit): remove exports from v4 branch 2024-07-05 11:23:35 +01:00
Daniel Roe
fceb74906d
perf(kit,nuxt,schema,vite,webpack): use explicit exports (#27998) 2024-07-05 10:52:12 +01:00
Daniel Roe
f07969d888
chore: remove unused variable 2024-07-02 15:21:33 +01:00
Daniel Roe
d14f7ec460
refactor(kit,nuxt): use performance.now to measure time 2024-07-02 15:21:27 +01:00
Daniel Roe
4cab71d66e
fix(kit,nuxt): ensure webworker types are available 2024-07-01 23:04:04 +01:00
Daniel Roe
fd46d670f2
chore: improve type safety with indexed access (#27626) 2024-06-28 14:14:46 +02:00
Daniel Roe
cf251bd48b
fix(kit): handle loading nuxt 4+ 2024-06-26 11:46:07 +02: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
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
Daniel Roe
7c5e25f81b
perf(kit,nuxt): remove handling for node 14 perf api (#27396) 2024-05-29 17:05:21 +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