Commit Graph

321 Commits

Author SHA1 Message Date
pooya parsa 265db50515
refactor(nuxt)!: cleanup schema and split nuxt 2 types (#8487) 2022-10-27 12:36:37 +02:00
renovate[bot] 24b06309ec
chore(deps): update all non-major dependencies (#8507)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-27 12:29:20 +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 ea7890c6b2
build(pkg): support node 19 (#8324) 2022-10-19 14:58:45 +02:00
Daniel Roe 09e553467e
v3.0.0-rc.12 (#8067)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-10-18 20:47:21 +02:00
Pooya Parsa 05fd222219 update nitropack to final 0.6.0 2022-10-18 20:10:41 +02:00
pooya parsa 2b2a5f3f89
fix(nuxt): ignore cache rules for middleware and errors (#8291) 2022-10-18 20:01:23 +02:00
renovate[bot] e0d6812b66
chore(deps): update all non-major dependencies (#8286)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-18 18:14:29 +02:00
renovate[bot] c14f9f5638
chore(deps): update all non-major dependencies (#8265)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-18 12:36: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 include`workspaceDir` 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 7ebd1558ee
refactor: use `getRouteRules` (#8251) 2022-10-17 15:55:29 +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
renovate[bot] 0cfc5a2dd3
chore(deps): update all non-major dependencies (#8217) 2022-10-15 20:44:42 +02:00
pooya parsa 895ecc7677
feat!: upgrade to `nitropack@0.6` and `h3@0.8` (#8218) 2022-10-15 20:42:57 +02:00
Harlan Wilton c0e9f428f4
fix(nuxt): avoid head dom update on same route click (#8206) 2022-10-15 18:57:58 +02:00
Daniel Roe 6dcff8e428
feat(nuxt): add hook debug mode (#7690) 2022-10-15 12:56:15 +02:00
renovate[bot] afe2e5fb19
chore(deps): update all non-major dependencies (#8141)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-13 17:54:38 +02:00
Harlan Wilton 9e6d292ba6
feat(nuxt): migrate to latest `@vueuse/head` (#8000) 2022-10-12 18:00:17 +01:00
renovate[bot] c3cda557f3
chore(deps): update all non-major dependencies (#8073)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-10 11:51:29 +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
renovate[bot] abe94529db
chore(deps): update all non-major dependencies (#7842)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-09 20:33:19 +01:00
Daniel Roe e71a59985e
fix(schema): declare `untyped` dependency (#8064) 2022-10-09 15:05:58 +01:00
Daniel Roe 1477d3759e
feat(nuxt): allow configuring plugins directory (#7981) 2022-10-07 09:13:12 +02:00
Daniel Roe 5b8499cdba
chore: downgrade node v16 minor (#7865) 2022-10-03 16:07:00 +02:00
Daniel Roe 6d3dc3b280
chore: clean up some root workspace dependencies (#7931) 2022-10-03 15:35:52 +02:00
Daniel Roe 1c26e07141
feat(nuxt): support `redirect` within page metadata (#7746) 2022-09-22 15:54:34 +02:00
pooya parsa 6309d223bb
v3.0.0-rc.11 (#7565) 2022-09-20 18:38:31 +02:00
pooya parsa 720da64b12
fix(nuxi, vite): support https with custom domain and hmr (#7680) 2022-09-20 12:54:52 +02:00
renovate[bot] df72a3eb34
chore(deps): update all non-major dependencies (#7649) 2022-09-20 10:20:03 +02:00
renovate[bot] fc41df04a5
chore(deps): update all non-major dependencies (#7561)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-19 10:46:33 +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
renovate[bot] 391ba89243
chore(deps): update all non-major dependencies (#7523)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-15 09:47:31 +02:00
pooya parsa 94377b1901
v3.0.0-rc.10 (#7374) 2022-09-14 18:27:11 +02:00
Mahdi Boomeri f76c0fe450
docs(schema): change srcDir example to `src/` (#7503) 2022-09-14 17:25:07 +02:00
renovate[bot] b8cb206dd0
chore(deps): update dependency c12 to ^0.2.12 (#7506)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-14 17:16:06 +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
renovate[bot] 4e0c2c4485
chore(deps): update all non-major dependencies (#7276)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-06 18:15:47 +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
renovate[bot] 2db8fec006 deps(vite): update vite to `3.1.x` (#7241) 2022-09-05 13:41:55 +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 9caa9ca31f
v3.0.0-rc.9 (#6970) 2022-09-03 12:36:47 +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
renovate[bot] 7e2fbcfb1d
chore(deps): update all non-major dependencies (#6785)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-22 10:50:29 +02:00
renovate[bot] aeeeef5b95
chore(deps): update all non-major dependencies (#6746)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-18 14:12:07 +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
renovate[bot] f33516612c
chore(deps): update dependency defu to ^6.1.0 (#6687)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-16 18:54:02 +02:00
renovate[bot] 43d331ee47
chore(deps): update dependency defu to ^6.0.1 (#6678)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-16 15:22:32 +02:00
renovate[bot] 49acae5f02
chore(deps): update dependency vite to ~3.0.8 (#6674)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-16 15:14:41 +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
renovate[bot] 47eaaa1a78
chore(deps): update all non-major dependencies (#6576)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-13 08:44: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
renovate[bot] cb98c8b921
chore(deps): update all non-major dependencies (#6565)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-12 18:15:51 +02:00
Daniel Roe 0a513a56b1
feat(webpack, vite): default to `.js` extension for client (#6505) 2022-08-12 16:16:08 +02:00
pooya parsa 3960f513c3
v3.0.0-rc.8 (#6526) 2022-08-12 15:35:33 +02:00
renovate[bot] 21c5a7579e
chore(deps): update all non-major dependencies (#6537)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-12 00:27:19 +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 5ea0474225
v3.0.0-rc.7 (#6375) 2022-08-11 12:40:11 +02:00
renovate[bot] 5db559be13
chore(deps): update all non-major dependencies (#6492)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-11 10:03:34 +02:00
renovate[bot] cd5c88d19f
chore(deps): update all non-major dependencies (#6478)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-10 14:10:03 +02:00
pooya parsa 3e27c1c52b
fix(nuxt): interopDefault for page component imports (#6468) 2022-08-09 20:25:35 +02:00
renovate[bot] 90bd6b0bb6
chore(deps): update all non-major dependencies (#6459)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-09 15:37:12 +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