Commit Graph

3664 Commits

Author SHA1 Message Date
Pooya Parsa
c4b6560abc
fix(nuxt): apply more import protections for nitro runtime (#25162) 2024-01-12 11:22:01 +00:00
Inesh Bose
406b204640
fix(kit): improve types for options in addTemplate (#25109) 2024-01-12 10:47:23 +00:00
Julien Huang
22800704f5
fix(nuxt): add missing script blocks before island transform (#25148) 2024-01-11 15:40:02 +01:00
renovate[bot]
f70daae966
chore(deps): update dependency @vitejs/plugin-vue to v5.0.3 (main) (#25130)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-10 09:55:33 +01:00
renovate[bot]
d7725c22a7
chore(deps): update all non-major dependencies (main) (#25120)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-10 09:20:10 +01:00
renovate[bot]
7b946864ed
chore(deps): update all non-major dependencies (main) (#25103)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-01-09 13:47:37 +00:00
Michael Brevard
3b94883414
perf(nuxt): iterate rather than using Object.fromEntries (#24953) 2024-01-09 09:56:40 +00:00
github-actions[bot]
6736decba0
v3.9.1 2024-01-05 21:55:58 +00:00
renovate[bot]
6acca6f3f1
chore(deps): update dependency defu to ^6.1.4 (main) (#25075)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-05 21:00:11 +00:00
renovate[bot]
dc02809ec0
chore(deps): update all non-major dependencies (main) (#25056)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-01-05 20:16:44 +00:00
Pooya Parsa
0add7bdf5d
refactor(nuxt): remove old reference to nuxt-config-schema (#25067) 2024-01-05 11:21:29 +00:00
Julien Huang
fd812ef636
fix(nuxt): stop loading indicator if page keys are the same (#24931) 2024-01-05 10:07:01 +00:00
Alex Liu
13c42d35b3
perf(nuxt): remove some line breaks when rendering html (#24888) 2024-01-04 13:03:59 +00:00
renovate[bot]
3cdef69dbd
chore(deps): update all non-major dependencies (main) (#25036)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-01-04 13:03:12 +00:00
renovate[bot]
36b910691f
chore(deps): update all non-major dependencies to v3.4.4 (main) (#25027)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-01-03 13:05:15 +00:00
Daniel Roe
75b81d70b8
fix(nuxt): wrap universal router currentRoute in Ref (#25026) 2024-01-03 12:23:22 +00:00
renovate[bot]
bf33b6b6e2
chore(deps): update dependency postcss-import to v16 (main) (#25020)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-03 09:30:30 +00:00
Daniel Roe
b784336f8a
fix(nuxt): skip scanning layout/middleware without name (#25015) 2024-01-02 22:04:26 +00:00
Daniel Roe
653856627c
fix(nuxt): reuse intermediate setup state in <ClientOnly> (#25009)
Co-authored-by: julien huang <julien.huang@outlook.fr>
2024-01-02 21:04:58 +00:00
Daniel Roe
46148ffce7
fix(nuxt): ignore plugins typed as any in inferred injections (#25010) 2024-01-02 16:53:36 +00:00
Daniel Roe
ea02e29b9e
fix(nuxt): do not warn about missing layouts on error page (#25008) 2024-01-02 16:13:01 +00:00
Daniel Roe
7087a06c6d
fix(nuxt): clone cookie to detect changes within object (#25007) 2024-01-02 15:37:19 +00:00
Bernhard Berger
160208009e
fix(nuxt): don't show transition on initial page load (#24935) 2024-01-02 10:00:47 +00:00
renovate[bot]
4dd87f6e28
chore(deps): update all non-major dependencies (main) (#24951)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-01-01 22:12:24 +00:00
Julien Huang
219d1cd219
fix(nuxt): deeply watch island props (#24986) 2024-01-01 16:20:10 +00:00
renovate[bot]
5d22f8f34d
chore(deps): update dependency strip-literal to v2 (main) (#24959)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-01 12:32:21 +00:00
Peter
d3ea8fed97
fix(kit): show correct error when module can't be loaded (#24957) 2024-01-01 09:14:28 +00:00
renovate[bot]
1a15845be2
chore(deps): update vitest to v1.1.1 (main) (#24978)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-01 09:04:19 +00:00
Michael Brevard
e084ee7b3a
perf(nuxt): use single iteration when normalising routes (#24946) 2023-12-29 10:17:07 +00:00
renovate[bot]
34b5299412
chore(deps): update all non-major dependencies (main) (#24924)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-12-29 08:53:46 +00:00
Michael Brevard
c2b94d4a16
perf(kit,schema,nuxt): refactor startsWith to array access (#24744) 2023-12-29 08:47:11 +00:00
Daniel Roe
f5676fba56 docs: switch features/future docs 2023-12-26 22:03:39 +00:00
renovate[bot]
95e4b3e222
chore(deps): update dependency webpack-dev-middleware to v7 (main) (#24906)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-26 20:37:47 +00:00
Michael Brevard
97a6715b2c
perf(nuxt): avoid multiple iterations in useRequestHeaders (#24853) 2023-12-26 20:07:11 +00:00
renovate[bot]
ec9eaa7adb
chore(deps): update all non-major dependencies (main) (#24898)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-26 20:03:52 +00:00
Julien Huang
8ba118facb
fix(nuxt): catch error in NuxtErrorBoundary with ssr: false (#24896) 2023-12-25 17:54:01 +00:00
github-actions[bot]
c28ef02a17
v3.9.0 2023-12-25 17:24:50 +00:00
Daniel Roe
32d2c99c5f
refactor(schema): introduce future and features namespace (#24880) 2023-12-25 14:03:29 +00:00
renovate[bot]
e780bdb757
chore(deps): update dependency vue-loader to v17.4.0 (main) (#24891)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-25 13:50:49 +00:00
renovate[bot]
57d22b4184
chore(deps): update dependency @vitejs/plugin-vue to v5 (main) (#24892)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-25 13:11:43 +00:00
Damian Głowala
a2ef3091e8
feat(kit,nuxt,vite,webpack): add toArray util (#24857) 2023-12-23 14:22:58 +00:00
renovate[bot]
cf1a698ed8
chore(deps): update all non-major dependencies (main) (#24862)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-23 14:22:29 +00:00
Michael Brevard
59cac484d9
perf(vite): avoid duplicate JSON.stringify operation (#24848) 2023-12-21 09:26:59 +00:00
Daniel Roe
ba0d274b9d
test: add basic benchmark tests (#24846) 2023-12-20 22:18:31 +00:00
Michael Brevard
2cab4cba12
perf(nuxt): avoid duplicate useRuntimeConfig call (#24843) 2023-12-20 21:20:57 +00:00
Bobbie Goede
8917e5f564
fix(kit): don't add local ~/modules dirs to modulesDir (#24457) 2023-12-20 14:42:42 +00:00
Daniel Roe
22ce98d61d
fix(schema): revert bundler module resolution due to lack of support
This reverts commit 8f5fed57db.
2023-12-20 10:57:07 +00:00
Becem
fa3a83924e
fix(kit): auto-detect mode from filePath for addComponent (#24835) 2023-12-20 10:52:14 +00:00
Daniel Roe
f5a44fb20a
fix(nuxt): add __VUE_PROD_HYDRATION_MISMATCH_DETAILS__ (#24836) 2023-12-20 10:30:33 +00:00
renovate[bot]
a073bec6b1
chore(deps): update vitest to v1.1.0 (main) (#24830)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-19 20:26:30 +00:00
Daniel Roe
8d5c274aab
fix(nuxt): register override hooks separately (#24833) 2023-12-19 20:26:13 +00:00
Daniel Roe
b443de230e
test: re-enable accidentally disabled unit tests 🙈 2023-12-19 20:03:09 +00:00
Daniel Roe
8f5fed57db
feat(schema): default to bundler module resolution (#22821) 2023-12-19 15:02:28 +00:00
Julien Huang
1b93e604d3
feat(nuxt): allow client components within NuxtIsland (#22649) 2023-12-19 12:21:29 +00:00
renovate[bot]
dce7227b18
chore(deps): update all non-major dependencies to v3.3.13 (main) (#24823)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-12-19 12:17:25 +00:00
Sébastien Chopin
d26822f3df
feat(nuxt): add callOnce util to allow running code only once (#24787) 2023-12-19 11:00:11 +00:00
Julien Huang
9cd6c922e5
feat(nuxt): move loading api behind hooks (#24010) 2023-12-19 10:18:10 +00:00
Daniel Roe
3be4a5d406
chore(nuxt): add return type for entry (#24821) 2023-12-19 10:07:43 +00:00
Harlan Wilton
642d4dc9de
fix(nuxt): eager load island components map (#24584) 2023-12-19 10:07:34 +00:00
renovate[bot]
0d725e8cfc
chore(deps): update all non-major dependencies (main) (#24817)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-19 10:07:10 +00:00
renovate[bot]
1f8aac0160
chore(deps): update all non-major dependencies (main) (#24789)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-12-18 19:06:22 +01:00
Daniel Roe
2c1012326e
chore: pin rollup to v4 (#24814) 2023-12-18 18:45:30 +01:00
Daniel Roe
d5c95ad472
fix(nuxt): revert async transform of setup within defineComponent (#24784) 2023-12-16 11:09:41 +00:00
Nathanaël Labreuil
6f3cf42c9e
fix(nuxt): add appManifest middleware after modules run (#24786) 2023-12-16 09:12:22 +00:00
Michael Brevard
40a5f44942
feat(nuxt): useRequestHeader utility (#24781) 2023-12-16 09:08:56 +00:00
renovate[bot]
fe2f0e01f2
chore(deps): update dependency vite to v5.0.10 (main) (#24783)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-15 20:10:16 +00:00
Daniel Roe
e972c226d8
feat(nuxt): allow customising fallback layout (#24777) 2023-12-15 17:30:45 +00:00
renovate[bot]
4676fd0aa7
chore(deps): update dependency webpackbar to v6 (main) (#24778)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-15 15:11:05 +00:00
Michael Brevard
153d5ff273
perf(schema): use parallel promises (#24771)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-12-15 14:16:35 +00:00
Michael Brevard
24bedc5e56
perf(schema): avoid duplicate get operations (#24734) 2023-12-15 09:38:19 +00:00
Daniel Roe
db3a9f0554
feat(nuxt): transform setup within defineComponent options (#24515) 2023-12-14 21:00:36 +00:00
renovate[bot]
5d3792ec99
chore(deps): update all non-major dependencies (main) (#24759)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-14 18:03:02 +00:00
Daniel Roe
c5ff169c3a
feat(kit): add new addServerScanDir composable (#24001) 2023-12-14 17:11:53 +00:00
Julien Huang
5877e11c89
feat(nuxt): allow plugins to specify dependencies (#24127) 2023-12-14 17:11:08 +00:00
Michael Brevard
02306fd13d
perf(nuxt): don't dedupe fewer than two middleware/plugins (#24718) 2023-12-14 14:13:05 +00:00
Daniel Roe
6c7d430845
refactor(nuxt): remove process.* usage in nuxt vue app (#24749) 2023-12-14 13:58:25 +00:00
Daniel Roe
37a5d35a6d
feat(vite): replace browser globals with undefined on server (#24711) 2023-12-14 13:17:50 +00:00
Damian Głowala
72c8503236
fix(nuxt): ensure error in useAsyncData has correct type (#24396) 2023-12-14 12:41:40 +00:00
Michael Brevard
4e0d2c073f
perf(vite): simplify manifest property acccess (#24715) 2023-12-14 11:25:20 +00:00
Eugen Guriev
8ccafb182d
feat(nuxt): add dedupe option for data fetching composables (#24564) 2023-12-14 11:08:43 +00:00
Julien Huang
17b5ed9ad8
feat(nuxt): expose refresh on islands and server components (#24261) 2023-12-14 11:07:54 +00:00
Michael Brevard
1711c33be4
perf(kit): avoid duplicate join operation (#24717) 2023-12-14 11:04:20 +00:00
Michael Brevard
eff684326b
perf(nuxt): avoid duplicate iterations over layers (#24730) 2023-12-14 10:33:51 +00:00
renovate[bot]
86a7f37479
chore(deps): update all non-major dependencies (main) (#24726)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-14 10:32:30 +00:00
Michael Brevard
62df8f086d
perf(vite): avoid duplicate resolve operation (#24736) 2023-12-14 10:32:22 +00:00
Alper Doğan
3cc333690b
feat(nuxt): layers support for spa loading template (#24709) 2023-12-13 11:54:56 +00:00
Daniel Roe
7827f1843b
feat(kit): load /module or /nuxt module subpath if it exists (#24707) 2023-12-12 17:55:21 +00:00
renovate[bot]
7fdb8520d4
chore(deps): update dependency vite to v5.0.8 (main) (#24706)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-12 13:15:04 +00:00
Alexander Lichter
5d0e7e9d41
fix(nuxt): only add/remove trailing slash for http protocols (#23296) 2023-12-12 12:52:55 +00:00
Alexander Lichter
70dea8b83c
feat(nuxt): add path to error.data when throwing 404 errors (#24674) 2023-12-11 20:30:59 +00:00
renovate[bot]
10c69aa74e
chore(deps): update vitest to v1.0.4 (main) (#24696)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-11 20:30:35 +00:00
renovate[bot]
f5d07e7d1a
chore(deps): update dependency esbuild to ^0.19.9 (main) (#24668)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-11 19:09:11 +00:00
Daniel Roe
2026543a5b
chore: update vitest dependencies (#24659) 2023-12-11 18:20:11 +00:00
renovate[bot]
700a615553
chore(deps): update all non-major dependencies (main) (#24660)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-12-09 20:45:36 +00:00
renovate[bot]
7a32eaf873
chore(deps): update all non-major dependencies (main) (#24645)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-12-09 08:24:11 +01:00
Daniel Roe
0c832465ec
fix(nuxt): merge and apply layer hooks (#24639) 2023-12-08 13:51:57 +01:00
renovate[bot]
c2ad924f48
chore(deps): update all non-major dependencies (main) (#24628)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 21:47:28 +01:00
renovate[bot]
0a2ffd7023
chore(deps): update all non-major dependencies (main) (#24616)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-06 20:25:31 +01:00
Daniel Roe
445fe808c0
fix(nuxt): do not try auto-install outside of a Nuxt context (#24605) 2023-12-05 17:33:27 +00:00
Daniel Roe
1e393ad696
fix(vite,webpack): don't add type checker/analyzer when testing (#24608) 2023-12-05 17:09:46 +00:00