Commit Graph

863 Commits

Author SHA1 Message Date
Daniel Roe
5bd42c893e
fix(kit,vite,webpack): strip node_modules/ from parent urls 2024-09-21 22:04:59 +01:00
renovate[bot]
fa3efbf918
chore(deps): update all non-major dependencies (3.x) (#29092)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-09-20 18:52:06 +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
renovate[bot]
0da854fa18
chore(deps): update all non-major dependencies (3.x) (#29019)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-09-17 16:02:33 +02:00
renovate[bot]
0593465390
chore(deps): update devdependency ignore to v6 (3.x) (#29035)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-17 15:05:04 +02:00
github-actions[bot]
a50725300f
v3.13.2 2024-09-15 22:03:54 +01:00
Julien Huang
aa7117b044
fix(nuxt): add missing isNuxtMajorVersion export (#29016) 2024-09-15 21:23:34 +01:00
renovate[bot]
b6ea82a86a
chore(deps): update vitest to v2.1.1 (3.x) (#28990) 2024-09-14 09:17:21 +01:00
renovate[bot]
77ae653bbc
chore(deps): update vitest to v2.1.0 (3.x) (#28962)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-13 13:37:07 +01:00
renovate[bot]
d6701e4892
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:59:00 +01:00
renovate[bot]
5674312870
chore(deps): update all non-major dependencies (3.x) (#28952) 2024-09-13 08:10:53 +01:00
renovate[bot]
5ee0246e63
chore(deps): update all non-major dependencies (3.x) (#28938)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-11 10:26:50 +01:00
github-actions[bot]
9983e83dae
v3.13.1 2024-09-04 10:39:46 +01:00
renovate[bot]
cab61212b1
chore(deps): update all non-major dependencies (3.x) (#28811)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 22:44:08 +01:00
renovate[bot]
cefcdf3406
chore(deps): update all non-major dependencies (3.x) (#28800)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-09-03 12:46:20 +01:00
Daniel Roe
bafc482fa5
perf(nuxt): cache vue app build outputs (#28726) 2024-08-28 22:39:40 +01:00
renovate[bot]
0115e4203c
chore(deps): update all non-major dependencies (3.x) (#28689) 2024-08-25 09:48:31 +01:00
renovate[bot]
7640da0acd
chore(deps): update dependency pkg-types to ^1.2.0 (3.x) (#28666)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-23 09:00:11 +01:00
github-actions[bot]
74ef96d096
v3.13.0 2024-08-22 17:03:39 +01:00
renovate[bot]
3c599eef16
chore(deps): update dependency webpack to v5.94.0 (3.x) (#28658)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-22 16:28:39 +01:00
renovate[bot]
ad63154fa3
chore(deps): update all non-major dependencies (3.x) (#28637)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 23:26:58 +01:00
renovate[bot]
81774f3a5a
chore(deps): update all non-major dependencies (3.x) (#28614)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-08-21 13:44:14 +01:00
renovate[bot]
ebcf93d673
chore(deps): update all non-major dependencies (3.x) (#28547)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-08-16 11:40:09 +01:00
Son Tran
9de596d802
feat(kit): add prepend option to addRouteMiddleware (#28496) 2024-08-13 20:43:59 +01:00
renovate[bot]
44c26f4e1a
chore(deps): update devdependency ignore to v5.3.2 (3.x) (#28503)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-12 12:41:43 +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]
3c426a458b
chore(deps): update all non-major dependencies (3.x) (#28452) 2024-08-07 23:28:30 +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
renovate[bot]
fa27e8a545
chore(deps): update vitest to v2.0.5 (3.x) (#28368)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 15:53:15 +02:00
Horu
0bbd06b508
fix(kit): include module dist/runtime/ in tsconfig includes (#28237) 2024-07-24 00:41:03 +02:00
renovate[bot]
7c864dd897
chore(deps): update vitest to v2.0.4 (3.x) (#28261)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-23 22:08:04 +02:00
github-actions[bot]
4a1349f700
v3.12.4 2024-07-18 23:30:28 +01:00
Daniel Roe
6abaae7fa1
fix(kit): normalise serverDir within layers using v4 compat (#28177) 2024-07-18 21:07:47 +01:00
renovate[bot]
46a41adf27
chore(deps): update vitest to v2.0.3 (3.x) (#28153)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-18 18:03:21 +01:00
renovate[bot]
a2fd0518ab
chore(deps): update all non-major dependencies (3.x) (#28058) 2024-07-18 15:56:19 +01:00
Bobbie Goede
e102d1d444
fix(kit): ensure getNuxtVersion returns string (#28125) 2024-07-15 14:03:06 +01:00
renovate[bot]
05143b894f
chore(deps): update vitest to v2.0.2 (3.x) (#28104)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-12 14:26:47 +01:00
renovate[bot]
e0a496737b
chore(deps): update vitest to v2 (3.x) (major) (#28074) 2024-07-09 09:14:31 +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
renovate[bot]
809fb71ca5
chore(deps): update all non-major dependencies (3.x) (#27984)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-03 10:10:22 +01:00
github-actions[bot]
a9fcd82d8e
v3.12.3 2024-07-02 16:05:11 +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
renovate[bot]
a3fe751c9e
chore(deps): update dependency pkg-types to ^1.1.2 (3.x) (#27948)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-01 15:14:44 +01:00
renovate[bot]
7bd2745fde
chore(deps): update all non-major dependencies (3.x) (#27927)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-30 23:35:08 +01:00
renovate[bot]
ca9d9825b2
chore(deps): update all non-major dependencies (3.x) (#27913)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-06-30 01:19:49 +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
renovate[bot]
8773abf15d
chore(deps): update all non-major dependencies (main) (#27721)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-21 11:32:26 +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
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