Commit Graph

236 Commits

Author SHA1 Message Date
Andrey Yolkin
3e676a7fd2
fix(nuxt): disallow write: false for type templates (#22972) 2023-09-04 12:23:03 +01:00
Andrey Yolkin
aa0ea8bf2d
fix(kit): allow passing a string to addLayout (#22902) 2023-08-30 11:45:16 +01:00
Daniel Roe
6036e9d6a2
fix(kit): respect priority when registering components dirs (#22882) 2023-08-29 23:06:41 +01:00
Daniel Roe
54a6eab406
feat(kit,nuxt): respect nuxt ignore patterns in nitro (#22808) 2023-08-25 13:08:38 +01:00
Alexander Lichter
ce9aecca4a
chore(kit): remove unused internals (#22555) 2023-08-09 08:39:00 +01:00
Daniel Roe
b5c9a81d68
feat(nuxt): resolve unresolved paths within node_modules (#22478) 2023-08-07 23:05:29 +01:00
Lucas Vargas
ffd0223583
feat(vite,webpack): tree-shakable import.meta.* build flags (#22428) 2023-08-07 23:03:40 +01:00
Daniel Roe
4d84c714e0
fix(kit): apply preferred options for esbuild transpilation (#22468) 2023-08-03 16:38:31 +01:00
Daniel Roe
2540c879da
fix(kit): remove baseUrl and use relative paths in tsconfig (#22410) 2023-08-01 10:17:02 +01:00
Daniel Roe
716a5b8341 fix(kit): don't unsubscribe from file writing 2023-07-31 15:44:44 +01:00
Daniel Roe
38d2bb7b95
feat(kit,nuxi): add writeTypes utility (#22385) 2023-07-31 09:42:42 +01:00
Daniel Roe
a2b5d31270
perf(nuxt): write templates in single sync step + improve logs (#22384) 2023-07-30 17:14:42 +01:00
Daniel Roe
257cb3c8a0
chore(deps): bump typescript/untyped versions (#22340) 2023-07-30 10:16:13 +01:00
Harlan Wilton
694f13b18f
fix(kit): handle tuple-format modules in hasNuxtModule (#22316) 2023-07-25 21:04:16 +00:00
Harlan Wilton
6cabe69ce0 fix(kit): module compatibility not working with module names 2023-07-06 12:36:49 +10:00
Daniel Roe
a79d04780a
fix(kit): ignore telemetry startup time (as it has prompt) (#21959) 2023-07-05 16:04:37 +02:00
Daniel Roe
9c8746f2a6
chore: prune internal unused code and exports (#21809) 2023-06-27 10:38:40 +01:00
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