Commit Graph

328 Commits

Author SHA1 Message Date
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
Daniel Roe
89baee0493
fix(nuxt): scan folder indices for middleware (#27187) 2024-05-13 21:23:15 +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
Daniel Roe
2c39b3ce61
feat(nuxt,schema): support new Nuxt folder structure (#27029) 2024-05-02 14:24:31 +01:00
Luke Nelson
306174c4d8
docs: add @since annotations to exported functions (#25365) 2024-04-19 17:58:19 +03:00
Inesh Bose
3e610df4dd
feat(kit): handle virtual files in resolvePath and findPath (#26465) 2024-04-19 12:43:28 +03:00
Inesh Bose
00a47be49a
fix(nuxt): re-initialise nuxt._ignore after all modules run (#26680) 2024-04-19 11:48:19 +03:00
Louis Ramos
c8f63684af
fix(kit): set typescript moduleDetection to 'force' (#26667) 2024-04-19 11:38:49 +03:00