Commit Graph

343 Commits

Author SHA1 Message Date
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
Daniel Roe
4285092879
feat(nuxt): support object-syntax plugins (#20003) 2023-04-11 04:58:43 -07:00
Daniel Roe
d6c3c2439a
feat(nuxt): support async transform of object properties (#20182) 2023-04-10 14:57:13 -07:00
Daniel Roe
e99f923aa5
feat(nuxt): add experimental View Transitions API support (#20092) 2023-04-10 04:33:14 -07:00
Anthony Fu
11a9780c80
feat(nuxt): prompt to install devtools when it's enabled (#20126) 2023-04-07 08:34:11 -07:00
Harlan Wilton
0c9823eb87
perf(head): disable @vueuse/head polyfill by default (#20131) 2023-04-07 06:10:35 -07:00
pooya parsa
9e503be0f2
feat(nuxt): experimental option for rich json payloads (#19205)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-04-07 03:34:35 -07:00
Daniel Roe
d4f718d8cd
refactor(schema): clean up experimental options (#20112) 2023-04-07 03:05:09 -07:00
Julien Huang
3fc9a75070
feat(nuxt): support vue runtime compiler (#4762) 2023-04-06 04:51:32 -07:00
Daniel Roe
f40b3e2492
feat(nuxt): support ~/~~/@/@@ aliases within layers (#19986) 2023-04-03 06:18:24 -07:00
Daniel Roe
c660b39447
fix(nuxt): disable x-nuxt-no-ssr header by default (#20024) 2023-04-03 03:39:01 -07:00
Daniel Roe
ae82d70895
fix(vite): allow extending vue config per-environment (#19968) 2023-03-29 03:59:57 -07:00
Daniel Roe
45cedd85bd
fix(schema): prefer src to rootDir aliases (#19937) 2023-03-28 01:37:06 -07:00
Daniel Roe
562cef24ca
perf(nuxt): experimentally disable vue server renderer nitro endpoint (#19825) 2023-03-23 09:04:40 +00:00
Anthony Fu
ce575b49e3
fix(nuxt): ignore falsy modules (#19684) 2023-03-19 16:16:13 -07:00
Daniel Roe
9d850a2a12
feat(nuxt): add nitro:build:public-assets hook (#19638) 2023-03-14 03:34:55 -07:00
Hyunseung Lee
e42d63a25a
fix(schema): show payloadExtraction warning only when unset (#18516)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-13 04:06:43 -07:00
Daniel Roe
60b4c48eb4
fix(nuxt,schema): merge custom and resolved app configs (#19602) 2023-03-11 14:53:28 -08:00
pooya parsa
6bd9b9448e
feat(kit, schema): measure module setup timings (#18648) 2023-03-10 03:30:22 -08:00
Harlan Wilton
c91e4d7933
feat(nuxt): add useHeadSafe and remove layer around head imports (#19548) 2023-03-10 00:01:21 -08:00
江麻妞
fdd4bddf35
docs: update various nitro links (#19562) 2023-03-09 07:25:47 -08:00
Daniel Roe
9036142b14
feat(nuxt): add watch option and refactor dev server restarting (#19530) 2023-03-09 03:46:08 -08:00
Daniel Roe
edaca1a299
fix(vite): allow disabling clear screen behaviour (#19531) 2023-03-09 01:19:02 -08:00
Julien Huang
1729d2e42f
feat(nuxt): add <NuxtClientFallback> component (#8216) 2023-03-08 13:13:06 -08:00
Harlan Wilton
8732720221
perf(head): drop @vueuse/head dependency (#19519) 2023-03-08 07:32:24 -08:00
Daniel Roe
df3ae8cb4e
feat(nuxt): enable chunk error handling by default (#19086) 2023-03-08 12:17:22 +00:00
Anthony Fu
624314600d
feat(vite): use custom logger to show vite logs (#19523) 2023-03-08 03:56:41 -08:00
Daniel Roe
60d07df4cc
feat(nuxt): support custom keyed composables (#19490) 2023-03-07 13:06:15 -08:00
Jakub Andrzejewski
3f1e02351d
feat(nuxi,schema): add support for setting nuxt logLevel (#19369) 2023-03-07 04:18:47 -08:00
Harlan Wilton
bb61496e98
feat(nuxt): allow configuring treeshakeable composables (#19383) 2023-03-07 01:30:05 -08:00
Samuel DIDIER-LAURENT
b9e6980a62
docs: update devServer.https example (#19486) 2023-03-06 14:54:40 -08:00
Daniel Roe
129bb4fa3a
feat(kit,nuxt): add component priority to allow overriding (#19252) 2023-03-06 03:33:40 -08:00
Alexander Lichter
a670e07703
docs: fix link to nitro routeRules (#19455) 2023-03-05 10:10:56 +00:00
pooya parsa
71225e50c5
feat(nuxt): enable config schema by default (#19172) 2023-03-04 06:39:26 -08:00
Daniel Roe
3681bddfd5
feat(nuxt): auto-register modules in ~/modules (#19394) 2023-03-03 17:52:55 +00:00
Ivan
7131aef820
feat(schema): allow adding page routes without a matching file (#19173) 2023-03-03 06:07:42 -08:00
Anthony Fu
db5ea91916
feat(nuxi): cli wrapper for self restart (#18641) 2023-03-03 05:45:38 -08:00
Xin Du (Clark)
654b9a21d7
fix(schema): update vite import.meta types (#19338) 2023-03-03 02:20:15 -08:00
Jakub Andrzejewski
5cfd835163
feat(nuxi): reload nuxt when restart hook is called (#19084) 2023-03-01 04:15:01 -08:00
Hamish Claxton
c45b842037
fix(nuxi): read devServer options from nuxt config (#19055) 2023-02-16 05:17:56 -08:00
Nick Williams
9dc5413cbd
fix(vite): respect isCustomElement config for jsx transform (#19053) 2023-02-16 04:45:08 -08:00
Daniel Roe
96b09ea982
feat(nuxt): add experimental app:chunkError hook and reload strategy (#19038) 2023-02-16 04:43:58 -08:00
Daniel Roe
80f73d39ce docs: remove reference to obsolete static property
resolves #15009
2023-02-15 12:54:49 +00:00
Daniel Roe
19bef5aba4
fix(schema): allow type inference of arrays in runtime config (#18931)
* fix(schema): allow type inference of arrays in runtime config

* test: add types fixture
2023-02-10 07:36:10 +00:00
Daniel Roe
01076d144f
feat(schema): add type hints for runtime config (#18652) 2023-02-06 15:27:35 -08:00
Lucas
198f9a23ec
docs(schema): add NuxtHooks interface documentation (#18756) 2023-02-05 04:17:15 -08:00
pooya parsa
637b88304e
fix(kit): avoid adding already installed modules to internal _installedModules (#18647) 2023-01-31 17:44:19 +01:00
Daniel Roe
5037dd6876
fix: use named export from defu in all places (#18624) 2023-01-30 04:09:48 -08:00
Daniel Roe
b8f6243621
fix(nuxt): provide fallback values for undefined runtime config (#18586) 2023-01-28 07:18:04 -08:00
pooya parsa
1af319e0fa
feat: experimental config schema (#18410) 2023-01-23 19:07:21 +01:00
Daniel Roe
19973c26f4 chore: update more repo links 2023-01-20 13:37:41 +00:00
Daniel Roe
081dc3254f chore: update internal repo/issue links to usenuxt/nuxt 2023-01-19 19:37:07 +00:00
Jose Morel
baf9d950db
feat(vite): support build.transpile as function (#7767)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-19 10:56:34 +00:00