Commit Graph

495 Commits

Author SHA1 Message Date
Joaquín Sánchez
4c8793587b
fix(schema): include ofetch in typescript.hoist defaults (#26316) 2024-03-17 17:56:47 +01:00
Daniel Roe
3c7e68c846
fix(nuxt): handle nightly releases for hoisted types 2024-03-16 17:18:31 -07:00
Daniel Roe
79ea75e72a
chore: remove old code 2024-03-16 11:07:30 -07:00
Daniel Roe
adbd53a257
fix(schema): don't hoist types for consola for now 2024-03-15 19:37:13 -07:00
Daniel Roe
357f8db418
fix(schema): allow passing deep to selectiveClient 2024-03-15 19:02:54 -07:00
Daniel Roe
814859d769
fix(nuxt): don't generate separate chunk for stubs (#26291) 2024-03-15 17:07:38 -07:00
Daniel Roe
e272b2f2e1
feat(nuxt): pass server logs to client (#25936)
Co-authored-by: Sébastien Chopin <seb@nuxt.com>
2024-03-15 16:36:47 -07:00
Daniel Roe
85166cced7
feat(schema): allow configuring type hoists with typescript.hoist 2024-03-15 11:00:19 -07:00
Anthony Fu
bd0e759b22
perf(nuxt): only update changed templates (#26250) 2024-03-14 11:56:17 -07:00
Daniel Roe
5c6dc4c14e
docs: escape 'elements' in jsdoc comments 2024-03-14 11:31:42 -07:00
Daniel Roe
b102d04185
feat(vite): handle multiple/custom public dirs (#26163) 2024-03-13 17:18:44 -07:00
Daniel Roe
a9effe9c8a
feat(nuxt): allow generating metadata for nuxt components (#26204) 2024-03-13 15:57:04 -07:00
Daniel Roe
9bfd988ca6
feat(nuxt): enable islands if server pages/components present (#26223) 2024-03-13 07:39:35 -07:00
Alexander Lichter
536998727a
feat(nuxt): add dedicated #teleports element for ssr teleports (#25043) 2024-03-11 07:33:49 -07:00
Daniel Roe
7252b56d52 chore: add back stylistic rules and lint project 2024-03-09 06:48:15 +00:00
Daniel Roe
d6edb30c5a docs: update cssnano website url
https://github.com/cssnano/cssnano/pull/1578
2024-03-06 20:46:34 +00:00
Bogdan Kostyuk
230f6b4f19
feat(nuxt): client-only pages (#25037) 2024-03-06 14:38:39 +00:00
Oumar Barry
280d30d5e1
fix(schema): disable typescript.shim in favour of volar (#26052) 2024-03-05 10:32:40 +00:00
Andrea Basile
3258cacc28
fix(schema): add vueCompilerOptions property to tsConfig (#25924) 2024-02-27 16:31:46 +01:00
Julien Huang
196223c0fb
feat(nuxt): server-only pages (#24954) 2024-02-26 17:39:26 +00:00
Daniel Roe
37d24eed7d
fix(schema): use rootDir, not process.cwd, for modulesDir (#25766) 2024-02-13 11:19:25 +00:00
Žan Fras
8966e20498
chore(schema): add missing closing code block (#25641) 2024-02-05 20:26:10 +00:00
Troy Ciesco
ced401abb7
fix(schema): correctly set value for app.viewTransition (#25581) 2024-02-02 14:38:42 +00:00
Daniel Roe
f1fe97fc8a
fix(nuxt): prioritise later items in pages:routerOptions hook (#25509) 2024-01-30 13:55:18 +00:00
Якин Никита
658a0ffed7
feat(nuxt): useId composable (#23368)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Sébastien Chopin <seb@nuxt.com>
2024-01-30 09:10:13 +00:00
Daniel Roe
b0f50bec1b docs: remove unnecessary warning on sharedPrerenderData 2024-01-29 20:22:23 +00:00
renovate[bot]
7d65769496
chore(deps): update all non-major dependencies (main) (#25342)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-01-29 16:53:25 +00:00
Daniel Roe
407fde6765
feat(nuxt): experimentally extract route metadata at build time (#25210)
Co-authored-by: Bobbie Goede <bobbiegoede@gmail.com>
2024-01-29 16:44:54 +00:00
Horváth Bálint
995acd9983
feat(nuxt): allow controlling view transitions in page meta (#25264) 2024-01-29 12:23:51 +00:00
Enkot
034d1aaa6f
feat(nuxt): refreshCookie + experimental CookieStore support (#25198) 2024-01-29 10:37:32 +00:00
Alexander Lichter
040cd97c3c
fix(schema): remove defineModel option as it is now stable (#25306) 2024-01-19 09:48:24 +00:00
Pooya Parsa
dab2188d58
feat: experimental client-side Node.js compatibility (#25028) 2024-01-18 16:09:27 +00:00
Daniel Roe
807ead6f1a
feat(nuxt): add pages:routerOptions hook (#24922) 2024-01-18 16:06:00 +00:00
Daniel Roe
64c5f97d4a
feat(schema): default to bundler module resolution (#24837) 2024-01-18 10:37:24 +00:00
Daniel Roe
210a559350
feat(nuxt): add experimental sharedPrerenderData option (#24894) 2024-01-18 10:01:39 +00:00
Luke Warlow
e44e8b35dd
fix(nuxt): disable View Transitions if prefers-reduced-motion (#22292) 2024-01-18 10:00:41 +00:00
Inesh Bose
406b204640
fix(kit): improve types for options in addTemplate (#25109) 2024-01-12 10:47:23 +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
f5676fba56 docs: switch features/future docs 2023-12-26 22:03:39 +00:00
Daniel Roe
32d2c99c5f
refactor(schema): introduce future and features namespace (#24880) 2023-12-25 14:03:29 +00:00
Daniel Roe
22ce98d61d
fix(schema): revert bundler module resolution due to lack of support
This reverts commit 8f5fed57db.
2023-12-20 10:57:07 +00:00
Daniel Roe
f5a44fb20a
fix(nuxt): add __VUE_PROD_HYDRATION_MISMATCH_DETAILS__ (#24836) 2023-12-20 10:30:33 +00:00
Daniel Roe
8f5fed57db
feat(schema): default to bundler module resolution (#22821) 2023-12-19 15:02:28 +00:00
Julien Huang
1b93e604d3
feat(nuxt): allow client components within NuxtIsland (#22649) 2023-12-19 12:21:29 +00:00
Sébastien Chopin
d26822f3df
feat(nuxt): add callOnce util to allow running code only once (#24787) 2023-12-19 11:00:11 +00:00
Daniel Roe
d5c95ad472
fix(nuxt): revert async transform of setup within defineComponent (#24784) 2023-12-16 11:09:41 +00:00
Michael Brevard
153d5ff273
perf(schema): use parallel promises (#24771)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-12-15 14:16:35 +00:00
Michael Brevard
24bedc5e56
perf(schema): avoid duplicate get operations (#24734) 2023-12-15 09:38:19 +00:00
Daniel Roe
db3a9f0554
feat(nuxt): transform setup within defineComponent options (#24515) 2023-12-14 21:00:36 +00:00
Julien Huang
5877e11c89
feat(nuxt): allow plugins to specify dependencies (#24127) 2023-12-14 17:11:08 +00:00
Alper Doğan
3cc333690b
feat(nuxt): layers support for spa loading template (#24709) 2023-12-13 11:54:56 +00:00
xxhls
8934eb31d9
docs: prefer ~ to @ alias in examples (#24574) 2023-12-05 12:40:04 +00:00
Julien Huang
0eb9caf0c2
fix(nuxt): remove experimental reactivityTransform (vue 3.4) (#24477) 2023-11-27 23:02:02 +00:00
Damian Głowala
c4445268b6
fix(schema): add type for ignoreOptions (#24337) 2023-11-16 15:21:23 +00:00
Luke Nelson
6ec267be87
fix(schema): use scule types for runtimeConfig type hints (#23696) 2023-11-15 18:58:00 +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
Fabian B
e5fccc0a30
docs: improve router docs on nuxt-injected options (#24126) 2023-11-06 09:35:05 +00:00
Daniel Roe
2011e6c159
perf(nuxt): set pages on nuxt app and deduplicate calls (#24032) 2023-10-31 01:55:40 +09:00
Daniel Roe
802cf7a1e9
fix(schema): correctly set default cssnano config (#23980) 2023-10-30 17:57:11 +09:00
Daniel Roe
8e44395d7a
fix(vite): remove postcss-url and duplicate postcss-import (#23861) 2023-10-25 09:38:01 +09:00
Daniel Roe
cd76c617fa
fix(nuxt,schema,vite,webpack): analyze w/o overriding config (#23856) 2023-10-23 20:19:16 +09:00
Daniel Roe
591f4305b8
fix(nuxt,schema): use std-env to detect whether app is being tested (#23830) 2023-10-20 16:52:37 +01:00
Daniel Roe
7fcdce26b2
fix(schema): accept single string for extends (#23795) 2023-10-20 16:23:35 +01:00
Daniel Roe
8c9333a41c
fix(nuxt): ensure we add prerender hints to correct event (#23799) 2023-10-19 23:44:45 +01:00
Pooya Parsa
2050d1bfa3
chore: upgrade to c12 1.5 with configurable layers (#23782) 2023-10-19 15:20:11 +01:00
Daniel Roe
5652346d7a
feat(nuxt): allow customising defaults for data composables (#23725) 2023-10-18 15:25:25 +01:00
Daniel Roe
9dd304628a
feat(nuxt): allow configuring default <NuxtLink> options (#23724) 2023-10-18 13:43:42 +01: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
Anthony Fu
598e8c2cd0
feat(nuxt): add @nuxt/devtools as dependency and enable (#23576) 2023-10-12 16:50:49 +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
4063b498d3
feat(nuxt): enable appManifest by default (#23448) 2023-09-30 10:58:55 +01:00
Daniel Roe
3510cedc3f fix(schema): ignore pnpm store directory
resolves https://github.com/nuxt/nuxt/issues/22910
2023-09-26 02:14:26 +02:00
Daniel Roe
7dce07653c
fix(nuxt): experimental build manifest + client route rules (#21641) 2023-09-19 22:31:18 +01:00
Pooya Parsa
2bf9028f7e
refactor(kit,nuxt,schema): use consola and improve test dx (#23302) 2023-09-19 22:26:15 +01:00
Muhammad Mahmoud
283c5122ef
docs: add more files to srcDir JSDoc (#23250) 2023-09-17 11:05:00 +01:00
Daniel Roe
f000e8b605
fix(schema): default devServer host to undefined (#23206) 2023-09-14 10:23:07 +01:00
Julien Huang
95d1f9944d
refactor(nuxt): don't wrap server placeholders/client fallbacks (#21980) 2023-09-13 22:56:15 +01:00
Daniel Roe
df6a992cd6
fix(nuxt): handle unset spa-loading fallback (#23120) 2023-09-11 13:07:28 +01:00
David Gonzalez
28af761c74
fix(nuxt): load spaLoadingTemplate if file exists (#23048) 2023-09-11 12:02:28 +01:00
Andrey Yolkin
3e676a7fd2
fix(nuxt): disallow write: false for type templates (#22972) 2023-09-04 12:23:03 +01:00
Daniel Roe
6036e9d6a2
fix(kit): respect priority when registering components dirs (#22882) 2023-08-29 23:06:41 +01:00
Daniel Roe
a352d59a58
fix(nuxt): default spaLoadingTemplate to false (#22798) 2023-08-25 13:26:23 +01:00
Daniel Roe
54a6eab406
feat(kit,nuxt): respect nuxt ignore patterns in nitro (#22808) 2023-08-25 13:08:38 +01:00
Daniel Roe
23723305da
feat(schema): support setting hidden sourcemaps (#22787) 2023-08-24 13:06:44 +01:00
Daniel Roe
29f4eeff69
feat(nuxt): add support for routeRules defined within pages (#20391) 2023-08-23 21:38:17 +01:00
Harlan Wilton
d50a416304
feat(nuxt): add experimental.headNext unhead integration (#22620) 2023-08-14 20:33:00 +01:00
Damian Głowala
b5b2b47feb
feat(nuxt): make app.rootId optional (#22528) 2023-08-12 08:19:36 +01:00
Daniel Roe
758ae76709
fix(vite): include import.meta build vars in define as well (#22576) 2023-08-10 09:51:58 +01:00
Daniel Roe
b2cea4927e
feat(nuxt): allow experimental global: 'sync' components (#22558) 2023-08-09 12:19:00 +01:00
Damian Głowala
cdcfb1bd82
fix(schema): ignore empty string in app.{rootId|rootTag} (#22543) 2023-08-09 08:29:08 +01:00
Damian Głowala
5244555880
chore(schema): enable linting (#22546) 2023-08-08 21:55:29 +01:00
Lehoczky Zoltán
e373fa7d68
feat(nuxt): warn on external webpack/nitro/postcss config (#22521) 2023-08-08 12:33:10 +01:00
pooya parsa
554f868bce
feat(nuxt): experimental native async context support (#20918)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-08 00:57:35 +02:00
Daniel Roe
c2db29c28c
fix(schema): webpack options should be optional (#22524) 2023-08-07 23:06:07 +01:00
Daniel Roe
305d6de030
feat(nuxt): use build plugin to access nuxt route injection (#21585) 2023-08-07 14:19:48 +01:00
Daniel Roe
caf8329151
test: remove separate test for baseurl (#22467) 2023-08-03 14:25:26 +01:00
Harlan Wilton
ac93558aa6
fix(nuxt): broken capo.js injectHead usage (#22447) 2023-08-03 07:15:43 +01:00
Harlan Wilton
a49ce7f494
perf(nuxt): experimental support of capo.js head tag order (#22431) 2023-08-01 20:47:31 +01:00
Daniel Roe
1b1f194e64
refactor(nuxt): add additional flag to enable remote sources (#22409) 2023-07-31 13:01:50 +01:00
Joaquín Sánchez
2df9a4b9db
fix(nuxt): test watch paths against all layer srcDirs (#22307) 2023-07-30 19:47:29 +01:00
Anthony Fu
c5f94be5d1
feat(nuxt): expose filtered templates in app:templatesGenerated hook (#21935) 2023-07-30 12:41:01 +01:00
Daniel Roe
9741f267be
refactor(nuxi,schema): move loading template into schema (#22336) 2023-07-26 23:07:23 +02:00
Daniel Roe
491ebff3b6
feat(schema,webpack): allow $client and $server overrides (#22304) 2023-07-24 20:46:09 +01:00
Daniel Roe
e2a6ad353d
feat(schema,vite): allow $client and $server vite env overrides (#22302) 2023-07-24 18:32:12 +01:00
Lucas Vargas
a2552c0191 feat(nuxt): smooth scroll behavior option (#21948) 2023-07-20 09:54:03 +01:00
Anthony Fu
03abb6aa4a
fix(nuxt): remove dist from the default ignore list (#22227) 2023-07-19 19:32:27 +02:00
Daniel Roe
0f16cd6124
perf(nuxt,schema): do not watch buildDir and node_modules (#22214) 2023-07-19 15:43:28 +01:00
Daniel Roe
a07cfb8663
refactor(cli,schema): add bundler module resolution flag (#22142) 2023-07-14 14:46:40 +01:00
Daniel Roe
4e32e70bba fix(schema): correct type of unctx options 2023-07-06 13:07:11 +01:00
renovate[bot]
927d637e3f
chore(deps): update all non-major dependencies (main) (#21955)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-05 18:31:22 +02:00
Nozomu Ikuta
381e0f8349
fix(schema): warn if user provides vite.publicDir (#21847) 2023-07-05 11:59:23 +02:00
jenjen75
f5920ff2e7
docs: centre example loading spinner (#21792) 2023-06-26 20:11:11 +01:00
Portnoy Vladislav
56eb15f83c
fix(schema): change redirect type for NuxtPage type (#21713) 2023-06-23 10:09:35 +01:00
Daniel Roe
dd5dff37d5
fix(nuxt,schema): prefer unknown rather than any for signatures (#21700) 2023-06-22 14:14:21 +01:00
Daniel Roe
c66c82e6a0
feat(nuxt): allow configuring spa loading indicator (#21640) 2023-06-20 19:55:20 +01:00
Daniel Roe
2abcc16cfb
perf(nuxt): extract and apply plugin order at build time (#21611) 2023-06-20 00:00:03 +01:00
Žan Fras
0505c9147d
docs: remove example of deprecated reactivity transform (#21396) 2023-06-09 22:24:39 +01:00
Lehoczky Zoltán
7ff0c2d97a
fix(schema): add more explicit types for config schema (#21475) 2023-06-08 22:50:29 +01:00
Wilson Pinto
857511f448
feat(webpack, schema): add webpack experiments configuration (#21446) 2023-06-07 20:49:46 +01:00
Daniel Roe
525a06af38
feat(webpack): allow configuring esbuild-loader options (#21436) 2023-06-07 13:50:12 +01:00
Daniel Roe
6d62b65f97
fix(schema): remove obsolete terser option from webpack config (#21407) 2023-06-07 12:46:08 +01:00
Wilson Pinto
0f4ae15cee
fix(kit): temporarily inline lodash.template from lodash-es (#20892) 2023-06-05 22:52:43 +01:00
anhao
67f2232014
fix(vite): skip generating keys for locally scoped functions (#20955) 2023-06-05 20:15:12 +01:00
Daniel Roe
ec72066f91
fix(nuxt): key distinct pages differently for legacy asyncData (#21263) 2023-06-05 19:36:26 +01:00
Wilson Pinto
1e6d640bf7
fix(schema): add types for vue experimental features (#21364) 2023-06-05 00:06:01 +01:00
Lehoczky Zoltán
fd6a9b2ead
fix(schema): update vue-loader options type (#21363) 2023-06-04 23:07:53 +01:00
Daniel Roe
a302fe8062
perf(nuxt): avoid watching nested paths (#21256) 2023-05-31 14:11:46 +01:00
Daniel Roe
4e6369cefa docs: link to correct webpack css extraction loader
resolves #21058
2023-05-25 09:17:21 -05:00
Lehoczky Zoltán
2518cf8d37
fix(schema): remove duplicate @default jsdoc tag (#21010) 2023-05-22 19:12:58 +01:00
Daniel Roe
9dea9bc1b2
perf(nuxt): use granular watcher to avoid crawling ignored dirs (#20836) 2023-05-18 14:44:24 +01:00
Daniel Roe
038c84c4b1
fix(nuxt): add types for webpack/vite environments (#20749) 2023-05-15 17:17:39 +01:00
Daniel Roe
95a0e17898
feat(schema): enable rich json payloads by default (#20770) 2023-05-10 23:31:13 +01:00
Daniel Roe
a33d2e7aec chore: update target for externalVue removal 2023-05-10 22:57:51 +01:00
Julien Huang
018bf125ab
feat(nuxt): add apps to nuxt build-time instance (#20637) 2023-05-09 23:46:03 +01:00
Eduardo San Martin Morote
5781cf1569
feat(nuxt): add experimental typedPages option (#20367) 2023-05-09 18:08:07 +01:00
Daniel Roe
566fa85fc8
fix(nuxt): run page meta plugin on all pages (and only pages) (#20628)
Co-authored-by: Julien Huang <julien.huang@outlook.fr>
2023-05-03 15:14:12 +01:00
Anthony Fu
fb76b3931a
feat(nuxi): allow greater control of nuxi analyze from cli (#20387) 2023-05-02 14:24:11 +01:00
Daniel Roe
8b86d39e30
refactor(schema): move runtimeCompiler option out of experimental (#20606) 2023-05-01 17:39:07 +01:00
Daniel Roe
8353e4c66e
feat(nuxt): allow access to components within app (#20604) 2023-05-01 17:35:00 +01:00
Anthony Fu
cd7f38988a
feat(webpack): introduce webpack:configResolved hook (#20412) 2023-04-29 23:37:29 +01:00
Anthony Fu
17ca50354b
feat(vite): introduce vite:configResolved hook (#20411) 2023-04-29 23:37:06 +01:00
Daniel Roe
65a8f4eb3e
fix(nuxt): restrict access to single renderer outside of test/rootDir (#20543) 2023-04-27 11:31:52 +01:00
Daniel Roe
dd0d13d425
fix(nuxt): improved typing support for app config (#20526) 2023-04-26 14:30:05 +01:00
Daniel Roe
4c200e4a2a
fix(nuxi,schema): support devServer.https: true (#20498) 2023-04-25 15:33:29 +01:00
Daniel Roe
a086af9692
perf: allow using @parcel/watcher for dev watcher (#20179) 2023-04-19 22:02:52 +01:00
Daniel Roe
83f0103a47
fix(schema): rely on installed telemetry types (#19640) 2023-04-19 22:02:15 +01:00
Daniel Roe
f366ab4eb8
chore: remove @ts-ignore and fix some issues (#20273) 2023-04-14 13:53:21 +01:00
Julien Huang
163913a744
feat(nuxt): add experimentalNoScripts route rule (#19805) 2023-04-11 07:17:44 -07:00
Harlan Wilton
4da289d150
fix(schema): allow ignorePrefix to be changed (#20202) 2023-04-11 06:55:25 -07:00