Commit Graph

219 Commits

Author SHA1 Message Date
Inesh Bose
c73bed8c6d
feat(kit): allow direct function in defineNuxtModule (#20763) 2023-06-16 15:47:38 +01:00
Hebilicious
ee6869b1ba
feat(kit): addTypeTemplate helper with auto-registration (#21331) 2023-06-09 22:24:03 +01:00
Harlan Wilton
c0b3d26b00
feat(kit): module compatibility utils (#21246) 2023-06-06 23:36:35 +01:00
Wilson Pinto
0f4ae15cee
fix(kit): temporarily inline lodash.template from lodash-es (#20892) 2023-06-05 22:52:43 +01:00
Daniel Roe
980728275a
fix(nuxt): use resolvePath to handle edge cases for modules (#20975) 2023-05-20 23:29:32 +01:00
Daniel Roe
26861e68ce
fix(kit): resolve relative module paths when installing (#20896) 2023-05-20 23:10:52 +01:00
Daniel Roe
7006064567
feat(kit): addBuildPlugin for builder-agnostic implementation (#20587) 2023-05-14 12:55:26 +01:00
Daniel Roe
cbcd254cd4
refactor(kit): use esm utils for resolvePath (#20756) 2023-05-10 13:11:13 +01:00
Daniel Roe
3b820ad366
fix(kit): prefer esm resolution for modules to install (#20757) 2023-05-10 13:10:23 +01:00
Anthony Fu
84559e84aa
feat(kit): support passing getter to addVitePlugin and addWebpackPlugin (#20525) 2023-05-02 12:17:41 +01:00
Daniel Roe
b2a1f9f339
feat(kit): allow vite and webpack plugins to be prepended (#20403)
Co-authored-by: Eduardo San Martin Morote <posva13@gmail.com>
2023-04-29 23:39:08 +01:00
Stefan Milosevic
1444d89e3b
feat(kit): add prepend option to addImportsDir (#20307) 2023-04-29 23:21:45 +01:00
Harlan Wilton
5febd46d23
fix(core,kit): ensure module transpilation paths are dirs (#20396) 2023-04-19 19:05:46 +01:00
Daniel Roe
f366ab4eb8
chore: remove @ts-ignore and fix some issues (#20273) 2023-04-14 13:53:21 +01:00
Daniel Roe
ea4b5220a4
feat: upgrade to consola v3.x prerelease (#20141) 2023-04-08 03:16:06 -07:00
Daniel Roe
9878c5b6e4
style: enable sort-imports eslint rule (#20133) 2023-04-07 09:02:47 -07:00
Daniel Roe
b1826ee9f4
fix(kit): support calling Nuxt 2 modules with module container (#20023) 2023-04-03 05:04:56 -07:00
Daniel Roe
ae82d70895
fix(vite): allow extending vue config per-environment (#19968) 2023-03-29 03:59:57 -07:00
Daniel Roe
824d296c7b
fix(kit): check if nuxt is restarting before updating templates (#19830) 2023-03-22 17:24:18 -07:00
Daniel Roe
81da4cf5a2
fix(kit): handle node 14 performance behaviour (#19733) 2023-03-17 03:08:21 -07:00
Daniel Roe
886cca19ea
fix(kit): provide name to performance.mark() (#19687) 2023-03-15 04:26:01 -07:00
Daniel Roe
ce45590120
refactor(nuxt): let mlly handle search paths (#19635) 2023-03-13 10:14:27 +00:00
Daniel Roe
6d79b71588
refactor(kit,nuxi): resolve module paths using node algorithm (#19537) 2023-03-10 06:55:01 -08:00
pooya parsa
6bd9b9448e
feat(kit, schema): measure module setup timings (#18648) 2023-03-10 03:30:22 -08:00
Clément Ollivier
fe149618da
docs: update addComponent jsdoc comment (#19503) 2023-03-07 03:12:54 -08:00
Daniel Roe
129bb4fa3a
feat(kit,nuxt): add component priority to allow overriding (#19252) 2023-03-06 03:33:40 -08:00
Daniel Roe
b73ca91437
fix(kit): match commit hashes of other lengths (#19450) 2023-03-04 07:10:40 -08:00
Inesh Bose
c7eb891e12
fix(nuxt): deprecate scanning directory index plugins (#18418) 2023-03-01 04:08:58 -08:00
Lioness100
b25b6c82c7
docs: fix typos (#18976) 2023-02-12 19:16:42 +00:00
Mehdi HosseinZade
76a08e3ccd
feat(kit): add addRouteMiddleware method (#18553) 2023-02-06 15:24:56 -08:00
pooya parsa
637b88304e
fix(kit): avoid adding already installed modules to internal _installedModules (#18647) 2023-01-31 17:44:19 +01:00
Tobias Diez
d83dc797af
fix(kit): don't use default export of defu (#18589) 2023-01-30 03:50:24 -08:00
pooya parsa
1af319e0fa
feat: experimental config schema (#18410) 2023-01-23 19:07:21 +01:00
Mehdi HosseinZade
585e8be2e0
feat(kit): add extendRouteRules method (#9771) 2023-01-21 16:54:02 +00:00
Alexander Lichter
fa2672485a
fix(kit): resolve group syntax of ignore (#15884) 2023-01-20 16:23:16 +00:00
Ikko Eltociear Ashimine
e908ebdb51
chore: fix typo in comment (#10148) 2023-01-19 13:20:53 +00:00
Daniel Roe
a68da6d6a7
chore: case police update (#10085) 2023-01-13 15:00:57 +00:00
Daniil Chudo
ab2456c295
refactor: split out type imports from value imports (#9225) 2022-12-11 21:44:52 +00:00
Daniel Roe
1202b1ac97
fix(kit): support applying .nuxtignore within external layers (#9599) 2022-12-08 15:57:58 +01:00
pooya parsa
5ac9d85a49
refactor!: remove deprecated api (#9029) 2022-11-16 03:26:35 +01:00
Mehdi HosseinZade
f530cd7413
fix(kit): add external module to transpile (#8963) 2022-11-15 15:55:45 +01:00
Daniel Roe
74b81bbeaa
refactor(kit)!: remove support for module container (#9010) 2022-11-15 14:22:14 +01:00
Daniel Roe
4e8f59bf70
fix(schema): add declarations to ignore list (#8787) 2022-11-09 10:01:09 +01:00
pooya parsa
ea17148a6b
feat(kit, nuxt): support prerender:routes and addPrerenderRoutes (#8670) 2022-11-03 22:03:12 +01:00
Daniel Roe
e450debc08
feat(kit): add addServerPlugin utility (#8635) 2022-11-03 15:54:05 +01:00
Daniel Roe
7c4899a7ab
fix(kit): normalize handler paths (#8626) 2022-11-03 15:04:02 +01:00
pooya parsa
265db50515
refactor(nuxt)!: cleanup schema and split nuxt 2 types (#8487) 2022-10-27 12:36:37 +02:00
Daniel Roe
2284525662
fix(kit): don't require nuxt context when resolving path (#8504) 2022-10-26 15:55:11 +02:00
Daniel Roe
54da6f81a0
fix(kit): use pathe to resolve aliases (#8453) 2022-10-25 10:24:09 +02:00
Daniel Roe
5a88510cb7
feat(kit): add updateTemplates utility (#8413) 2022-10-24 10:53:02 +02:00