Commit Graph

2543 Commits

Author SHA1 Message Date
Daniel Roe 6016aef859
fix(nuxt): expose `nuxt/schema` subpath for augmentation (#18922) 2023-02-13 22:42:04 +00:00
Lioness100 b25b6c82c7
docs: fix typos (#18976) 2023-02-12 19:16:42 +00:00
pooya parsa 7111b6cf44
fix(nuxt): avoid recursive import in nitro renderer (#18948)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-10 16:33:06 +00:00
renovate[bot] 2d342c3a19
chore(deps): update all non-major dependencies (main) (#18929)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-10 14:23:27 +00:00
Daniel Roe ee2f568fc1 refactor(nuxt): combine imports from same relative path 2023-02-10 10:32:02 +01:00
Daniel Roe 19bef5aba4
fix(schema): allow type inference of arrays in runtime config (#18931)
* fix(schema): allow type inference of arrays in runtime config

* test: add types fixture
2023-02-10 07:36:10 +00:00
Daniel Roe 5855c1ed53
v3.2.0 (#18843) 2023-02-09 02:55:03 -08:00
Daniel Roe 71d67ad47f chore: combine import statements 2023-02-09 09:13:48 +01:00
renovate[bot] a89e2fa391
chore(deps): update all non-major dependencies (main) (#18890)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-09 00:13:25 -08:00
Daniel Roe 9a035a15c5
refactor(nuxt): within nuxt app, import directly from source file (#18902) 2023-02-08 22:26:41 -08:00
pooya parsa 9845467421
feat(nuxt): upgrade to nitropack 2.2 (#18889) 2023-02-09 07:02:07 +01:00
Chen 2e6224602c
fix: reorder the types field in package.json (#18880) 2023-02-08 06:04:37 -08:00
renovate[bot] 9f3b38ca37
chore(deps): update dependency esbuild-loader to v3 (main) (#18883)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-08 04:09:30 -08:00
Daniel Roe c936bc7187
feat(nuxi): add initial support for enabling/disabling devtools (#18864)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2023-02-08 02:43:39 -08:00
Julien Huang 113ce71c34
fix(nuxt): use parser to treeshake `<ClientOnly>` (#8713) 2023-02-08 00:59:57 -08:00
Yasser Lahbibi e451a9965e
fix(nuxt): don't exclude pnpm layers from nitro esbuild/imports (#9952) 2023-02-07 09:18:47 -08:00
Dany Sluijk bae73c3650
feat(nuxt): infer `useFetch` return based on the method (#18526) 2023-02-07 06:01:31 -08:00
Alex Liu 526a78095a
fix(nuxt): defer adding route path to preloaded record (#18862) 2023-02-07 06:01:03 -08:00
Anthony Fu 2677b88f5f
feat(nuxt): support type auto-import (#18859) 2023-02-07 06:00:11 -08:00
Ayaka Rizumu 34b58d143c
chore: update @vueuse/head 1.0.25 (#18850) 2023-02-07 02:38:37 -08:00
renovate[bot] 1dc0c0c1fc
chore(deps): update all non-major dependencies (main) (#18841)
* chore(deps): update all non-major dependencies

* test: add `uncrypto` to snapshot

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-07 02:00:24 -08:00
Daniel Roe 01076d144f
feat(schema): add type hints for runtime config (#18652) 2023-02-06 15:27:35 -08:00
Daniel Roe 85881b462b
feat(nuxi): warn when prerendering routes with `ssr: false` (#18783) 2023-02-06 15:25:53 -08:00
Daniel Roe 39747ce095
perf(vite): use stub entry in vite server build when `ssr: false ` (#18782) 2023-02-06 15:25:24 -08:00
Mehdi HosseinZade 76a08e3ccd
feat(kit): add `addRouteMiddleware` method (#18553) 2023-02-06 15:24:56 -08:00
Daniel Roe a6a2978978
fix(vite): exclude styles, not all assets (#18752) 2023-02-06 15:24:17 -08:00
renovate[bot] 66b0108b5d
chore(deps): update dependency esbuild to ^0.17.6 (main) (#18837)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-06 14:36:07 -08:00
Daniel Roe d998c16bac
fix(webpack): client-side typechecking when `ssr: false` (#18828) 2023-02-06 10:35:47 -08:00
renovate[bot] 6ce5443a7a
chore(deps): update all non-major dependencies to ^1.0.21 (main) (#18824)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-06 07:58:52 -08:00
Evan You 73a966985e
Update auto-imports.test.ts (#18800) 2023-02-06 00:37:46 -08:00
renovate[bot] 39b5886a0d
chore(deps): update all non-major dependencies (main) (#18775)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-05 04:31:53 -08:00
Lucas 198f9a23ec
docs(schema): add NuxtHooks interface documentation (#18756) 2023-02-05 04:17:15 -08:00
Julien Huang bf617c790c
fix(nuxt): treeshake client-only components with placeholders (#8789) 2023-02-04 07:36:03 -08:00
renovate[bot] 342e9aa1cc
chore(deps): update all non-major dependencies (main) (#18746)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-03 09:10:20 -08:00
Daniel Roe 225988ebd5
v3.1.2 (#18685) 2023-02-03 04:56:51 -08:00
Daniel Roe 2b75414f47
perf(nuxt): cache result of importing styles module (#18734) 2023-02-03 04:50:17 -08:00
Daniel Roe 03d6737089
fix(vite, webpack): omit magic keys when import of same name is detected (#18733) 2023-02-03 03:55:58 -08:00
renovate[bot] fcd63a0e18
chore(deps): update all non-major dependencies (main) (#18708)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-02 13:35:40 -08:00
Daniel Roe cb0860ba6c
fix(nuxt): make `onNuxtReady` safe to run on server-side (#18706) 2023-02-02 05:27:48 -08:00
renovate[bot] cce4df1cb9
chore(deps): update all non-major dependencies (main) (#18694)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-02 03:51:23 -08:00
Daniel Roe 727cf7958f chore: update `2.x` branch name 2023-02-01 18:38:15 +00:00
renovate[bot] 434d36b532
chore(deps): update all non-major dependencies (main) (#18664)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-01 05:56:10 -08:00
pooya parsa 637b88304e
fix(kit): avoid adding already installed modules to internal `_installedModules` (#18647) 2023-01-31 17:44:19 +01:00
Daniel Roe d1a79a95a6
perf(vite): use compiled regexp for test (#18646) 2023-01-31 08:38:18 -08:00
Daniel Roe b864fa04a7
fix(vite): ensure `__publicAssetsURL` set before loading assets (#18642) 2023-01-31 06:04:55 -08:00
Daniel Roe b7591e639d
perf(nuxt): simplify generated variable names (#18629) 2023-01-30 12:24:58 -08:00
Daniel Roe c9d0b2f6be
fix(test-utils): prevent orphaned processes and use baseURL when loading (#18623) 2023-01-30 12:21:02 -08:00
Daniel Roe a0085b70a3
fix(nuxt): dedupe vue-router (#18626) 2023-01-30 10:22:15 -08:00
Daniel Roe 5037dd6876
fix: use named export from `defu` in all places (#18624) 2023-01-30 04:09:48 -08:00
Tobias Diez d83dc797af
fix(kit): don't use default export of defu (#18589) 2023-01-30 03:50:24 -08:00