Commit Graph

265 Commits

Author SHA1 Message Date
Inesh Bose
406b204640
fix(kit): improve types for options in addTemplate (#25109) 2024-01-12 10:47:23 +00:00
Peter
d3ea8fed97
fix(kit): show correct error when module can't be loaded (#24957) 2024-01-01 09:14:28 +00:00
Michael Brevard
c2b94d4a16
perf(kit,schema,nuxt): refactor startsWith to array access (#24744) 2023-12-29 08:47:11 +00:00
Daniel Roe
32d2c99c5f
refactor(schema): introduce future and features namespace (#24880) 2023-12-25 14:03:29 +00:00
Damian Głowala
a2ef3091e8
feat(kit,nuxt,vite,webpack): add toArray util (#24857) 2023-12-23 14:22:58 +00:00
Bobbie Goede
8917e5f564
fix(kit): don't add local ~/modules dirs to modulesDir (#24457) 2023-12-20 14:42:42 +00:00
Becem
fa3a83924e
fix(kit): auto-detect mode from filePath for addComponent (#24835) 2023-12-20 10:52:14 +00:00
Daniel Roe
c5ff169c3a
feat(kit): add new addServerScanDir composable (#24001) 2023-12-14 17:11:53 +00:00
Michael Brevard
1711c33be4
perf(kit): avoid duplicate join operation (#24717) 2023-12-14 11:04:20 +00:00
Daniel Roe
7827f1843b
feat(kit): load /module or /nuxt module subpath if it exists (#24707) 2023-12-12 17:55:21 +00:00
Julien Huang
0eb9caf0c2
fix(nuxt): remove experimental reactivityTransform (vue 3.4) (#24477) 2023-11-27 23:02:02 +00:00
Daniel Acuña
c214869e51
feat(kit): allow customising logger options (#24243) 2023-11-23 21:57:48 +00:00
Sadegh Barati
be11bac9c2
feat(kit): support prepend option for addComponentsDir (#24309) 2023-11-23 21:13:03 +00:00
Daniel Roe
c1ddb359e3
chore: update to use @nuxt/eslint-config (#24209)
Co-authored-by: Damian Głowala <damian.glowala.rebkow@gmail.com>
2023-11-09 18:01:13 +01:00
Daniel Roe
ebb5767b9c
fix(kit): fix addServerImportsDir implementation (#24000) 2023-10-31 14:16:01 +01:00
Daniel Roe
803c4fe147
fix(kit): resolve module tsconfig paths relative to dirs (#23860) 2023-10-22 10:08:02 +02:00
Sébastien Chopin
f26a801775
docs: update to new website (#23743)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-10-18 12:59:43 +02:00
Daniel Roe
eb40409f23
feat(kit,nuxt,vite,webpack): support -nightly extension (#23508) 2023-10-12 15:17:38 +01:00
renovate[bot]
a5dad0d2e8
chore(deps): update devdependency eslint-plugin-jsdoc to v46 (main) (#23614)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-10-11 13:31:22 +01:00
Ezra Adeyinka
8db82af3a9
chore: fix various typos and update to US English (#23580) 2023-10-10 12:14:55 +01:00
Daniel Roe
24c5af328f
fix(kit): revert accidental change to addPrerenderRoutes name (#23509) 2023-10-02 22:36:00 +01:00
Daniel Roe
1e3d989ad9
fix(nuxt): mock hookable methods on nuxt 2 (#23502) 2023-10-02 13:42:34 +01:00
Daniel Roe
770d4c67f7
perf(nuxt): verbatim module syntax + restrict type discovery (#23447) 2023-10-02 11:32:46 +01:00
Julien Huang
9734723aaf
fix(kit): don't force config.autoImport in addServerImports (#23472) 2023-09-29 22:18:52 +01:00
Daniel Roe
a06d5247ca
feat(nuxt): add prerenderRoutes ssr composable (#22863) 2023-09-28 11:54:22 +01:00
Julien Huang
2b273fa8e1
feat(kit): add addServerImports and addServerImportsDir (#23288) 2023-09-28 11:08:02 +01:00
Percy Ma
3b90f82f8d
fix(nuxt): apply right types to modules and their runtime files (#23240) 2023-09-22 09:25:52 +02:00
Pooya Parsa
2bf9028f7e
refactor(kit,nuxt,schema): use consola and improve test dx (#23302) 2023-09-19 22:26:15 +01:00
Daniel Roe
f79f9b3a60
fix(kit): improve generated tsconfig.json defaults (#23121) 2023-09-11 14:40:36 +01:00
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