Commit Graph

250 Commits

Author SHA1 Message Date
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
Daniel Roe
a68da6d6a7
chore: case police update (#10085) 2023-01-13 15:00:57 +00:00
Anthony Fu
586df1a817
feat(imports): imports:context hook for unimport context (#9971) 2023-01-09 11:35:44 +00:00
Daniel Roe
a3a0f005fa
docs: remove nuxt 2 information from generate schema (#10002) 2023-01-09 09:52:56 +00:00
BetonZM
f3263ebb9d
docs: clarify plugins are auto-registered, remove components default (#9815)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-02 19:18:50 +01:00
Anthony Fu
faf260757c
feat(vite): display production build stats (#9761) 2022-12-19 12:57:08 +01:00
Sébastien Chopin
c0be933b02
docs: link to nuxt.com instead of v3.nuxtjs.org (#9786) 2022-12-19 11:50:01 +00:00
Daniil Chudo
ab2456c295
refactor: split out type imports from value imports (#9225) 2022-12-11 21:44:52 +00:00
Rami Menai
73bbae3308
docs(schema): add example and description for imports.dirs (#9346) 2022-11-28 12:00:26 +01:00
Daniel Roe
ab125bd1c5
feat(nuxt): experimental server component islands (#5689)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-11-24 13:24:14 +01:00
Nathan Chase
13e4f8b679
fix: remove postcss.config from schema (#9181) 2022-11-19 14:49:37 +01:00
Daniel Roe
38d7f61ac2
fix(schema): initialise runtimeConfig.public with empty object (#9050) 2022-11-16 12:42:25 +01:00
pooya parsa
5ac9d85a49
refactor!: remove deprecated api (#9029) 2022-11-16 03:26:35 +01:00
pooya parsa
6e78f9dbb0
fix(nuxt)!: enable payload extraction only for nuxi generate (#9018) 2022-11-15 17:27:34 +01:00
Harlan Wilton
fddc8b2e6e
feat(nuxt, schema): official @vueuse/head v1 support (#8975) 2022-11-15 17:26:38 +01:00
Daniel Roe
74b81bbeaa
refactor(kit)!: remove support for module container (#9010) 2022-11-15 14:22:14 +01:00
pooya parsa
0ff4ebe808
feat: allow customizing root id and tag (#8883) 2022-11-10 12:41:02 +01:00
Daniel Roe
4bbd2618ce
feat(nuxt): auto-import utils/ directory (#8817) 2022-11-09 10:43:16 +01:00
Daniel Roe
4e8f59bf70
fix(schema): add declarations to ignore list (#8787) 2022-11-09 10:01:09 +01:00
pooya parsa
44b4100e4c
fix(vite): enable fs strict mode (#8674) 2022-11-03 23:03:15 +01:00
pooya parsa
ea17148a6b
feat(kit, nuxt): support prerender:routes and addPrerenderRoutes (#8670) 2022-11-03 22:03:12 +01:00
Daniel Roe
f3fbef981c
fix(schema)!: use strict typescript mode by default (#8667) 2022-11-03 20:19:23 +01:00
Pascal Sthamer
2cbdf3684d
docs: add information about type checking to typescript.typeCheck config. (#8632)
#8630
2022-11-03 15:04:37 +01:00
pooya parsa
265db50515
refactor(nuxt)!: cleanup schema and split nuxt 2 types (#8487) 2022-10-27 12:36:37 +02:00
Daniel Roe
95ae87ba05
fix(schema): disable early hints by default (#8486) 2022-10-26 10:48:47 +02:00
Ondřej Misák
6d830c7629
docs: add note about early hints and nginx (#8485)
resolves https://github.com/nuxt/framework/issues/8306
2022-10-26 10:28:41 +02:00
Anthony Fu
bbea416c23
feat: upgrade unimport to 0.7.0 (#8483) 2022-10-26 10:28:00 +02:00
Daniel Roe
59d8c51b5b
refactor(schema)!: disable app.pageTransition and app.layoutTransition by default (#8436) 2022-10-24 17:23:49 +02:00
Daniel Roe
5a88510cb7
feat(kit): add updateTemplates utility (#8413) 2022-10-24 10:53:02 +02:00
Johnson Chu
5c6efdc945
docs: update links for external tools (#8382) 2022-10-21 10:08:48 +02:00
Daniel Roe
96a8807abf
fix(nuxt): allow disabling early hints (#8264) 2022-10-17 22:20:13 +02:00
Daniel Roe
931ebec376
fix(nuxi): don't includeworkspaceDir in tsconfig by default (#8256) 2022-10-17 19:53:04 +02:00
Daniel Roe
e44404f8e3
fix(schema): routeRules config (#8252) 2022-10-17 16:10:46 +02:00
Daniel Roe
df2bad76bc
feat(schema): add experimental routesRules shortcut (#7954)
* feat(schema): add `routes` as shortcut for `nitro.routes`

* docs: improve wording

* docs: update wording

* chore: match nitro version

* update jsdocs

* refactor: use `routeRules`

Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-10-17 13:22:30 +02:00
Daniel Roe
2a4ebfb18b
perf(nuxt): improve link prefetching (#8225) 2022-10-17 13:15:29 +02:00
pooya parsa
895ecc7677
feat!: upgrade to nitropack@0.6 and h3@0.8 (#8218) 2022-10-15 20:42:57 +02:00
Daniel Roe
6dcff8e428
feat(nuxt): add hook debug mode (#7690) 2022-10-15 12:56:15 +02:00
Harlan Wilton
9e6d292ba6
feat(nuxt): migrate to latest @vueuse/head (#8000) 2022-10-12 18:00:17 +01:00
Daniel Roe
81a8a25834
feat(schema, nuxt): allow user-configurable serverDir (#7868) 2022-10-10 11:49:44 +01:00
Daniel Roe
e94c3b3704
fix(schema): evaluate env variables when resolving values (#8079) 2022-10-10 11:04:58 +01:00
Daniel Roe
1477d3759e
feat(nuxt): allow configuring plugins directory (#7981) 2022-10-07 09:13:12 +02:00
Daniel Roe
1c26e07141
feat(nuxt): support redirect within page metadata (#7746) 2022-09-22 15:54:34 +02:00
pooya parsa
720da64b12
fix(nuxi, vite): support https with custom domain and hmr (#7680) 2022-09-20 12:54:52 +02:00
pooya parsa
5605f1ce18
feat: allow disabling payload extraction (#7588) 2022-09-16 12:14:41 +02:00
pooya parsa
43b9bcaeaf
fix(nuxi, vite): ipv6 support for nuxi dev (#7560)
* fix(nuxi): ipv6 support for `nuxi dev`

* fix vite: use listener url directly

* add url to schema
2022-09-15 18:10:36 +02:00
Alexander Lichter
1f3d9a1e84
fix(schema): only disallow vite server port and host (#7554) 2022-09-15 14:21:58 +02:00
Daniel Roe
b2f147d5e2
fix(schema): update resolver for cssSourceMap with new sourcemap format [bridge] (#7541) 2022-09-15 13:10:36 +02:00
Mahdi Boomeri
f76c0fe450
docs(schema): change srcDir example to src/ (#7503) 2022-09-14 17:25:07 +02:00
pooya parsa
c98e5c774d perf: enable treeshakeClientOnly flag by default (#7484) 2022-09-14 12:41:12 +02:00
Daniel Roe
31de18100c
perf(nuxt): only inject preload helper when webpack is used (#7460) 2022-09-13 12:57:14 +02:00
Daniel Roe
3753ea0ead
feat(nuxt): add workspaceDir option and add it to modulesDir (#7439) 2022-09-12 22:06:17 +02:00
pooya parsa
ceb61ada2b
refactor(schema): upgrade to untyped 0.5 (#7452) 2022-09-12 20:22:41 +02:00
Daniel Roe
d81a742311
fix(schema): resolve ssr (#7359) 2022-09-08 16:15:33 +02:00
Daniel Roe
bb8942a401
fix(schema): mark vite server as optional (#7327) 2022-09-07 17:38:15 +02:00
Daniel Roe
eab4706614
feat: allow client-side sourcemaps in production (#7313) 2022-09-07 13:32:10 +02:00
Alexander Lichter
ec210190d1
fix(schema): disallow setting vite server properties (#7317) 2022-09-07 13:26:06 +02:00
Daniel Roe
2bb898fa98
fix(webpack): promisify webpack dev/hot handlers using h3.promisifyHandler (#7275) 2022-09-07 10:35:21 +02:00
Daniel Roe
cc87d2a37a
feat(nuxt): support experimental flag to render no client-side js (#7248) 2022-09-05 15:46:47 +02:00
Kévin Schnekenburger
4bd1be9174
feat(nuxt): allow extending routes with custom alias (#7074)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-05 09:53:01 +02:00
Tobias Diez
27c11884b4
docs: extend description of server handlers (#7187)
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2022-09-05 09:33:07 +02:00
pooya parsa
ac56ce7dd1
feat(nuxt): router with hash mode (#6980) 2022-09-04 10:11:28 +02:00
Daniel Roe
720506d263
feat(nuxt): custom history and routes for app/router.options.ts (#7129)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-04 09:42:47 +02:00
Daniel Roe
de62520990
feat(nuxt, vite): inline global and component styles in server response (#7160)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-03 15:03:30 +02:00
pooya parsa
68d12b468b
feat: allow extending with theme config (#7131) 2022-09-01 12:05:02 +02:00
Lay
d50b01e348
fix(schema): sync types of vite v3.x (#7104)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-08-31 20:21:58 +02:00
Daniel Roe
75053c29c2
style(schema): lint (#7025) 2022-08-29 12:42:05 +02:00
Daniel Roe
2d071eb48c
docs(schema): update prefix for runtime config env variables (#6999) 2022-08-29 11:47:02 +02:00
Anthony Fu
9db2229f70
refactor: enable strict type checking everywhere (#6943) 2022-08-26 17:47:29 +02:00
Anthony Fu
856c2a6fbd
feat(nuxt): imports.autoImport option to disable auto-imports (#6768) 2022-08-24 10:44:38 +02:00
Daniel Roe
fc82b3b340
feat(nuxt): config options for default keepalive, page & layout transitions (#5859) 2022-08-23 16:24:20 +02:00
Anthony Fu
fd94351ee9
refactor(nuxt)!: rename autoImports to imports (#6864)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-23 16:22:11 +02:00
Daniel Roe
51dc73628c
feat!(schema): enable external vue by default (#6868) 2022-08-23 13:35:00 +02:00
Anthony Fu
e1e39b7e79
refactor(nuxt, kit): improve type strictness (#6685) 2022-08-22 12:12:02 +02:00
pooya parsa
94f76ea930
feat(nuxt): app.config with hmr and reactivity support (#6333)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-08-17 17:23:13 +02:00
Ilya Artamonov
657719f689
docs: update links to nitro.unjs.io (#6684)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-16 19:29:46 +02:00
Daniel Roe
94214d6b32
feat(nuxt): exclude page chunks from being prefetched (#6662) 2022-08-16 13:19:39 +02:00
pooya parsa
dae836a81d
feat(vite): allow disabling entry warmup (#6647)
* feat(vite): allow opt-out from warming up entries

* refactor: move to `warmupEntry`
2022-08-15 18:01:34 +02:00
Anthony Fu
1b2304b632
feat(schema, vite)!: enable vite-node by default (#6217)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-13 14:43:26 +02:00
Anthony Fu
f350a70775
refactor(nuxt): enable strict type checking (#6368)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-12 19:47:58 +02:00
Daniel Roe
0a513a56b1
feat(webpack, vite): default to .js extension for client (#6505) 2022-08-12 16:16:08 +02:00
Timur Bolotov
e55938fe6e
docs(schema): grammar, punctuation and typo fixes (#6469)
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2022-08-11 23:25:35 +02:00
pooya parsa
3e27c1c52b
fix(nuxt): interopDefault for page component imports (#6468) 2022-08-09 20:25:35 +02:00
pooya parsa
ee36ddf516
fix(nuxt): add viteServerDynamicImports as experimental flag (#6433) 2022-08-08 15:25:58 +02:00
Nathan Chase
70aec38428
docs: update vue-router links (#6421) 2022-08-08 10:27:19 +02:00
Daniel Roe
fc1d7d9507
fix(schema): cleanup meta tags and deduplicate charset and viewport (#6378) 2022-08-07 11:53:53 +02:00
Timur Bolotov
2cbdc5c07f docs: add missing periods 2022-08-07 11:02:31 +02:00
Haytham Salama
58abefc326
docs(schema) : add a missing comma in example config (#6394) 2022-08-05 21:00:40 +02:00
pooya parsa
e3534bcda5
fix(nuxi, kit): enable esmResolve flag for jiti (#6356) 2022-08-04 15:22:32 +02:00
Daniel Roe
8b5159f3c0
fix(webpack): output .mjs to use crossorigin preloads (#6232) 2022-07-29 14:50:02 +02:00
pooya parsa
e6f957ab32
chore(schema): update vite config types (#6230) 2022-07-29 14:34:55 +02:00
Daniel Roe
968087bcc5
fix(schema): add typings for vite.vue options (#6220)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-07-29 11:57:45 +01:00
Daniel Roe
4e2667fcb7
feat(nuxt): add support for components/global (#6070)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-27 15:05:34 +02:00
Daniel Roe
12ebe3aeb6
fix(schema): exclude functions from DeepPartial (#6176) 2022-07-27 15:04:14 +02:00
Daniel Roe
54da45e7a1
fix(schema): add empty noscript array (#6155) 2022-07-26 15:43:26 +02:00