Commit Graph

3114 Commits

Author SHA1 Message Date
Daniel Roe c72bc95473
fix(nuxt): only remove one item from middleware (#21730) 2023-06-25 17:40:12 +01:00
Daniel Roe 6b8cb97d54
fix(nuxt): remove `path` from SPA payload (#21732) 2023-06-25 17:38:51 +01:00
Daniel Roe 068ab19aab
fix(nuxt): respect `false` to disable spa loading template (#21739) 2023-06-25 17:38:31 +01:00
Daniel Roe 88bc32d42a
fix(nuxt): proxy headers to islands + returned prerender hints (#21740) 2023-06-25 17:38:15 +01:00
Daniel Roe 789c8bfa95
fix(nuxt): use esbuild/acorn instead of `typescript` dep (#21729) 2023-06-24 00:01:17 +01:00
github-actions[bot] e58cfc81f0
v3.6.0 2023-06-23 13:06:06 +01:00
Anthony Fu adb1c122a7
fix(nuxt): fix error on layout switching (#21450)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-23 11:02:01 +01:00
Portnoy Vladislav 56eb15f83c
fix(schema): change `redirect` type for `NuxtPage` type (#21713) 2023-06-23 10:09:35 +01:00
renovate[bot] 7736fb2b0b
chore(deps): update devdependency semver to v7.5.3 (main) (#21707)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-23 09:33:51 +01:00
Daniel Roe dd5dff37d5
fix(nuxt,schema): prefer unknown rather than any for signatures (#21700) 2023-06-22 14:14:21 +01:00
Daniel Roe e00beddad6
fix(nuxt): add aliases and augmentations for nitro context (#21680) 2023-06-22 11:49:14 +01:00
renovate[bot] 829a8f4d6c
chore(deps): update dependency webpack to v5.88.0 (main) (#21683)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 11:18:35 +01:00
Daniel Roe 14a7d95139
fix(nuxt): use static nitro build if possible (#21655) 2023-06-22 11:00:50 +01:00
Daniel Roe be3f6f7018
feat(nuxt): update devdependency nitropack to v2.5.1 (#21696)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 10:38:26 +01:00
renovate[bot] c30b91ada8
chore(deps): update all non-major dependencies (main) (#21660)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-21 12:28:17 +01:00
Daniel Roe bd34a8c158
fix(nuxt): do not embed error path in payload (#21671) 2023-06-21 11:04:44 +01:00
Daniel Roe c3c56c14ab
fix(nuxt): guard `res.end()` calls with check if event is handled (#21665) 2023-06-21 07:07:02 +01:00
Daniel Roe aa2fd0112d
feat(nuxt): add types for nuxt-defined nitro runtime hooks (#21666) 2023-06-21 07:05:47 +01:00
c-schwan 5460873161
fix(nuxt): move to `@typescript-eslint/typescript-estree` (#21664) 2023-06-20 22:01:31 +01:00
Daniel Roe c66c82e6a0
feat(nuxt): allow configuring spa loading indicator (#21640) 2023-06-20 19:55:20 +01:00
Daniel Roe 343a46d5f9
fix(nuxt): inline css directly in root component (#21573) 2023-06-20 19:28:44 +01:00
renovate[bot] 5216e11ca9
chore(deps): update all non-major dependencies (main) (#21652)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-20 18:29:18 +01:00
Israel Ortuño 91ebcd7ee9
fix(nuxt): scroll to top in nested routes (#21657) 2023-06-20 17:14:56 +01:00
Daniel Roe de639e7ef9
fix(nuxt): stop indicator when not changing page component (#21656) 2023-06-20 17:02:59 +01:00
Daniel Roe b57d841614
fix(nuxt): post non-proxied cookie value via `BroadcastChannel` (#21653) 2023-06-20 17:02:13 +01:00
renovate[bot] 95fab0a2dd
chore(deps): update all non-major dependencies (main) (#21644)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-20 09:25:34 +01:00
Daniel Roe 2abcc16cfb
perf(nuxt): extract and apply plugin order at build time (#21611) 2023-06-20 00:00:03 +01:00
Daniel Roe bb4ed5e406
fix(nuxi): add back default `baseUrl` in `tsconfig.json` (#21632) 2023-06-19 23:29:09 +01:00
Daniel Roe 3fd6c179e4
fix(nuxt): replace `:` in rendered server components (for win) (#21645) 2023-06-19 23:06:46 +01:00
Daniel Roe 0e575ad5ab
feat(nuxt): expose `useNuxtApp` to window for convenience (#21636) 2023-06-19 17:17:15 +01:00
renovate[bot] 190760719c
chore(deps): update all non-major dependencies (main) (#21628)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-19 17:09:03 +01:00
Nozomu Ikuta 634829a08c
fix(nuxt): improve warning for invalid children of `<Title>` (#21613) 2023-06-17 22:37:05 +01:00
renovate[bot] b805d58ebe
chore(deps): update all non-major dependencies (main) (#21572)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-17 09:10:17 +01:00
renovate[bot] b5b36c9567
chore(deps): update vitest to ^0.32.2 (main) (#21604)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-16 21:43:17 +01:00
Daniel Roe 2a42a5f807
fix(nuxt): ensure prerendered components are treated as islands (#21583) 2023-06-16 15:47:59 +01:00
Inesh Bose c73bed8c6d
feat(kit): allow direct function in `defineNuxtModule` (#20763) 2023-06-16 15:47:38 +01:00
Quentin 7e74e7c2fc
feat(nuxt): start loading indicator state with middleware (#21003) 2023-06-16 15:47:20 +01:00
Nozomu Ikuta 48c2b458a1
fix(vite): ignore and warn if vite config file exists (#21588) 2023-06-16 15:19:53 +01:00
Rodrigo Pimentel b37ec72f8a
feat(nuxt): emit error in `ssr-error` event (#21547) 2023-06-14 19:44:43 +01:00
Nicolas Payot 187230b0c5
fix(nuxt): abort navigation when updating `window.location` (#21521) 2023-06-14 15:37:21 +01:00
renovate[bot] d32855ae13
chore(deps): update all non-major dependencies (main) (#21517)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-14 11:31:04 +01:00
Daniel Roe 19fc2828fb
perf(nuxt): use prerendered islands to serialise/revive payload (#21461) 2023-06-14 10:09:27 +01:00
renovate[bot] 3b0b924946
chore(deps): update dependency destr to v2 (main) (#21536)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-12 20:43:13 +01:00
Daniel Roe 05a8c2d955
fix(nuxt): respect query/hash for external routes in `navigateTo` (#21500) 2023-06-11 22:27:02 +01:00
Daniel Roe 03186d6d44
fix(nuxt): don't disable vue endpoint in dev mode (#21524) 2023-06-11 21:41:22 +01:00
Julien Huang 41d34ca67d
feat(nuxt): allow accessing `NuxtLayout` ref via `layoutRef` (#19465) 2023-06-10 23:17:14 +01:00
Julien Huang 319935fc95
feat(nuxt): allow accessing `NuxtPage` ref via `pageRef` (#19403) 2023-06-10 23:13:33 +01:00
Daniel Roe c6a62268c3
fix(vite): invalidate templates by `dst` not `src` (#21501) 2023-06-10 18:14:58 +01:00
renovate[bot] 8aa611a32e
chore(deps): update all non-major dependencies (main) (#21507)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-06-10 18:10:10 +01:00
Edward Hibbert 13aae836e8 perf(nuxt): import error component synchronously (#21406) 2023-06-10 10:11:26 +01:00
Daniel Roe acdc28a99e
fix(nuxi,nuxt): remove baseUrl + use relative paths in tsconfig (#21081) 2023-06-09 23:19:42 +01:00
Nicolas Payot c884a95f0f
feat(nuxt): return `status` from `useAsyncData` (#21045) 2023-06-09 22:38:14 +01:00
Žan Fras 0505c9147d
docs: remove example of deprecated reactivity transform (#21396) 2023-06-09 22:24:39 +01:00
Hebilicious ee6869b1ba
feat(kit): `addTypeTemplate` helper with auto-registration (#21331) 2023-06-09 22:24:03 +01:00
Jongmin Yoon 31a1b98f3f
feat(nuxt): provide `clearNuxtState` composable (#21409) 2023-06-09 22:22:21 +01:00
renovate[bot] fa08ed62df
chore(deps): update all non-major dependencies (main) (#21479)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-09 10:43:32 +01:00
Anthony Fu 02ba4b30ac
fix(nuxt): fix typo on `nitro.autoImport` option (#21485) 2023-06-09 10:15:33 +01:00
Lehoczky Zoltán 7ff0c2d97a
fix(schema): add more explicit types for config schema (#21475) 2023-06-08 22:50:29 +01:00
Julien Huang ed5732196d
fix(nuxt): prefix server component ids to avoid collisions (#21472) 2023-06-08 21:55:21 +01:00
renovate[bot] c4c98d950f
chore(deps): update all non-major dependencies (main) (#21441)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-07 21:08:44 +01:00
Wilson Pinto 857511f448
feat(webpack, schema): add webpack experiments configuration (#21446) 2023-06-07 20:49:46 +01:00
Wilson Pinto 5a25fca475
fix(nuxt): add missing vue types (#21445) 2023-06-07 20:49:19 +01:00
Wilson Pinto c4e5ac83bf
feat(nuxt): add `open` option in `navigateTo` helper (#21333) 2023-06-07 20:27:00 +01:00
pooya parsa 05f3decfa9
fix(nuxt): avoid early returning renderer with empty response (#21439) 2023-06-07 14:11:59 +01:00
renovate[bot] f5e65171a2
chore(deps): pin devdependency esbuild-loader to 3.0.1 (main) (#21440)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-07 14:07:25 +01:00
Daniel Roe 525a06af38
feat(webpack): allow configuring `esbuild-loader` options (#21436) 2023-06-07 13:50:12 +01:00
renovate[bot] f0ade90645
chore(deps): update all non-major dependencies (main) (#21410)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-07 13:30:41 +01:00
Daniel Roe 7710ed30fa
fix(nuxt): skip vue render when redirecting (#21412) 2023-06-07 13:18:50 +01:00
Daniel Roe 6d62b65f97
fix(schema): remove obsolete terser option from webpack config (#21407) 2023-06-07 12:46:08 +01:00
renovate[bot] 5872015be3
fix(vite): remove `resolveId` workaround and update vite-node (#21423)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-07 12:42:59 +01:00
Anthony Fu 6d59a027c7
perf(nuxt): mark define functions as side-effect free at source (#21434) 2023-06-07 11:11:24 +01:00
John Jenkins 6bb0a849fe
feat(nuxt): add `renderResult` to `app:rendered` (#18610) 2023-06-07 10:25:05 +01:00
Asher White 0bc38b7e19
fix(nuxt): replace BigInt literal with BigInt constructor (#21427) 2023-06-07 09:57:44 +01:00
Harlan Wilton c0b3d26b00
feat(kit): module compatibility utils (#21246) 2023-06-06 23:36:35 +01:00
Alexander B a31899af65
feat(nuxt): sync `useCookie` state between tabs (#20970) 2023-06-06 23:21:51 +01:00
Daniel Roe 370b84e909
fix(nuxt): handle page rendering on different path (#21408) 2023-06-06 22:47:32 +01:00
github-actions[bot] 199595f3af
v3.5.3 2023-06-06 01:24:34 +01:00
renovate[bot] a1dbeaf9e8
chore(deps): pin dependencies (main) (#21388)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-06 01:19:11 +01:00
Daniel Roe d58d1ea1ee chore: support vitest 0.30.0 peer dependency 2023-06-05 22:57:15 +01:00
Wilson Pinto 0f4ae15cee
fix(kit): temporarily inline `lodash.template` from `lodash-es` (#20892) 2023-06-05 22:52:43 +01:00
anhao 67f2232014
fix(vite): skip generating keys for locally scoped functions (#20955) 2023-06-05 20:15:12 +01:00
Daniel Roe ec72066f91
fix(nuxt): key distinct pages differently for legacy asyncData (#21263) 2023-06-05 19:36:26 +01:00
Daniel Roe 05b577e550
fix(nuxt): support usage of `std-env` in runtime code (#21372) 2023-06-05 19:23:38 +01:00
renovate[bot] febf4b807d
chore(deps): update all non-major dependencies (main) (#21377)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-05 16:37:25 +01:00
Alexander 6163c5e32a
fix(nuxt): display errors in client overlay with `typeCheck` (#21064) 2023-06-05 15:58:18 +01:00
renovate[bot] 7998dac541
chore(deps): update all non-major dependencies (main) (#21321)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-05 00:24:39 +01:00
Wilson Pinto 1e6d640bf7
fix(schema): add types for vue experimental features (#21364) 2023-06-05 00:06:01 +01:00
renovate[bot] 5d9973da49
chore(deps): pin devdependency vue-loader to 17.2.2 (main) (#21365)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-04 23:55:21 +01:00
Lehoczky Zoltán fd6a9b2ead
fix(schema): update `vue-loader` options type (#21363) 2023-06-04 23:07:53 +01:00
renovate[bot] 1209b930ad
chore(deps): update all non-major dependencies (main) (#21295)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-02 14:31:12 +01:00
Daniel Roe 5614ef9b8f
chore: avoid inlining deps in vitest (#21316) 2023-06-02 12:12:33 +01:00
Anthony Fu 7512a52488
fix(nuxi): always use the latest devtools wizard (#21291) 2023-05-31 17:14:28 +01:00
renovate[bot] f824116fa0
chore(deps): pin dependencies (main) (#21289)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-31 17:10:16 +01:00
Daniel Roe f84df08dbc
fix(nuxi): pass `--no-clear` config through to vite (#21262) 2023-05-31 15:28:09 +01:00
Daniel Roe a302fe8062
perf(nuxt): avoid watching nested paths (#21256) 2023-05-31 14:11:46 +01:00
Daniel Roe c9adf700a4
fix(nuxt): handle serialising empty bigint (#21257)
Co-authored-by: lorado <eugen.sacharow@gmx.de>
2023-05-30 13:53:04 +02:00
Daniel Roe 6f8d036d4f test: add additional component case 2023-05-30 11:21:27 +02:00
github-actions[bot] d85348987f
v3.5.2 2023-05-29 13:48:59 +02:00
renovate[bot] bb76ba9beb
chore(deps): update devdependency vue-router to ^4.2.2 (main) (#21235)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-29 13:48:09 +02:00
renovate[bot] a6cac7b746
chore(deps): update dependency vue-loader to ^17.1.2 (main) (#21229)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-29 03:49:48 -05:00