Commit Graph

354 Commits

Author SHA1 Message Date
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
5a538be2b0
perf(kit,nuxt): don't resolve paths from local layers/modules (#30650) 2025-01-17 23:47:59 +00:00
Daniel Roe
b8742662ad
fix(kit,nuxt,schema,vite): improve watching behaviour (#30620) 2025-01-16 23:59:55 +00:00
Anthony Fu
e438a04251
refactor(kit,nuxt,webpack): reduce reassignments (#30589) 2025-01-14 17:45:48 +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
60f7d15edd
perf(kit): remove iterations when resolving module path (#30562) 2025-01-13 14:29:18 +00:00
Saeid Zareie
0c1f9438bc
fix(kit): reorder #build to the end of tsConfig paths (#30520) 2025-01-13 12:24:26 +00:00
Daniel Roe
b472d17135
perf(rspack,webpack): drop lodash-es dependency (#30409) 2025-01-04 21:37:31 +00:00
Mehmet
9e20d8da06
fix(kit): initialize tsconfig paths in addTemplate if undefined (#30348) 2024-12-23 23:06:48 +00:00
Daniel Roe
333d71a299
docs: update nitro links + fix link checking (#30228) 2024-12-13 20:46:29 +00:00
Daniel Roe
91870bb228
fix(kit): use resolved module paths for transpile + modulesDir (#30136) 2024-12-06 21:13:15 +00:00
Daniel Roe
661801dc60
fix(kit): add better logging for non-resolved modules (#30116) 2024-12-03 09:57:57 +00:00
Daniel Roe
62b173fc75
fix(kit,nuxt): provide buildDir to normalizeTemplate (#30115) 2024-12-03 09:57:57 +00:00
Inesh Bose
b1c08f77b2
feat(kit): allow module default options to be async (#29980) 2024-11-27 17:07:09 +00:00
Daniel Roe
92b5a3d931
fix: remove unused dependencies and tidy project (#30043) 2024-11-27 17:07:07 +00:00
Daniel Roe
a02af23483
fix(kit): re-export addServerTemplate 2024-11-27 17:00:25 +00:00
Daniel Roe
7284241808
fix(kit): resolve module paths before appending subpaths (#29955) 2024-11-17 22:26:02 -05:00
Gustavo Aquino Torres Teixeira
86a7457766
fix(kit): use dst to deduplicate templates when adding them (#29895) 2024-11-17 06:14:20 -05:00
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