Commit Graph

2480 Commits

Author SHA1 Message Date
renovate[bot] 538ba11804
chore(deps): update all non-major dependencies (#9312)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-28 11:58:58 +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
renovate[bot] 8089ec9652
chore(deps): update all non-major dependencies (#9258)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-24 12:57:24 +01:00
renovate[bot] 2d7e2ca9ca
chore(deps): update all non-major dependencies (#9242)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-22 10:56:35 +01:00
Damian Głowala 4f2bfbe5c0
fix(nuxt): include missing `<NuxtPage>` component props (#9204)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-11-21 14:03:22 +01:00
renovate[bot] fdb61f4f9b
chore(deps): update all non-major dependencies (#9135)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-21 11:53:58 +01:00
Danil Zalizchuk e85e3ab6e5
refactor(nuxt): fix typo in internal plugin names (#9201) 2022-11-21 11:45:54 +01:00
renovate[bot] f920e526af
chore(deps): update dependency webpack-dev-middleware to v6 (#9211)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-21 11:42:44 +01:00
Nathan Chase 13e4f8b679
fix: remove `postcss.config` from schema (#9181) 2022-11-19 14:49:37 +01:00
renovate[bot] 190b3793b5
chore(deps): update all non-major dependencies (#9081)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-17 09:15:48 +01:00
pooya parsa d991a55ec3
v3.0.0 (#9051)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2022-11-16 15:56:11 +01:00
Toby Faux 32044dc8a5
fix(nuxt): allow union type arguments for `useAsyncData` (#9061) 2022-11-16 15:27:24 +01:00
pooya parsa de293300b8
fix(nuxi): upgrade with `latest` tag (#9060) 2022-11-16 15:07:40 +01:00
Daniel Roe 38d7f61ac2
fix(schema): initialise `runtimeConfig.public` with empty object (#9050) 2022-11-16 12:42:25 +01:00
renovate[bot] b5f75b5ec7
chore(deps): update all non-major dependencies (#9034)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-16 11:58:13 +01:00
Pooya Parsa 707268ef94 bump `@nuxt/telemetry` and `@nuxt/ui-templates` 2022-11-16 11:08:23 +01:00
pooya parsa d6bfa216ae
fix(nuxt): removed auto imports (#9045) 2022-11-16 10:59:45 +01:00
Harlan Wilton ed6ed058de
chore(deps): bump unhead and vueuse/head (#9036)
* chore: update @unhead

* chore: bump schema dep
2022-11-16 09:41:17 +01:00
Pooya Parsa 0faeb3b5a3 chore: switch nitropack to 1.0.0
this way range can accept patches
2022-11-16 03:38:42 +01:00
pooya parsa 55c9deb55d
v3.0.0-rc.14 (#8994) 2022-11-16 03:35:32 +01:00
pooya parsa 5ac9d85a49
refactor!: remove deprecated api (#9029) 2022-11-16 03:26:35 +01:00
pooya parsa ab7ec7822c
update dependencies (#9026) 2022-11-16 02:13:43 +01:00
renovate[bot] 6082135c97
chore(deps): update all non-major dependencies (#9025)
* chore(deps): update all non-major dependencies

* fix ts issue

* fix fallback

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-11-16 01:02:13 +01:00
renovate[bot] 9d81221486
chore(deps): update all non-major dependencies (#8915) 2022-11-15 18:36:57 +01:00
renovate[bot] a98e0c8b6c
chore(deps): update devdependency listhen to v1 (#9022)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-15 18:35:14 +01:00
renovate[bot] dcff9b5dcc
chore(deps): update devdependency giget to v1 (#9021)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-15 18:34:51 +01:00
Anthony Fu f1ae40fc4e
fix(nuxt): improve hmr for pages macros (#8940)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-11-15 18:15:44 +01:00
renovate[bot] 3fc29b98e6
chore(deps): update dependency untyped to v1 (#9020)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-15 17:47:57 +01:00
Daniel Roe f7850526e8
fix(nuxt)!: include request url and params in `useFetch` key (#6632) 2022-11-15 17:47:41 +01:00
renovate[bot] bc097a6e26
chore(deps): update dependency unplugin to v1 (#9019)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-15 17:32:22 +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
Mehdi HosseinZade f530cd7413
fix(kit): add external module to transpile (#8963) 2022-11-15 15:55:45 +01:00
Daniel Roe 2c2fbdffc9
refactor(nuxt)!: move `head` option support into `defineNuxtComponent` (#8901) 2022-11-15 15:47:17 +01:00
renovate[bot] dfce660875
update dependency unenv to v1 (#9016)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-15 15:43:55 +01:00
pooya parsa b49f2a8147
refactor: update unjs dependencies to stable v1 (#9011) 2022-11-15 15:33:43 +01:00
Daniel Roe 4c8369fbf3
fix(nuxt): include layers in esbuild transform (#9014) 2022-11-15 14:52:16 +01:00
Daniel Roe 74b81bbeaa
refactor(kit)!: remove support for module container (#9010) 2022-11-15 14:22:14 +01:00
pooya parsa 4a779460a5
fix(vite): add extend layers to `fs.allow` (#9006) 2022-11-15 11:53:32 +01:00
kevin olson 79d5634c69
docs: add a bit more detail in the `definePageMeta` warning to specify it needs to be in a page (#8923) 2022-11-14 11:28:31 +01:00
Julien Huang 8c4ff5c585
fix(nuxt): avoid passing attrs to default slot for ClientOnly (#8921) 2022-11-14 11:27:57 +01:00
renovate[bot] dcf2b75fb3
chore(deps): update all non-major dependencies to ^3.2.45 (#8910)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-11 11:18:24 +01:00
Percy Ma 2f53495033
feat(nuxi): auto-generate `.npmrc` and setting for pnpm (#7407)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-11-11 11:13:52 +01:00
renovate[bot] cd2e004edf
chore(deps): update all non-major dependencies (#8903)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-11 11:12:09 +01:00
renovate[bot] 3fc4924fca
chore(deps): update dependency pathe to ^0.3.9 (#8898)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 17:29:21 +01:00
Anthony Fu b4d7d62287
feat(nuxi)!: setup nuxt globally with `nuxt test` (#4578) 2022-11-10 15:55:47 +01:00
Daniel Roe e6351349c0
feat(nuxt): add `onBeforeRouteLeave` and `onBeforeRouteUpdate` composables (#8889) 2022-11-10 14:52:04 +01:00
Toby Faux 3e34a61506
fix(nuxt): use `app.baseURL` when fetching error page on server (#8888)
Co-authored-by: Toby Faux <tobyfaux@Tobys-MacBook-Pro.local>
2022-11-10 14:42:55 +01:00
pooya parsa 52c2bffa76
fix(nuxt)!: remove `initialCache` option (#8885) 2022-11-10 14:27:59 +01:00
pooya parsa 83b5c09090
fix(nuxt): preserve render errors (#8884)
* fix(nuxt): preserve render errors

* simplify logic
2022-11-10 13:28:20 +01:00
pooya parsa 0ff4ebe808
feat: allow customizing root id and tag (#8883) 2022-11-10 12:41:02 +01:00
Daniel Roe 9227361027
fix(nuxt): detect non-functional imports within page meta (#8881) 2022-11-10 11:31:01 +01:00
renovate[bot] 84c26fa6fb
chore(deps): update dependency ultrahtml to v1 (#8864)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 10:43:36 +01:00
renovate[bot] dd600bbb66
chore(deps): update all non-major dependencies (#8779) 2022-11-10 10:43:24 +01:00
Daniel Roe 46cf2566f1
fix(test-utils)!: use `vitest/node` subpath export (#8815) 2022-11-10 10:27:56 +01:00
Daniel Roe c32c1d0623
fix(nuxi): exclude `dist` from type checking (#8848) 2022-11-10 09:45:17 +01:00
Horu 62bbb91446
fix(test-utils): detect project root using `nuxt.config` with `.mjs` and `.cjs` extensions (#8855)
* fix(test-util): fix `.mjs` config file edge case

* Update packages/test-utils/src/nuxt.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-11-10 09:43:32 +01:00
Daniel Roe 17099348e7
fix(nuxt)!: only add `$f` fetch prefix to auto-keys (#8852) 2022-11-10 09:39:49 +01:00
pooya parsa 1496d3a07d
feat(nuxi): wrap and normalize all console outputs (#8846) 2022-11-09 11:55:40 +01:00
Daniel Roe 4bbd2618ce
feat(nuxt): auto-import `utils/` directory (#8817) 2022-11-09 10:43:16 +01:00
Daniel Roe 3839dba06a
refactor(nuxt): explicitly import app in nuxt-root (#8729) 2022-11-09 10:14:15 +01:00
Daniel Roe 453ce78300
fix(nuxt): swallow issues with query selectors (#8843) 2022-11-09 10:10:32 +01:00
Daniel Roe aec07f4255
style: lint `Route` interface (#8822) 2022-11-09 10:08:50 +01:00
Daniel Roe 5a32927935
fix(nuxt): do not render page if we are throwing error (#8821) 2022-11-09 10:08:37 +01:00
Daniel Roe 4d1be089d7
chore(nuxt): remove unused plugins (#8819) 2022-11-09 10:07:22 +01:00
Daniel Roe 10c2272f4f
refactor(nuxt)!: remove support for `404.vue` shorthand (#8809) 2022-11-09 10:05:22 +01:00
Alexander Lichter 0cf0f59bc5
fix(ssr): ensure useRequestHeaders are case-insensitive (#8805)
Co-authored-by: Haruaki OTAKE <aaharu@hotmail.com>
2022-11-09 10:04:19 +01:00
Alexander Lichter 15d4cea97e
feat(nuxt-link): add `isExternal` to slot props (#8800) 2022-11-09 10:02:11 +01:00
Daniel Roe 4e8f59bf70
fix(schema): add declarations to ignore list (#8787) 2022-11-09 10:01:09 +01:00
Daniel Roe 30d99477ce
fix(nuxt): add catchall paths to prerender list (#8782) 2022-11-09 10:00:34 +01:00
Daniel Roe e76ebdddd0
fix(nuxt): allow cookies to be set to `null` to unset them (#8769)
Co-authored-by: Magyar Balázs <magyarb94@gmail.com>
2022-11-09 09:59:23 +01:00
renovate[bot] ab3c65a975
chore(deps): update all non-major dependencies (#8707)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-07 11:36:10 +01:00
Agénor Debriat b60f1364c5
refactor(nuxt)!: fix typo for `NuxtRenderHTMLContext.bodyPrepend` (#8712) 2022-11-07 11:29:41 +01:00
Sébastien Chopin fe433a4222
fix(nuxt): check if global transitions are activated for scroll behavior (#8700) 2022-11-04 19:09:28 +01:00
pooya parsa bde9694733
v3.0.0-rc.13 (#8657) 2022-11-04 12:37:49 +01:00
pooya parsa 19a2cd1492
fix(nuxt): ensure payload url has no protocol (#8675) 2022-11-03 23:28:13 +01:00
pooya parsa 44b4100e4c
fix(vite): enable fs strict mode (#8674) 2022-11-03 23:03:15 +01:00
pooya parsa 9eb6a62471
fix: resolve ids to support pnpm (#8671) 2022-11-03 22:48:51 +01:00
pooya parsa 253c8f7ee0
fix(nuxt): disallow directly rendering error page (#8673) 2022-11-03 22:48:29 +01:00
pooya parsa ea17148a6b
feat(kit, nuxt): support `prerender:routes` and `addPrerenderRoutes` (#8670) 2022-11-03 22:03:12 +01:00
renovate[bot] 9a67b9e4f3
chore(deps): update dependency memfs to ^3.4.10 (#8668)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-03 21:39:24 +01:00
Pooya Parsa 5a43e68e77 chore: update nitropack to 0.6.1 2022-11-03 21:21:03 +01:00
Daniel Roe f3fbef981c
fix(schema)!: use strict typescript mode by default (#8667) 2022-11-03 20:19:23 +01:00
Daniel Roe cda498b070
fix(nuxt): do not inline global styles in html response (#8666) 2022-11-03 20:17:43 +01:00
renovate[bot] cda89b36e1
chore(deps): update all non-major dependencies (#8660)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-03 17:36:19 +01:00
Daniel Roe e450debc08
feat(kit): add `addServerPlugin` utility (#8635) 2022-11-03 15:54:05 +01:00
Daniel Roe 71ecffa234
fix(nuxt): don't force prerender `/` if user doesn't have that route (#8639)
* fix(nuxt): don't force prerender `/` if user doesn't have `~/pages/index.vue`

* docs: add code comment
2022-11-03 15:52:03 +01:00
Daniel Roe 496fa14468
feat(nuxt): allow setting `name` and `path` for a route in `definePageMeta` (#8633) 2022-11-03 15:05:38 +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
Daniel Roe 7c4899a7ab
fix(kit): normalize handler paths (#8626) 2022-11-03 15:04:02 +01:00
renovate[bot] d8c41e15b1
chore(deps): update all non-major dependencies (#8616)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-03 15:01:34 +01:00
Daniel Roe 491d02f6ca
fix(nuxt)!: use parser to generate page metadata (#8536) 2022-11-02 11:28:41 +01:00
Daniel Roe f485c143f5
fix(nuxt): check before appending comma in composable keys (#8529) 2022-11-02 11:15:33 +01:00
Daniel Roe bdacfa6ffe
fix(nuxt): pass async-data errors through to client (#8521) 2022-11-02 10:07:28 +01:00
Anthony Fu b719f1bb21
fix(vite): handle all vite middleware routes (#8601) 2022-11-02 10:05:17 +01:00
Daniel Roe 28ffb7fea0
fix(nuxt): add `vue-router` to optimized deps (#8544) 2022-11-02 09:53:23 +01:00
renovate[bot] 80871e7235
chore(deps): update all non-major dependencies (#8531)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-02 09:52:28 +01:00
pooya parsa 1f6b3be7d4
fix(nuxt, nuxi): improve `pages` creation and removal dx (#8502) 2022-10-27 17:50:24 +02:00
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 2284525662
fix(kit): don't require nuxt context when resolving path (#8504) 2022-10-26 15:55:11 +02:00
Sacha STAFYNIAK b010e3e861
feat: add dev-only component (#7950) 2022-10-26 14:43:37 +02:00
renovate[bot] 8e1bcae8c6
chore(deps): update all non-major dependencies (#8435)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-10-26 13:16:56 +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 12808f175b
fix(nuxt): allow responding with custom headers from `error.vue` (#8469) 2022-10-26 10:25:27 +02:00
Daniel Roe 1d795f0274
fix(nuxt): call data refresh hook in parallel (#8470) 2022-10-25 17:29:35 +02:00
Daniel Roe 91eab1b312
feat(nuxt): add dev warnings when `setPageLayout` is used incorrectly (#8464) 2022-10-25 14:25:49 +02:00
Daniel Roe 452766e90e
fix(test-utils): override `NITRO_PORT` as well (#8458) 2022-10-25 11:17:24 +02:00
Daniel Roe 54da6f81a0
fix(kit): use `pathe` to resolve aliases (#8453) 2022-10-25 10:24:09 +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
renovate[bot] 5e93604546
chore(deps): update all non-major dependencies (#8399)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-24 10:44:32 +02:00
Daniel Roe e7e7568288
fix(webpack): print build errors (#8388) 2022-10-24 10:44:19 +02:00
Daniel Roe 6bcd9cdeb1
fix(nuxt): avoid directly importing `vue-router` inside `<NuxtLayout>` (#8421) 2022-10-24 10:36:49 +02:00
Daniel Roe 4536242245
fix(vite): invalidate virtual modules with `vite-node` (#8389) 2022-10-24 10:32:49 +02:00
Daniel Roe e1ab5cf6d6
fix(nuxt): don't load payloads for external urls (#8370) 2022-10-21 10:27:58 +02:00
Christian Burkhart a0a59e2157
fix(nuxt): routerBehavior comparison for hash block (#8383) 2022-10-21 10:27:40 +02:00
Daniel Roe 69a6a86d7c
feat(nuxt): make `useFetch` options reactive (#8374) 2022-10-21 10:13:14 +02:00
Johnson Chu 5c6efdc945
docs: update links for external tools (#8382) 2022-10-21 10:08:48 +02:00
renovate[bot] 046a65fb1a
chore(deps): update all non-major dependencies (#8350)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-20 15:17:31 +02:00
pooya parsa 0f2ef5d412
perf(nuxt): use simple `JSON.stringify` to compare params (#8340) 2022-10-19 17:31:05 +02:00
pooya parsa 9415f54a1a
fix(nuxi): update analzye main handler (#8339) 2022-10-19 17:29:20 +02:00
Johann Schopplich 7b16719649
fix(nuxt): router defaults overwrite custom options always (#8334) 2022-10-19 16:48:16 +02:00
Sébastien Chopin 0106e09e32
fix(nuxt): scroll to top on dynamic routes with different params (#8327)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-10-19 16:33:01 +02:00
pooya parsa 418b5671ff
fix: update h3 (#8329) 2022-10-19 15:59:11 +02:00
Daniel Roe 3333ef8dae
chore(nuxt): add type for headers (#8326) 2022-10-19 15:28:38 +02:00
Daniel Roe 654ddd412a
refactor(test-utils)!: update vitest args (#8325) 2022-10-19 15:10:51 +02:00
Dmitriy d82d145a0b
fix(nuxt): pass original request headers to the error page (#7340) 2022-10-19 15:03:01 +02:00
Anthony Fu fa36ef1106
chore: upgrade vitest to 0.24 (#6764)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-10-19 14:59:45 +02:00
Daniel Roe ea7890c6b2
build(pkg): support node 19 (#8324) 2022-10-19 14:58:45 +02:00
Joel Wenzel ba3a11800c
feat(nuxt): default router scroll behavior (#3851)
Co-authored-by: joel <joel.wenzel@flexagon.com>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-10-19 14:43:03 +02:00
renovate[bot] 0bd6ecb71c
chore(deps): update dependency destr to ^1.2.0 (#8321)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-19 12:41:33 +02:00
Daniel Roe d3f3f9f348
fix(nuxt): don't use or assignment (#8299) 2022-10-19 09:55:32 +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
Daniel Roe cfaa46201a
fix(nuxt): lazy-load entry CSS (#8278) 2022-10-18 18:13:50 +02:00
renovate[bot] 290bbd392b
chore(deps): update dependency h3 to ^0.8.3 (#8277)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-18 12:46:31 +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
Anthony Fu e18da780a8
chore: upgrade unplugin to 0.10.x (#8271) 2022-10-18 11:36:06 +02:00
Anthony Fu 6567ac375d
feat(kit): support plugin array for `addVitePlugin` and `addWebpackPlugin` (#8270) 2022-10-18 11:09:11 +02:00
Daniel Roe 96a8807abf
fix(nuxt): allow disabling early hints (#8264) 2022-10-17 22:20:13 +02:00
Daniel Roe a90b303d97
fix(nuxt): avoid preloading external routes (#8255) 2022-10-17 19:54:32 +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