Commit Graph

3092 Commits

Author SHA1 Message Date
Daniel Roe b8f6243621
fix(nuxt): provide fallback values for undefined runtime config (#18586) 2023-01-28 07:18:04 -08:00
renovate[bot] ec977c5877
chore(deps): update all non-major dependencies (main) (#18537)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-25 22:39:42 -08:00
Daniel Roe deb0837c16
chore: bump version to v3.1.1 (#18524) 2023-01-25 14:04:45 -08:00
Daniel Roe 7d812db9e8
fix(nuxt): augment interfaces exported from `vue` (#18505) 2023-01-25 07:59:02 -08:00
Daniel Roe 1d68b51c2c
fix(nuxt): async transform for inline middleware (#18460) 2023-01-25 04:52:00 -08:00
renovate[bot] 527dfbb5cf
chore(deps): update all non-major dependencies (main) (#18510)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-25 04:44:25 -08:00
Daniel Roe 23e5f980ea
fix(vite): ensure newly created pages do not return 404 (#18447)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2023-01-25 04:24:58 -08:00
Daniel Roe fdb31f418f
fix(nuxt): don't render unknown components with placeholder (#18494) 2023-01-25 02:30:59 -08:00
Daniel Roe 9751c9dab7
fix(nuxt): do not override inferred type of `<NuxtPage>` (#18495) 2023-01-25 00:44:59 -08:00
Daniel Roe c552d1b420
v3.1.0 (#18406) 2023-01-24 16:47:20 +00:00
Daniel Roe 1d9eef401a
chore: upgrade nitropack to v2 (#18483) 2023-01-24 16:43:51 +00:00
Daniel Roe f711046171
perf(nuxt): add tree-shaken `useServerSeoMeta` composable (#18476) 2023-01-24 15:34:20 +00:00
Anthony Fu bb41265442
fix: upgrade unimport (#18475) 2023-01-24 11:11:36 +00:00
Anthony Fu e0c89e5c0e fix: upgrade unimport, close #15594 2023-01-24 11:30:10 +01:00
Daniel Roe 629d2c099e fix(nuxt): import `onServerPrefetch` 2023-01-23 23:40:09 +00:00
pooya parsa 1af319e0fa
feat: experimental config schema (#18410) 2023-01-23 19:07:21 +01:00
Daniel Roe 3c715ac729
chore: include central readme/licence when publishing individual packages (#18421) 2023-01-23 16:53:59 +00:00
Harlan Wilton 1406d21ed2
feat(head): `useSeoMeta` composable (#18441) 2023-01-23 11:39:17 +00:00
Daniel Roe de4086f6ed
fix(nuxt): let router handle internal redirects within middleware (#18445) 2023-01-23 11:18:33 +00:00
Daniel Roe c5d6db7fd0
fix(nuxt): await async `callWithNuxt` calls (#18443) 2023-01-23 11:13:21 +00:00
Daniel Roe 022c95269e
fix(vite): enable css sourcemaps in dev based on `sourcemap` (#18446) 2023-01-23 11:08:48 +00:00
Daniel Roe 0236a799f2
fix(vite): don't skip loading styles in hydration phase (#18433) 2023-01-21 23:15:48 +00:00
Kareem Dabbeet ea9812a559
feat(nuxt): allow disabling color for `<NuxtLoadingIndicator>` (#18432) 2023-01-21 23:15:32 +00:00
Inesh Bose 98d292ae85
fix(nuxt): provide types for modules as array (#18416)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-21 16:55:44 +00:00
Mehdi HosseinZade 585e8be2e0
feat(kit): add `extendRouteRules` method (#9771) 2023-01-21 16:54:02 +00:00
James George bcc784243e
fix(nuxi): prevent showing stack traces while scaffolding (#9962) 2023-01-21 13:31:48 +00:00
Alan Poulain 50e23bad35
fix(nuxt): use query for hashing the fetch key (#18411) 2023-01-20 18:05:10 +00:00
Alexander Lichter fa2672485a
fix(kit): resolve group syntax of `ignore` (#15884) 2023-01-20 16:23:16 +00:00
renovate[bot] 7c1712013c
chore(deps): update all non-major dependencies (main) (#11127)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2023-01-20 16:17:31 +00:00
Daniel Roe 19973c26f4 chore: update more repo links 2023-01-20 13:37:41 +00:00
Daniel Roe 5e1881c20a
feat(nuxt): support server components with extracted payloads (#10113) 2023-01-20 12:10:58 +00:00
Daniel Roe 081dc3254f chore: update internal repo/issue links to use`nuxt/nuxt` 2023-01-19 19:37:07 +00:00
Ikko Eltociear Ashimine e908ebdb51
chore: fix typo in comment (#10148) 2023-01-19 13:20:53 +00:00
Sébastien Chopin 912eafbbf6
feat(nuxt): prefetch middleware/layouts + await layout loading (#10155) 2023-01-19 13:01:21 +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
Anthony Fu 1e8da22893
fix(vite): add additional before skipping vite transform (#10120) 2023-01-16 16:04:16 +00:00
Daniel Roe 0db3c6373a
fix(nuxt): name anonymous components in render tree (#10011) 2023-01-14 01:27:38 +00:00
Daniel Roe 488479ab1b
fix(nuxt): avoid injecting url helpers into `globalThis` (#9627) 2023-01-14 01:27:06 +00:00
Kyohei Oka 86ed4ef1f4
fix(nuxt): update `class` prop type for head components (#9133) 2023-01-14 01:18:55 +00:00
Daniel Roe bf649fe576
fix(nuxt): allow overriding lower layer composables (#10017) 2023-01-14 01:14:24 +00:00
renovate[bot] 0b1cdcc70d
chore(deps): update devdependency @nuxtjs/eslint-config-typescript to v12 (#9086)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-14 01:13:48 +00:00
renovate[bot] f314e9d541
chore(deps): update all non-major dependencies (#10095)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-14 01:04:38 +00:00
Mohammad Saleh Fadaei 5b19a0dc34
fix(nuxt): don't try to override computed layouts in `definePageMeta` (#9161) 2023-01-14 00:58:54 +00:00
Julien Huang f4ba7ec82d
fix(nuxt): don't short circuit middleware after validate function (#9180) 2023-01-14 00:23:20 +00:00
renovate[bot] ba940719fe
chore(deps): update devdependency @types/fs-extra to v11 (#9999)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-14 00:17:31 +00:00
renovate[bot] 50587ef2fc
chore(deps): update all non-major dependencies (#10052)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-13 23:44:58 +00:00
Sébastien Chopin 71a5727589
fix(nuxt): support deep assign on empty object for app config (#10087) 2023-01-13 23:28:07 +00:00
Daniel Roe ef39d2c9d9
fix(nuxt): add `build.transpile` strings to nitro inline list (#10094) 2023-01-13 23:19:03 +00:00
Daniel Roe a68da6d6a7
chore: case police update (#10085) 2023-01-13 15:00:57 +00:00
Daniel Roe 698a3103e0
fix(nuxt): include components `runtime` dir in build output (#10046) 2023-01-11 20:51:49 +00:00
renovate[bot] 72bfcdfd69
chore(deps): update all non-major dependencies (#10029)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-11 16:15:56 +00:00
Alex Liu 9de94c21cf
refactor: improve internal type definitions of `<NuxtLink>` (#9869) 2023-01-10 14:33:21 +00:00
renovate[bot] 6c32a6087b
chore(deps): update all non-major dependencies (#10012)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-10 12:28:01 +00:00
Anthony Fu 076b5e96a5
fix(vite): defer to nitro to copy public dir (#10013) 2023-01-10 11:51:53 +00:00
Anthony Fu 586df1a817
feat(imports): `imports:context` hook for unimport context (#9971) 2023-01-09 11:35:44 +00:00
Daniel Roe 2d013c5fad
feat(nuxt): server-only components (#9972) 2023-01-09 11:20:33 +00:00
Daniel Roe a3a0f005fa
docs: remove nuxt 2 information from `generate` schema (#10002) 2023-01-09 09:52:56 +00:00
renovate[bot] 896c875524
chore(deps): update all non-major dependencies (#9945)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 09:51:57 +00:00
Julien Huang 3c7140582b
docs: update `generate` doc to include `--dotenv` (#9991) 2023-01-09 09:25:24 +00:00
James George da38c62000
fix(nuxi): show an error if no value is supplied for the `--template` flag (#9946) 2023-01-04 19:15:30 +01:00
renovate[bot] 4f6b487ab1
chore(deps): update all non-major dependencies (#9929)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-04 12:05:53 +01:00
renovate[bot] fa55f67c40
chore(deps): update dependency get-port-please to v3 (#9927)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-04 12:05:40 +01:00
renovate[bot] be132df587
chore(deps): update all non-major dependencies (#9926)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-03 16:48:11 +01:00
renovate[bot] bf8f42557d
chore(deps): update dependency esbuild to ^0.16.13 (#9918)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-03 11:43:51 +01:00
renovate[bot] bcfaa4d716
chore(deps): update all non-major dependencies (#9856)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-02 19:21:50 +01:00
Alejandro Romano 7f4f10a733
fix(nuxt): set is loading state for `<NuxtLoadingIndicator>` after throttle (#9832) 2023-01-02 19:20:53 +01: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
Yann Odeyer da6fa9ab44
perf(nuxt): use static import of `@unhead/ssr` (#9826) 2022-12-23 14:18:14 +01:00
renovate[bot] 65860d327d
chore(deps): update all non-major dependencies (#9816)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-23 14:12:10 +01:00
renovate[bot] c5494580a2
chore(deps): update all non-major dependencies (#9802)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 19:13:50 +01:00
renovate[bot] d2e51ae859
chore(deps): update all non-major dependencies (#9787)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-20 16:47:25 +01:00
renovate[bot] cd07957c61
chore(deps): update all non-major dependencies (#9737)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-19 12:57:23 +01:00
Anthony Fu faf260757c
feat(vite): display production build stats (#9761) 2022-12-19 12:57:08 +01:00
Mehdi HosseinZade 04c8625843
feat(nuxt): deep watch `useCookie` ref value by default (#9664)
* feat(nuxt): useCookie add deep watch option

* docs(api): useCookie add deepWatch option

* feat(nuxt): useCookie change deepWatch to watch option

* boolean|shallow

* enable watch by default

* docs: fix example

* docs(api): update useCookie example

Co-authored-by: Pooya Parsa <pooya@pi0.io>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-12-19 12:50:46 +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
Anthony Fu 30c4a599d2
refactor(vite): show log when client build is starting (#9759) 2022-12-16 11:47:12 +00:00
renovate[bot] 3139ea7d39
chore(deps): update all non-major dependencies (#9685)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-15 14:43:52 +01:00
Daniel Roe 0cb9a4c51d
refactor(nuxt): do not add all composable auto-imports to `globalThis` (#9630) 2022-12-13 10:30:12 +00:00
Daniel Roe 4cf110e0d8
fix(nuxt): make dev-only regexp less greedy (#9679) 2022-12-13 09:39:14 +00:00
renovate[bot] 9cd3c16675
chore(deps): update all non-major dependencies (#9677)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-12 20:24:24 +00:00
renovate[bot] 3733f123df
chore(deps): update all non-major dependencies (#9670)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-12-12 16:45:15 +00:00
Daniel Roe 5afcaca98f
feat(vite): upgrade to vite 4 (#9238) 2022-12-12 15:22:04 +00:00
Daniel Roe 6d0c49101f
style: split out type imports 2022-12-12 12:28:49 +00:00
Daniel Roe 23307cd8e0
fix(nuxt): remove absolute paths from routes objects (#9655) 2022-12-12 13:25:00 +01:00
Daniel Roe 050c6dfd8a
fix(vite): skip _only_ vite transform middleware (#9602) 2022-12-12 12:45:16 +01:00
三咲智子 Kevin Deng 2804c4cdb1
fix(schema): add hookable dependency (#9648) 2022-12-12 12:44:19 +01:00
Harlan Wilton 4cb7e425a1
refactor(nuxt): remove `vue-meta` for head support (#9638) 2022-12-12 11:07:31 +01:00
renovate[bot] 1a6186f3a8
chore(deps): update all non-major dependencies (#9660)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-12 11:02:55 +01:00
renovate[bot] 1a37cd957c
chore(deps): update dependency ultrahtml to ^1.1.0 (#9658)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-12 06:55:41 +00:00
renovate[bot] 54897adc43
chore(deps): update all non-major dependencies (#9600)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-12-11 21:54:54 +00:00
Daniil Chudo ab2456c295
refactor: split out type imports from value imports (#9225) 2022-12-11 21:44:52 +00:00
Evgeny Yurkin 4641e8e504
fix(nuxt): await plugin asyncdata promises in nuxt hook (#9616) 2022-12-10 22:44:29 +00:00
Daniel Roe 2396fc657f
fix(nuxt): remove deprecated `req`/`res` access (#9636) 2022-12-10 19:54:35 +00:00
renovate[bot] 5ce5c69b91
chore(deps): update dependency fs-extra to v11 (#9390)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-08 16:46:10 +01:00
renovate[bot] 7f5f952911
chore(deps): update all non-major dependencies (#9549)
* update tests for islands head regression

Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-12-08 16:16:22 +01:00
Daniel Roe 1202b1ac97
fix(kit): support applying `.nuxtignore` within external layers (#9599) 2022-12-08 15:57:58 +01:00
Alexander Lichter d0c0cd7ad2
refactor(nuxt): use `pathe.join` for layer lookup (#9540) 2022-12-06 12:30:14 +01:00
renovate[bot] 57d1b6d907
chore(deps): update all non-major dependencies (#9528)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-06 12:28:58 +01:00
Alexander Lichter 5f935aad48
feat(nuxt): support for extending error.vue in layers (#9521) 2022-12-06 09:44:03 +00:00
renovate[bot] 24cf27e57b
chore(deps): update dependency destr to ^1.2.2 (#9516)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-05 14:42:45 +01:00
Mahdi Boomeri 9c478ee16e
feat: `useNuxtData` composable (#9262)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-12-05 14:07:33 +01:00
Daniel Roe 5fe7c1c24d
fix(nuxt): speculation rules should be reactive (#9472) 2022-12-05 11:46:13 +01:00
renovate[bot] 1059b8c9a8
chore(deps): update all non-major dependencies (#9488)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-05 11:45:32 +01:00
Daniel Roe 4c4249dc33
feat(nuxt): add `onNuxtReady` composable (#9478) 2022-12-05 11:09:58 +01:00
Daniel Roe 52421a9354
fix(nuxt): defer render-blocking prefetches until after load (#9475) 2022-12-02 16:13:35 +00:00
Daniel Roe c26979a047
fix(nuxt): `useCookie` with defaults should return non-null value (#9449) 2022-12-02 10:45:33 +01:00
Anthony Fu 3501fd5ca7
fix(test-utils): do not hide vitest output (#9442) 2022-12-02 10:42:23 +01:00
renovate[bot] 0b6f37f756
chore(deps): update all non-major dependencies (#9397)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-02 10:40:47 +01:00
Daniel Roe aa9aec112a
fix(nuxt): allow layouts to receive custom props (#9395) 2022-11-29 13:16:41 +01:00
renovate[bot] 1865bddc7b
chore(deps): update all non-major dependencies (#9379)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-29 13:15:12 +01:00
renovate[bot] 236eb90414
chore(deps): update dependency @babel/core to ^7.20.5 (#9372)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-28 12:47:05 +01:00
Rami Menai 73bbae3308
docs(schema): add example and description for `imports.dirs` (#9346) 2022-11-28 12:00:26 +01:00
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
Daniel Roe 2a4ebfb18b
perf(nuxt): improve link prefetching (#8225) 2022-10-17 13:15:29 +02:00
renovate[bot] 2cf9009d33
chore(deps): update all non-major dependencies (#8222) 2022-10-17 12:23:51 +02:00
Daniel Roe 9388e65971
refactor(nuxt): use h3 early hints util (#8245) 2022-10-17 11:16:19 +02:00
Pooya Parsa 573ed5ccda chore: update nitropack and lock 2022-10-16 15:51:47 +02:00
Christian Preston 8f7a7ec06e
feat(nuxi): `nuxi build-module` command (#7610)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-10-16 11:40:03 +02:00
Daniel Roe 5bf4461faa
fix(webpack): add global to new line (#8226) 2022-10-16 11:03:02 +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
Andrew Mudrov ddbfae1bec
fix(kit): log module id to the console when import fails (#8198) 2022-10-15 13:35:01 +02:00
Daniel Roe 5e7dfc2338
refactor(nuxt): deprecate `<Script>` component tag in template (#8197) 2022-10-15 13:20:24 +02:00
renovate[bot] b54df90f1d
chore(deps): update all non-major dependencies (#8189)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-15 13:14:05 +02:00
Benicio Cardozo b9d6f37dfd
fix(nuxt): enable router when `app/router.options.ts` file is present (#8193) 2022-10-15 13:04:06 +02:00
Daniel Roe d862a6bfdd
fix(nuxt)!: `refresh` to override previous requests by default (#8190) 2022-10-15 13:02:23 +02:00
Daniel Roe 6dcff8e428
feat(nuxt): add hook debug mode (#7690) 2022-10-15 12:56:15 +02:00
renovate[bot] e6fee7b963
chore(deps): update all non-major dependencies (#8176)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-14 10:46:53 +02:00
Julien Huang 23ad303f19
feat(nuxt)!: add `<NuxtPage>` to `#components` (#8145) 2022-10-14 10:36:52 +02:00
Daniel Roe 2083ed4a63
perf(nuxt): remove `vue-router` dependency from minimal app (#8188) 2022-10-14 10:36:03 +02:00
Benicio Cardozo 9fa147dc22
types: include `nuxt-link` target types (#8172)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-13 19:51:26 +02:00
renovate[bot] 8bc8489852
chore(deps): update dependency css-minimizer-webpack-plugin to ^4.2.2 (#8173)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-13 18:06:05 +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 577573f3e8
perf(nuxt)!: use component loader to add meta components (#8167)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-13 17:54:06 +02:00
renovate[bot] 600a6059c1
chore(deps): update all non-major dependencies (#8122)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-12 19:00:30 +01:00
Harlan Wilton 9e6d292ba6
feat(nuxt): migrate to latest `@vueuse/head` (#8000) 2022-10-12 18:00:17 +01:00
Alex 6ef6eae2c7
fix(nuxt): don't inline styles for per-request `ssr: false` (#8106)
Co-authored-by: Alex C <alex.canals@jkweb.ch>
2022-10-12 09:50:16 +01:00
renovate[bot] 723efb8266
chore(deps): update all non-major dependencies (#8090)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-11 22:54:33 +01:00
Daniel Roe 5f003a9738
feat(nuxt): add `ssr` route rule to enable SPA mode (#7938) 2022-10-11 17:03:52 +01:00
Julien Huang ee41bb6d5d
feat(nuxt): wrap `#components` client exports with createClientOnly (#7412)
Co-authored-by: jhuang@hsk-partners.com <jhuang@hsk-partners.com>
2022-10-11 16:26:03 +01:00
Daniel Roe ed1c704835
fix(vite): prevent overlap between vite assets and app routes (#7989) 2022-10-11 06:26:38 +01:00
renovate[bot] 6119fbcf76
chore(deps): update dependency @rollup/plugin-replace to v5 (#8086)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-10 16:48:48 +01:00
Daniel Roe 26b1c9ca0e
feat(nuxt): parse html to treeshake client-only components (#7527) 2022-10-10 16:48:23 +01:00
Daniel Roe 5a2616cfee
perf(nitro): respond with early hints in node-based environments (#7893) 2022-10-10 12:02:35 +01:00
renovate[bot] 9521fc7234
chore(deps): update dependency @nuxt/telemetry to ^2.1.6 (#8084)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-10 12:01:08 +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 385674494d
feat(nuxt): refresh override for data fetching composables (#7864) 2022-10-10 11:33:16 +01:00
Daniel Roe 829a550580
feat(pages): add `validate` hook for `definePageMeta` (#7870) 2022-10-10 11:18:20 +01:00
Daniil Chudo 75f4a54f7e
feat(nuxt): add default slot to `<NuxtLoadingIndicator>` (#7128)
Co-authored-by: Alexander Lichter <github@lichter.io>
2022-10-10 11:12:36 +01:00
Daniel Roe e94c3b3704
fix(schema): evaluate env variables when resolving values (#8079) 2022-10-10 11:04:58 +01:00
renovate[bot] 085f90a3d3
chore(deps): update dependency unplugin to ^0.9.6 (#8070)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-09 21:11:47 +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
Cupid Valentine c905a23b1f
fix(nuxi): replace lazyHandle to defineLazyHandler (#8049) 2022-10-09 18:17:38 +02:00
Daniel Roe 6d904663a4
fix(nuxt): use correct cache and add baseURL to payload (#7984) 2022-10-09 15:22:19 +01:00
Daniel Roe e71a59985e
fix(schema): declare `untyped` dependency (#8064) 2022-10-09 15:05:58 +01:00
mmis1000 c404cb1be4
fix(nuxt): page hydration and double load (#7940)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-08 16:18:57 +02:00
Daniel Roe 1477d3759e
feat(nuxt): allow configuring plugins directory (#7981) 2022-10-07 09:13:12 +02:00
Daniel Roe 92ff066ab2
fix(nuxt): don't prerender index.html with a server (#7831) 2022-10-03 16:17:46 +02:00
MiniDigger | Martin 63c88056c7
fix(head): allow using the default slot for script content like noscript (#7858)
Co-authored-by: Martin Benndorf <martin.benndorf@gothaer.de>
2022-10-03 16:16:37 +02:00
Julien Huang e6ca07bdc0
fix(nuxt): remove fragment from `createClientOnly` (#7774)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: jhuang@hsk-partners.com <jhuang@hsk-partners.com>
2022-10-03 16:14:55 +02:00
Julien Huang 2c8c21209b
fix(nuxt): fix lazy import of .client components (#7422)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-03 16:14:07 +02:00
Daniel Roe 5b8499cdba
chore: downgrade node v16 minor (#7865) 2022-10-03 16:07:00 +02:00
Daniel Roe dab1b114bc
fix(test-utils): respect `setupTimeout` (#7866) 2022-10-03 15:48:03 +02:00
Daniel Roe a3fd4193ce
fix(nuxt): allow auto-import component with same filename (#7713) 2022-10-03 15:38:43 +02:00
Daniel Roe d25dafef49
fix(vite): add type-checker to client build for `ssr: false` (#7930)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2022-10-03 15:37:36 +02:00
Daniel Roe 6d3dc3b280
chore: clean up some root workspace dependencies (#7931) 2022-10-03 15:35:52 +02:00
Daniel Roe 4823b17836
fix(nuxt): handle schema types for relative module paths (#7946) 2022-10-03 15:32:01 +02:00
Christian Preston 2e080c259f
feat(nuxi): support `--dotenv` for `dev`, `build` and `preview` commands (#7660) 2022-09-26 12:36:10 +02:00
Daniel Roe 4c5048826c
fix(nuxt): don't disable scripts in dev mode with experimental `noScripts` (#7745) 2022-09-26 11:52:43 +02:00
renovate[bot] 0f8bd6db10
chore(deps): update all non-major dependencies (#7770) 2022-09-26 11:24:23 +02:00
Daniel Roe c0e99c7273
fix(nuxt): respect `baseURL` when rendering payload path (#7809) 2022-09-26 11:16:34 +02:00
菜狗 a68a7fe07d
refactor(nuxt): use `unref` in `fetch.ts` (#7813) 2022-09-26 11:13:30 +02:00
chenying 30277da960
refactor(nuxt): use `unref` in `layout.ts` (#7818)
Co-authored-by: chenying <1770365139@qq.com>
2022-09-26 11:12:20 +02:00
Daniel Roe 2894a75bc8
fix(nuxt): respect immediate option in `useFetch` (#7720) 2022-09-22 15:55:29 +02:00
Daniel Roe b68cf0706d
fix(nuxt): do not warn for non-existent default layout (#7748) 2022-09-22 15:54:55 +02:00
Daniel Roe 1c26e07141
feat(nuxt): support `redirect` within page metadata (#7746) 2022-09-22 15:54:34 +02:00
renovate[bot] aec2e02bd3
chore(deps): update all non-major dependencies (#7741)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-22 15:52:55 +02:00
Daniel Roe 084188e7de
fix(nuxi): stub `defineNuxtConfig` for `nuxi info` (#7728) 2022-09-22 15:51:13 +02:00
Daniel Roe 230af9c186
fix(nuxi): include `workspaceDir` in tsconfig include (#7726) 2022-09-22 15:50:40 +02:00
renovate[bot] 09fa42d00b
chore(deps): update all non-major dependencies (#7702)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-21 12:23:57 +02:00
Daniel Roe 0640a6c7a4
fix(test-utils): support vitest v0.20.x (#7712) 2022-09-21 12:20:29 +02:00
Daniel Roe a9a8571e35
fix(nuxt): export and auto-import `clearNuxtData` (#7710) 2022-09-21 11:53:38 +02:00
renovate[bot] 9c9e20ee14
chore(deps): update devdependency playwright to ^1.26.0 (#7701)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-20 22:43:20 +02:00
pooya parsa 6309d223bb
v3.0.0-rc.11 (#7565) 2022-09-20 18:38:31 +02:00
Pooya Parsa dd303536b0 chore(deps): bump nitropack to 0.5.4 2022-09-20 12:55:39 +02:00
pooya parsa 720da64b12
fix(nuxi, vite): support https with custom domain and hmr (#7680) 2022-09-20 12:54:52 +02:00
Daniel Roe 98ce2e6492
fix(nuxt): only observe tag elements for `<NuxtLink>` prefetching (#7679) 2022-09-20 11:29:22 +02:00
Daniel Roe 347abcd065
fix(nuxt): strip non-`.vue` extensions from component types (#7673) 2022-09-20 10:54:46 +02:00
renovate[bot] 334e2aba4b
chore(deps): update all non-major dependencies (#7674)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-20 10:49:39 +02:00
renovate[bot] df72a3eb34
chore(deps): update all non-major dependencies (#7649) 2022-09-20 10:20:03 +02:00
Daniel Roe f8a23564c3
fix(nuxt): don't treeshake client-only fallback templates (#7659) 2022-09-20 08:24:45 +02:00
Daniel Roe 42cf48e45d
fix(vite, webpack): handle auto keys for composables without args (#7651) 2022-09-19 16:45:28 +02:00
Daniel Roe f536bf5548
fix(vite, webpack): avoid generating keys where a key is already provided (#7622) 2022-09-19 11:34:42 +02:00
pooya parsa 57a8a8694a
fix(vite-node): include importer in error stack (#7607) 2022-09-19 11:28:38 +02:00
Julien Huang c4fe8525ef
fix(nuxt): add missing `process.client` for early redirect in navigateTo (#7625) 2022-09-19 10:54:35 +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 abd0feb368
fix(vite): respect `ctx.nuxt.options.modulesDir` for resolving externals with `vite-node` (#7612) 2022-09-17 00:29:41 +02:00
Daniel Roe 5bc654495a
fix(vite): include id and stack in `vite-node` fallback error handler (#7575)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-16 20:12:52 +02:00
pooya parsa cfaca9c5c7
fix(vite): normalize vite-node error data from server (#7589) 2022-09-16 19:43:35 +02:00
Daniel Roe 2b57bfe36c
fix(nuxi): backward compatibility for kit <= rc.10 without `useNitro` (#7593) 2022-09-16 19:27:50 +02:00
pooya parsa 1ebdef77a6
fix(nuxt): keep `state` in the initial state instead of extracting it (#7567) 2022-09-16 12:49:00 +02:00
Daniel Roe c1ed6ecc3c
fix(nuxt): load payload after middleware and once final route is resolved (#7574) 2022-09-16 12:15:10 +02:00
pooya parsa 5605f1ce18
feat: allow disabling payload extraction (#7588) 2022-09-16 12:14:41 +02:00
Daniel Roe f0ad1b02d9
fix(nuxi): print resolved public directory after generate (#7577) 2022-09-16 11:26:28 +02:00
pooya parsa b933015850
feat(kit): `useNitro()` utility (#7557) 2022-09-15 18:10:50 +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
pooya parsa 4b4558c2be
fix(nuxt): remove modulepreload for spa fallback routes with `ssr:true` (#7553) 2022-09-15 14:20:16 +02:00
Daniel Roe 5855ba4684
fix(nuxt): pass fully resolved path to nitro dist files (#7494) 2022-09-15 13:24:43 +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
pooya parsa 9426b54562
fix(vite): `nuxi dev --https` working out of the box (#7547) 2022-09-15 13:01:52 +02:00
renovate[bot] d882d36805
chore(deps): update dependency vue-bundle-renderer to ^0.4.3 (#7546)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-15 12:53:32 +02:00
pooya parsa a18f17797a
fix(nuxi): improved self-signed certificate for `nuxi dev --https` (#7545) 2022-09-15 12:49:12 +02:00
Daniel Roe 3ed63a6b70
fix(nuxt): do not pass prefetched class to custom link (#7522) 2022-09-15 09:52:21 +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 6e18237e7a
fix(nuxt): disable payload extraction for spa generated pages (#7535) 2022-09-15 09:31:55 +02:00
renovate[bot] 471097cbe6
chore(deps): update all non-major dependencies (#7508)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-14 19:29:21 +02:00
pooya parsa 94377b1901
v3.0.0-rc.10 (#7374) 2022-09-14 18:27:11 +02:00
pooya parsa 09c42fd886
fix(vite): disable server warmup with `vite-node` (#7512) 2022-09-14 17:59:56 +02:00
pooya parsa 326d62803b
fix(vite): show formatted vite-node errors (#7509) 2022-09-14 17:58:28 +02:00
Mahdi Boomeri f76c0fe450
docs(schema): change srcDir example to `src/` (#7503) 2022-09-14 17:25:07 +02:00
pooya parsa 9ee5ca2b47
feat(nuxt): generate spa fallback for `nuxt generate` (#7507) 2022-09-14 17:16:24 +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 9024d76165
fix(nuxt): add `payload.client` plugin only for production build (#7498) 2022-09-14 15:01:02 +02:00
pooya parsa ac0b3a63a2
feat(nuxt, kit): auto import `defineNuxtConfig` (#7497) 2022-09-14 13:10:10 +02:00
renovate[bot] aaac46980c
chore(deps): update all non-major dependencies (#7488)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-14 12:41:49 +02:00
pooya parsa c98e5c774d perf: enable `treeshakeClientOnly` flag by default (#7484) 2022-09-14 12:41:12 +02:00
pooya parsa 3a60bf69ce
perf(nuxt): import `defineNuxtConfig` from `nuxt/config` (#7485) 2022-09-14 12:37:30 +02:00
Daniel Roe 5d79ed5f9e
feat(nuxt): allow passing transition & keepalive props to `<NuxtPage>` (#7492) 2022-09-14 12:34:16 +02:00
Daniel Roe ee75b48526
refactor(nuxt): use relative imports into composables (#7487) 2022-09-14 11:22:03 +02:00
Daniel Roe 40d090745b
fix(nuxt): only delete assets when building (#7486) 2022-09-13 23:57:58 +02:00
Alex Liu addcb5cd47
feat(nuxt): support prefetching `<nuxt-link>` (#4329)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-13 22:20:23 +02:00
renovate[bot] 65481d4d3d
chore(deps): update all non-major dependencies (#7476)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-13 20:57:14 +02:00
Daniel Roe 31de18100c
perf(nuxt): only inject preload helper when webpack is used (#7460) 2022-09-13 12:57:14 +02:00
renovate[bot] 1be5e4170b
chore(deps): update dependency strip-literal to ^0.4.1 (#7462)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-13 12:55:12 +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 9382b42d7b
fix(vite): don't fail builds for virtual modules that don't support inlining (#7440) 2022-09-12 17:14:11 +02:00
Daniel Roe 13dc0b94c4
feat(nuxt): allow exposing type augmentations from extends layers (#7442) 2022-09-12 15:41:15 +02:00
Daniel Roe 5893dc201f
fix(nuxt): augment GlobalComponents from `@vue/runtime-core` (#7448) 2022-09-12 15:40:44 +02:00
renovate[bot] e2daa50960
chore(deps): update all non-major dependencies (#7427)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-12 12:17:38 +02:00
Daniel Roe d5078168be
fix(vite): use same asset filenames between server and client (#7436) 2022-09-12 12:12:41 +02:00
Daniel Roe 46240a8c14
test(nuxt): add tests for import protection plugin (#7416) 2022-09-12 11:23:37 +02:00
Daniel Roe 563cf7c1c9
fix(nuxt): use more specific `FetchError` for `useFetch` errors (#7435) 2022-09-12 11:23:19 +02:00
pooya parsa 888bd7c145
feat(nuxt): payload rendering support (#6455)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-09-10 15:57:16 +02:00
renovate[bot] 674b53b3f9
chore(deps): update all non-major dependencies (#7383)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-10 15:39:55 +02:00
pooya parsa 270055b86d
feat(cli)!: use giget 0.1x with template registry for `nuxi init` (#7404) 2022-09-10 15:37:25 +02:00
Daniel Roe 9abc7a2122
fix(nuxt): do not apply import protection to top-level resolution (#7344) 2022-09-10 13:51:17 +02:00
Daniel Roe 83949c3734
fix(nuxt): always inline entry styles (#7386) 2022-09-10 11:43:17 +02:00
Daniel Roe e60d03b940
fix(nuxt): de-default layout/component imports (#7389) 2022-09-10 11:41:32 +02:00
Daniel Roe 0ab29f6f2a
fix(vite): write dev manifest before spa build (#7380) 2022-09-09 12:28:07 +02:00
Daniel Roe e05f8ee126
fix(nuxi): don't include an array of paths within an array (#7378) 2022-09-09 12:17:44 +02:00
Daniel Roe e4b8c2dc88
fix(vite): warmup improvements (#7377) 2022-09-09 11:54:20 +02:00
Pooya Parsa 0cc49e2a20 build(nuxi): add `node` to export conditions 2022-09-08 18:05:59 +02:00
pooya parsa e0c5907f0a
feat(nuxi): switch to `unjs/giget` for `nuxi init` (#7361) 2022-09-08 17:43:04 +02:00
Daniel Roe e22bbcc380
fix(vite): update render if it is invalidated (#7347) 2022-09-08 16:17:22 +02:00
pooya parsa a418895595
fix(kit): add default config layer without `nuxt.config` file (#7358) 2022-09-08 16:15:52 +02:00
Daniel Roe d81a742311
fix(schema): resolve `ssr` (#7359) 2022-09-08 16:15:33 +02:00
Daniel Roe 2b37d72eb9
fix(vite): allow overriding vite sourcemap (#7342) 2022-09-08 15:52:30 +02:00
Daniel Roe be77d477d0
fix(webpack): don't parse styles for composable keys (#7333) 2022-09-08 10:55:30 +02:00
Daniel Roe 9c3bef4a01
fix(nuxt): allow `abortMiddleware` to receive a nuxt error or error options (#7335) 2022-09-08 10:52:00 +02:00
renovate[bot] 849b8cb702
chore(deps): update all non-major dependencies (#7321)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-09-08 10:45:39 +02:00
Daniel Roe bb8942a401
fix(schema): mark vite server as optional (#7327) 2022-09-07 17:38:15 +02:00
Alex Kozack 6b3a1a4256
feat(nuxt): filter support for `clearNuxtData` (#7323) 2022-09-07 15:25:37 +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
Alex Kozack b2f573f685
feat(nuxt): add `clearNuxtData` (#5227)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-07 13:20:09 +02:00
Vl4dimyr fc2be9ed42
feat(nuxt): add `immediate` option for `useAsyncData` and `useFetch` (#5500)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-07 11:47:40 +02:00
Daniel Roe 577a7b681e
perf(vite): remove duplicate css links from rendered page when inlined (#7264) 2022-09-07 10:41:08 +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 5a69f48244
fix(nuxt): don't try to set cookie after redirect (#7288) 2022-09-07 10:34:16 +02:00
Julien Huang f8f5771646
perf(nuxt): cache `createClientOnly` wrapper using weakmap (#7297) 2022-09-07 10:31:11 +02:00
Daniel Roe 1ca294e125
fix(nuxt): don't override payload error if it is present (#7290) 2022-09-06 18:21:53 +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 a931667111
feat(kit): add `addImportsSources` utility (#7270) 2022-09-06 12:17:41 +02:00
Daniel Roe 524ba557eb
fix(nuxi): pass value of `https` through to vite-node (#7271) 2022-09-06 11:45:14 +02:00
Daniel Roe a4fa070ad5
refactor(vite): reuse resolved server entry from context (#7268) 2022-09-06 10:21:17 +02:00
renovate[bot] b00918dcc1
chore(deps): update all non-major dependencies (#7261)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-06 09:48:30 +02:00
Anthony Fu 96b5b8fd6d
fix(nuxt): import and wrap client-only components once (#7245) 2022-09-06 09:40:25 +02:00
Daniel Roe d115b01a35
fix(vite): pass ssr condition to `getModuleByUrl` (#7260) 2022-09-05 22:52:14 +02:00
renovate[bot] 497972be5d
chore(deps): update dependency @nuxt/ui-templates to ^0.3.3 (#7252)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-05 15:47:15 +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
Pooya Parsa 80a66dc5af chore(deps): update nitropack to 0.5.1 2022-09-05 13:03:42 +02:00
renovate[bot] 9249e5e7a6
chore(deps): update all non-major dependencies (#7237)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-05 11:04:08 +02:00
Ricardo Gobbo de Souza b31405f6fd
feat(test-utils): add `mockFn` and `mockLogger` utils (#6235)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-05 10:51:00 +02:00
Daniel Roe 1abd5f1959
fix(vite): use baseURL + assetsDir as base in dev mode (#7234) 2022-09-05 10:48:35 +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
renovate[bot] 908c95035b
chore(deps): update dependency vite-plugin-checker to ^0.5.1 (#7222)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-05 09:32:34 +02:00
renovate[bot] 2376697cfd
chore(deps): update all non-major dependencies (#7219)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-04 16:40:18 +02:00
HomWang 1fc34e6c06 chore: lint (#7213) 2022-09-04 10:31:57 +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
renovate[bot] 0180a33abc
chore(deps): update all non-major dependencies (#7208)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-04 08:52:26 +02:00
renovate[bot] 215833a257
chore(deps): update dependency @nuxt/telemetry to ^2.1.5 (#7203)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-03 19:15:12 +02:00
renovate[bot] 6b999d63ef
chore(deps): update dependency h3 to ^0.7.21 (#7202)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-03 19:11:34 +02:00
AndreyYolkin b97cc27469
fix(kit, nuxi): semver regexp to support `nuxt-edge` current releases (bridge) (#7193) 2022-09-03 15:08:23 +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
Harlan Wilton fe3fc34b12
fix(head): case `http-equiv` correctly (#7190) 2022-09-03 14:31:09 +02:00
Damian Głowala 3e9f1efb1e
fix(nuxt): update default redirect code of `navigateTo` to `302 Found` (#7189) 2022-09-03 14:30:03 +02:00
pooya parsa 9caa9ca31f
v3.0.0-rc.9 (#6970) 2022-09-03 12:36:47 +02:00
Pooya Parsa ee20a00f65 chore: fix typo in deprecation messages 2022-09-03 12:35:16 +02:00
renovate[bot] 386407ec84
chore(deps): update all non-major dependencies (#7161) 2022-09-03 12:03:06 +02:00
Anthony Fu 537338f116
fix(nuxt): pass and format vite-node build errors (#6683)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-03 12:02:14 +02:00
pooya parsa abd5dc58c9
fix: improve `autoImports` deprecation dx (#7158) 2022-09-02 15:42:46 +02:00
pooya parsa 9eb95e2371
build(nuxt): update nitropack to `0.5.x` (#7141) 2022-09-01 18:57:10 +02:00
pooya parsa 62e38cd7e5
fix(nuxi): fix version search path (#7133) 2022-09-01 12:56:18 +02:00
pooya parsa 68d12b468b
feat: allow extending with `theme` config (#7131) 2022-09-01 12:05:02 +02:00
pooya parsa 2d30a1db8b
feat(nuxi): display nuxt and nitro versions for dev and build commands (#7118) 2022-09-01 11:34:56 +02:00
Daniel Roe 6fbbf8c5bc
refactor(nuxt): remove unused `meta:register` hook (#7130) 2022-09-01 11:08:56 +02:00
HomWang cafc955fb8
docs: add explanatory comment before universal router stubs (#7124)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-09-01 11:07:44 +02:00
Daniel Roe d7b2d32b5e
chore(nuxt): prevent error page rendering a null error (#7119) 2022-08-31 22:19:28 +02:00
pooya parsa 0339a23372
fix(kit)!: handle prerelease constraint (#7116) 2022-08-31 21:18:05 +02:00
renovate[bot] e38e1de740
refactor: apply lints from `@nuxtjs/eslint-config-typescript` v11 (#7114)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-31 20:34:17 +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
renovate[bot] 09c609ed54
chore(deps): update dependency rollup to ^2.79.0 (#7098) 2022-08-31 14:53:57 +02:00
Daniel Roe b90d286631
feat(nuxt): add `setPageLayout` utility (#6826) (#7075)
Co-authored-by: HomWang <516310460@qq.com>
2022-08-31 10:02:48 +02:00
renovate[bot] c92b6a01bb
chore(deps): update dependency postcss-import to v15 (#7090)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-31 09:42:32 +02:00
renovate[bot] 483759b0bb
chore(deps): update dependency unenv to ^0.6.2 (#7073)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-30 16:43:05 +02:00
Daniel Roe a520185442
perf(nuxt): don't prefetch all global components (#7069) 2022-08-30 16:41:11 +02:00
Daniel Roe fd6d1d4fbe
fix(vite): sanitize client asset chunk names (#7067) 2022-08-30 15:13:23 +02:00
pooya parsa afc9d9bfc8
perf(nuxt): tree-shake asyncData client logic from server (#7056)
Co-authored-by: Ohb00 <43827372+OhB00@users.noreply.github.com>
2022-08-30 12:48:26 +02:00
pooya parsa 5a17458af5
fix(nuxt): use shared state for asyncData (#7055)
Co-authored-by: Ohb00 <43827372+OhB00@users.noreply.github.com>
2022-08-30 12:34:09 +02:00
renovate[bot] aece2cd3c2
chore(deps): update dependency h3 to ^0.7.17 (#7049)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-30 11:02:40 +02:00
renovate[bot] 857ca56cc5
chore(deps): update all non-major dependencies (#7048)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-30 10:59:32 +02:00
renovate[bot] c4b5013874
chore(deps): update dependency esbuild to ^0.15.6 (#7043)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-30 10:38:02 +02:00
renovate[bot] 426b5af5ac
chore(deps): update dependency unctx to ^2.0.2 (#7032)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-29 15:30:33 +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
Daniel Roe 33d82b65ef
fix(kit): sort aliases before resolving (#7018) 2022-08-29 11:45:29 +02:00
Daniel Roe af2835fa7f
fix(vite): remove client `manifest.json` from public dir (#7021) 2022-08-29 11:37:53 +02:00
renovate[bot] 25ef26c38d
chore(deps): update all non-major dependencies (#6978)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-27 14:42:24 +02:00
Anthony Fu 9db2229f70
refactor: enable strict type checking everywhere (#6943) 2022-08-26 17:47:29 +02:00
Pooya Parsa 80875b7960 chore: fix type check
csp is not boolean but typed as boolean. we need to fix schema.
2022-08-26 13:03:48 +02:00
renovate[bot] a64c056890
chore(deps): update all non-major dependencies (#6960)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-26 12:26:47 +02:00
Louis Haftmann 1e5aa85062
chore(nuxt): fix typo (#6971) 2022-08-26 12:09:29 +02:00
renovate[bot] 44d4531780
chore(deps): update all non-major dependencies (#6913)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-25 09:15:47 +02:00
Daniel Roe 403e0e6e6d
fix(nuxt): lazy composables shouldn't block setup in `ssr: false` (#6901) 2022-08-24 21:05:28 +02:00
Yaël Guilloux 1700bf822e
feat(nuxt): `app.config` improvements (#6905) 2022-08-24 18:35:02 +02:00
Alexander Lichter a4dfe232f0
feat(nuxt): `navigateTo` supports external redirects (#5022)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-24 18:04:56 +02:00
Anthony Fu 856c2a6fbd
feat(nuxt): `imports.autoImport` option to disable auto-imports (#6768) 2022-08-24 10:44:38 +02:00
Alex Kozack 422d5c4fb5
fix(nuxi): build all types on typecheck command (#5437) 2022-08-23 23:04:26 +02:00
renovate[bot] 1347f4b5a0
chore(deps): update all non-major dependencies (#6885)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-23 23:01:41 +02:00
pooya parsa b836e17078
chore(deps): update hookable to `2.x` (#6883) 2022-08-23 22:47:07 +02:00
Conrawl Rogers 5ef135650f
feat(nuxi): support mode flags for `add` command (#3921)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-23 22:44:25 +02:00
Daniel Roe f3499d788a
feat(nuxt): allow programmatically prefetching global components (#6661)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-23 21:12:22 +02:00
renovate[bot] 91b4e6c4ef
chore(deps): update dependency h3 to ^0.7.16 (#6873)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-23 16:24:35 +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 45f39be4fa
fix(nuxt): pass analyze options through to nitro (#6871) 2022-08-23 15:54:39 +02:00
Daniel Roe 51dc73628c
feat!(schema): enable external vue by default (#6868) 2022-08-23 13:35:00 +02:00
Daniel Roe cfb7e59171
feat(nuxt): add warning in dev mode if layouts/pages do not have a single root node (#5469) 2022-08-23 12:25:48 +02:00
Daniel Roe aab90efc19
fix(nuxt): throw hard error on initial spa load if aborted (#6857) 2022-08-23 10:42:54 +02:00
renovate[bot] 347df12e9a
chore(deps): update dependency @babel/core to ^7.18.13 (#6848)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-22 18:28:44 +02:00
TheColaber 9f1ecd14c4
feat(nuxt): allow `getRouteFromPath` to use objects (#5900) 2022-08-22 18:08:43 +02:00
renovate[bot] ede727d1ba
chore(deps): update dependency vue-router to ^4.1.4 (#6844)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-22 16:44:21 +02:00
Anthony Fu e1e39b7e79
refactor(nuxt, kit): improve type strictness (#6685) 2022-08-22 12:12:02 +02:00
renovate[bot] cdc75373d4
chore(deps): update dependency mlly to ^0.5.14 (#6830)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-22 11:25:19 +02:00
renovate[bot] c71dd082cd
chore(deps): update dependency webpack-bundle-analyzer to ^4.6.1 (#6829)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-22 11:17:47 +02:00
pooya parsa 3b2b22e384
fix(nuxt): use deep assignment for app.config hmr (#6788) 2022-08-22 11:14:25 +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
Daniel Roe 80abca9d2a
fix(nuxt): ensure component helper methods do not create side-effects (#6789) 2022-08-22 10:50:11 +02:00
renovate[bot] d3ccb79920
chore(deps): update dependency rollup to ^2.78.1 (#6765)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-19 10:44:20 +02:00
Pooya Parsa ad63817522 build: update `unbuild` and `pkg-types`
resolves #6749
2022-08-19 01:04:19 +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
Daniel Roe faf00f526f
fix(vite): dedupe `vue` in client bundle (#6735) 2022-08-18 10:06:37 +02:00
Anthony Fu 43e6c0295f
fix(vite): improve `vite-node` module invalidation (#6736) 2022-08-18 10:05:37 +02:00
Julien Huang c688e1898c
fix(nuxt): pass params to client-only slot (#6584) 2022-08-17 17:26:51 +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
Daniel Roe 405629dc35
fix(nuxt): use `vue-devtools-stub` to mock `@vue/devtools-api` for both cjs + esm (#6713) 2022-08-17 16:44:36 +02:00
Harlan Wilton 99c960fb05
fix(nuxi): properly detect hash and tag for upgrade changelog (#6708) 2022-08-17 15:45:45 +02:00
Harlan Wilton e93f88c1e4
fix(nuxi): ensure `nuxi upgrade` runs in rootDir (#6707) 2022-08-17 15:44:10 +02:00
Anthony Fu 69c281f384
fix(nuxt): fallback to static error page on server error (#6697)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-17 11:14:00 +02:00
renovate[bot] 95b3fb21c5
chore(deps): update dependency esbuild to ^0.15.5 (#6696)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-17 10:32:38 +02:00
renovate[bot] dd34099da1
chore(deps): update all non-major dependencies (#6688)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-16 21:31:01 +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
Julien Huang a3a8706e43
fix(nuxt): include tag attrs for non self-closing tags in tree-shake regex (#6675)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-08-16 15:22:10 +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
pooya parsa 4d5f768aaf
feat(nuxi): auto cleanup with project manifest changes (#6672) 2022-08-16 15:14:26 +02:00
Daniel Roe 94214d6b32
feat(nuxt): exclude page chunks from being prefetched (#6662) 2022-08-16 13:19:39 +02:00
renovate[bot] 63ccec6bdc
chore(deps): update all non-major dependencies (#6654)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-16 10:11:55 +02:00
pooya parsa 58c4753ed4
fix(vite): warmup server entries with `ssr` condition (#6649) 2022-08-15 18:03:00 +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
Daniel Roe 33e7fc1752
fix(nuxt): don't set asyncData to existing payload on CSR if `initialCache` is disabled (#6640) 2022-08-15 15:55:46 +02:00
renovate[bot] 006f66900e
chore(deps): update all non-major dependencies (#6606)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-15 15:50:17 +02:00
Anthony Fu d2094ea37a
refactor(vite): enable strict type checking (#6616) 2022-08-15 15:40:06 +02:00
Daniel Roe 385fa6037a
fix(vite): pass relative url as default base (#6637) 2022-08-15 15:10:53 +02:00
Daniel Roe 8a28c430b0
fix(nuxt): add `#components` alias to tsconfig (#6634) 2022-08-15 15:10:08 +02:00
Pooya Parsa e109d65c30 chore: ignore typechecking for visualizer plugin 2022-08-15 14:55:12 +02:00
renovate[bot] 197a14b513
chore(deps): update dependency rollup to ^2.78.0 (#6602)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-14 10:28:45 +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
pooya parsa b4bea517df
fix(nuxi): update `server.port` and `server.host` with listener info (#6595) 2022-08-13 13:52:03 +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
Daniel Roe 2ec2d9b484
fix(nuxt): remove stray commas in component templates (#6580) 2022-08-12 21:59:08 +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
Pooya Parsa 3c3adb779d chore(deps): update mlly and lockfile 2022-08-12 15:19:28 +02:00
renovate[bot] 38cd67d962
chore(deps): update all non-major dependencies (#6552)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-12 13:05:32 +02:00
Daniel Roe 70b024fbaa
fix(vite, nuxt): resolve relative to `srcDir` rather than `rootDir` (#6546) 2022-08-12 11:11:09 +02:00
pooya parsa b0bf25cf51
fix(nuxt): tree-shake devtools from production bundle (#6538) 2022-08-12 00:33:21 +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
renovate[bot] 7a846a8292
chore(deps): update dependency webpack-hot-middleware to ^2.25.2 (#6530)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-11 20:07:40 +02:00
pooya parsa aaf4bcd025
fix(vite): remove `/@fs` from external ids (#6529) 2022-08-11 19:39:02 +02:00
pooya parsa 24a499d285
fix(nuxt)!: allow `app:rendered` to modify ssr context and add `render:html` (#6521) 2022-08-11 18:34:39 +02:00
pooya parsa 4f9337adcc
fix(nuxi): fix issues with `nuxi upgrade` (#6514) 2022-08-11 13:41:53 +02:00
pooya parsa 5ea0474225
v3.0.0-rc.7 (#6375) 2022-08-11 12:40:11 +02:00
Pooya Parsa f356d037e5 chore: update lockfile and nitropack 2022-08-11 10:33:01 +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
Daniel Roe 5aa7288d97
fix(nuxt): log fatal errors as well as unhandled ones (#6488) 2022-08-10 17:47:23 +02:00
Daniel Roe 408febada4
refactor(nuxt)!: remove `null` handling for `titleTemplate` (#6487) 2022-08-10 17:46:46 +02:00
renovate[bot] cafd3938ed
chore(deps): update dependency mlly to ^0.5.9 (#6485)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-10 17:00:35 +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
Daniel Roe 5232c1b5b4
fix(nuxt): immediately call `asyncData` handler (#6472) 2022-08-09 23:48:48 +02:00
renovate[bot] fe26b943cc
chore(deps): update dependency nitropack to ^0.4.18 (#6471)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-09 23:19:16 +02:00
pooya parsa 3e27c1c52b
fix(nuxt): interopDefault for page component imports (#6468) 2022-08-09 20:25:35 +02:00
renovate[bot] bf3511c2c3
chore(deps): update dependency nitropack to ^0.4.16 (#6467)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-09 20:05:26 +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
Gregor Becker 0b22079409
fix(nuxt): ensure component dirs in `node_modules` have lower scanning priority (#6382) 2022-08-09 11:13:54 +02:00
YuTin Liu 03cd6717ce
fix(nuxt): handle immediate errors when calling `useAsyncData` (#6441) 2022-08-09 10:01:25 +02:00
Daniel Roe ae388e7293
fix(vite): add `module` type to vite node entry (#6448) 2022-08-09 09:59:08 +02:00
renovate[bot] 1f32fdb569
chore(deps): update dependency unenv to ^0.5.3 (#6447)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-08 22:14:57 +02:00
Anthony Fu 57f9a51c18
chore(deps): upgrade unplugin (#6429) 2022-08-08 22:12:07 +02:00
pooya parsa c954dcb9e9
feat(nuxt): update nitropack to latest (#6442)
* feat(nuxt): update nitropack

* update renderer to use defineRenderHandler

* update
2022-08-08 21:12:15 +02:00
renovate[bot] 745d6115d2
chore(deps): update all non-major dependencies (#6443)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-08 21:12:04 +02:00
Daniel Roe 46f36a4038
fix(nuxt): use payload error state as source of truth (#6389) 2022-08-08 16:33:31 +02:00
renovate[bot] 0cbba77011
chore(deps): update dependency h3 to ^0.7.14 (#6440)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-08 15:40:26 +02:00
pooya parsa ee36ddf516
fix(nuxt): add `viteServerDynamicImports` as experimental flag (#6433) 2022-08-08 15:25:58 +02:00
pooya parsa 4ec68db323
fix(nuxt): do not log `404` and `showError` as fatal by default (#6437) 2022-08-08 14:11:50 +02:00
renovate[bot] e40286e04f fix(nuxi): upgrade `listhen` (#6434) 2022-08-08 13:49:31 +02:00
renovate[bot] e25b7542b8
chore(deps): update all non-major dependencies (#6431)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-08 13:26:36 +02:00
Daniel Roe e3b0608470
fix(kit): move relative path handling back into nuxt templates (#6430) 2022-08-08 13:03:44 +02:00
Nathan Chase 70aec38428
docs: update vue-router links (#6421) 2022-08-08 10:27:19 +02:00
Daniel Roe 9971fade76
chore: revert unplugin upgrade (#6415) 2022-08-08 06:45:42 +02:00
pooya parsa ea868f5586
fix(vite): add hotfix for netlify deployments (#6412) 2022-08-07 11:56:00 +02:00
renovate[bot] 34c7858d0a
chore(deps): update all non-major dependencies (#6391)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-07 11:54:42 +02:00
Daniel Roe fc1d7d9507
fix(schema): cleanup meta tags and deduplicate charset and viewport (#6378) 2022-08-07 11:53:53 +02:00
Daniel Roe 41d6f372a7
feat(nuxt): update to `vue-bundle-renderer@0.4` (#6210) 2022-08-07 11:52:34 +02:00
Timur Bolotov 2cbdc5c07f docs: add missing periods 2022-08-07 11:02:31 +02:00
Daniel Roe 4623525f3f
fix(nuxt): type `useRoute` return (#6395) 2022-08-07 06:57:11 +02:00
Haytham Salama 58abefc326
docs(schema) : add a missing comma in example config (#6394) 2022-08-05 21:00:40 +02:00
Daniel Roe 60656dfa2c
fix(nuxt): remove side-effect imports from page metadata (#6376) 2022-08-05 18:35:38 +02:00
kazuya kawaguchi 0df9553ec4
refactor(test-utils): remove unused codes (#6369) 2022-08-05 10:35:08 +02:00
Daniel Roe 463c15e3d2
fix(vite): use url for entry on windows (#6355) 2022-08-04 17:24:35 +02:00
Daniel Roe 746d553249
fix(nuxt): resolve plugins and middleware to their full path (#6350) 2022-08-04 17:15:42 +02:00
renovate[bot] bc26cc6467
chore(deps): update all non-major dependencies (#6362)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-04 17:15:24 +02:00
pooya parsa e3534bcda5
fix(nuxi, kit): enable `esmResolve` flag for `jiti` (#6356) 2022-08-04 15:22:32 +02:00
Daniel Roe 1f00a9f011
fix(nuxt): make route provided to page children reactive (#6349) 2022-08-04 13:30:18 +02:00
pooya parsa 23329e0599
feat(vite): log vite-node hmr updates (#6351) 2022-08-04 13:13:12 +02:00
renovate[bot] 6d64aff6f2
chore(deps): update dependency unctx to v2 (#6340)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-04 13:00:01 +02:00
Daniel Roe 4732d2ce3a
fix(nuxt): better equality check for json cookies (#6352) 2022-08-04 12:58:15 +02:00
renovate[bot] d8cdd97f02
chore(deps): update dependency ohash to ^0.1.5 (#6354)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-04 12:56:28 +02:00
renovate[bot] 079e09ea4b
chore(deps): update all non-major dependencies (#6353)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-04 12:52:10 +02:00
Anthony Fu 972f4b47bc
fix(vite): improve `vite-node` hmr (#6343) 2022-08-04 12:03:46 +02:00
renovate[bot] 0f5eceb81b
chore(deps): update dependency mlly to ^0.5.7 (#6339)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-03 19:31:49 +02:00
renovate[bot] db819a08d3
chore(deps): update dependency mlly to ^0.5.6 (#6334)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-03 15:48:38 +02:00
Daniel Roe fbe2459255
fix(nuxt): remove literal `<script setup>` from comment (#6331) 2022-08-03 13:49:09 +02:00
Daniel Roe f75d0dfd47
fix(nuxt): extract component to provide route (#6325) 2022-08-03 12:38:46 +02:00
renovate[bot] f8a9fa7b67
chore(deps): update all non-major dependencies (#6314)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-03 10:13:47 +02:00
pooya parsa 000d81d760
fix(nuxt): generate `200.html` and `404.html` spa fallback files (#6308) 2022-08-02 18:45:44 +02:00
Daniel Roe 4379e9d922
feat(nuxt): add `setResponseStatus` utility (#6306) 2022-08-02 18:01:59 +02:00
Julien Huang 2cdaf8065c
feat(nuxt): remove wrapper from client only components (#6165)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-08-02 17:05:02 +02:00
Conrawl Rogers 8efaad43bb
feat(kit): support `followSymbolicLinks` option for `resolveFiles` (#6240) 2022-08-02 14:25:35 +02:00
Sanjaiyan Parthipan 94d0c08066
feat(nuxt): add `fetchpriority` attribute and literal typings for meta components (#6251) 2022-08-02 14:08:01 +02:00
Harlan Wilton 622c976cec
fix(nuxt): render head scripts that use `body: true` (#6293)
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2022-08-02 13:43:25 +02:00
renovate[bot] 7cc636ad93
chore(deps): update all non-major dependencies (#6241) 2022-08-02 13:42:26 +02:00
Harlan Wilton aa653ef6cb
fix(nuxt): avoid duplicate titleTemplate (#6296) 2022-08-02 13:20:44 +02:00
Daniel Roe c72093b1f2
fix(nuxt): separate routes for different suspense forks (#6275) 2022-08-02 11:58:03 +02:00
Daniel Roe b12fe7eb7c
fix(nuxt): narrow `nuxt.config` import protection (#6279) 2022-08-01 19:25:31 +02:00
Daniel Roe 96cfe01973
fix(nuxt): do not allow catchalls to have child routes (#6257) 2022-08-01 09:51:46 +02:00
pooya parsa 5dc864d7bc
fix(kit): try extensions with `resolvePath` with absolute input (#6233) 2022-07-29 15:53:35 +02:00
renovate[bot] 63cbb773df
chore(deps): update dependency autoprefixer to ^10.4.8 (#6231)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-29 14:50:14 +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
Anthony Fu 6b20d9eff1
fix(vite): fix dist dir resolution (#6215) 2022-07-29 14:33:24 +02:00
Kevin Marrec 5a042cd69b
feat(nuxt): extends support for `app.vue` (#6228) 2022-07-29 13:12:50 +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
renovate[bot] 8f65664ac0
chore(deps): update all non-major dependencies (#6223)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-29 11:42:57 +02:00
renovate[bot] 3fa32b9c22
chore(deps): update all non-major dependencies (#6173)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-29 11:40:44 +02:00
Daniel Roe 3f2eb3a3b1
fix(vite, webpack): generate composable keys based on order (#6191) 2022-07-29 11:40:04 +02:00
Anthony Fu d4eba42f17
fix(kit): add implicit `ohash` dependency (#6216) 2022-07-29 10:44:28 +02:00
Cédric Exbrayat 943dc0e16e
chore(test-utils): error message typo (#6203) 2022-07-28 14:40:03 +01:00
Daniel Roe 748b063afa
fix(nuxt): don't call renderMeta if it is not defined (#6201)
* fix(nuxt): don't call renderMeta if it is not defined

* fix: check for nuxt existence as well
2022-07-28 15:11:47 +02: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 1230268a7b
fix(nuxt): allow `useHead` to accept computed values (#6174) 2022-07-27 13:25:43 +02:00
pooya parsa f58aa8114f
feat(nuxt): `app:rendered` and `app:response` hooks (#6042) 2022-07-27 11:53:53 +02:00
Anthony Fu d15c4727a8
refactor(vite): reuse logic and improve code splitting (#6164) 2022-07-27 11:01:25 +02:00
Anthony Fu 5e62e0fec0
fix(vite): use `externality` to handle vite-node externals (#6153) 2022-07-26 15:49:17 +02:00
Anthony Fu f0485d83d9
perf(vite-node): only invalidate cache for user code (#6156) 2022-07-26 15:46:06 +02:00
Daniel Roe 54da45e7a1
fix(schema): add empty noscript array (#6155) 2022-07-26 15:43:26 +02:00
renovate[bot] 71b40a109f
chore(deps): update all non-major dependencies (#6131)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-26 15:41:31 +02:00
Victor Saa 5d023a80df
feat(nuxt, schema): add `<NoScript>` component and `noscript` typings (#6139) 2022-07-26 15:41:01 +02:00
hecateball e08a493bac
fix(nuxt): add error event declaration to the `<NuxtErrorBoundary>` component (#6141) 2022-07-26 15:36:58 +02:00