Commit Graph

401 Commits

Author SHA1 Message Date
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