Commit Graph

276 Commits

Author SHA1 Message Date
Anthony Fu
f209158352
chore: cleanup eslint rules with latest @nuxt/eslint-config (#26653) 2024-04-05 19:08:32 +01:00
Daniel Roe
5be9253cfe
fix(kit): clone middleware when adding to app 2024-03-15 15:38:07 -07:00
Daniel Roe
a9effe9c8a
feat(nuxt): allow generating metadata for nuxt components (#26204) 2024-03-13 15:57:04 -07:00
Daniel Roe
7252b56d52 chore: add back stylistic rules and lint project 2024-03-09 06:48:15 +00:00
Daniel Roe
3782ac0a2c fix(kit): handle errors resolving module path 2024-03-09 06:30:02 +00:00
Damian Głowala
2e8d47c269
fix(kit): resolve module node_modules for modulesDir (#25548) 2024-03-06 14:27:17 +00:00
Daniel Roe
08b656a047 fix(kit): don't warn if middleware is added twice 2024-02-26 21:22:10 +00:00
Michael Brevard
ff1bb56e3f
perf: early return chained functions with falsy values (#25647) 2024-02-26 16:08:45 +00:00
Daniel Roe
7815aa534e
fix(kit): widen pattern to .config/nuxt.* 2024-02-22 18:15:44 +00:00
Daniel Roe
5440ececed
fix(kit): apply nuxt types to .config/nuxt.config
resolves https://github.com/nuxt/nuxt/issues/25918
2024-02-22 16:31:20 +00:00
Daniel Roe
363bb57b63
fix(kit): don't mutate existing component entry when overriding (#25786) 2024-02-14 11:48:25 +00:00
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