Commit Graph

327 Commits

Author SHA1 Message Date
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
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
Ivan Kalachikov 4fea6da1ae
feat(nuxt): add `<NuxtRouteAnnouncer>` and `useRouteAnnouncer` (#25741) 2024-04-17 16:58:13 +01:00