Commit Graph

3115 Commits

Author SHA1 Message Date
pooya parsa 9e503be0f2
feat(nuxt): experimental option for rich json payloads (#19205)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-04-07 03:34:35 -07:00
Daniel Roe d4f718d8cd
refactor(schema): clean up `experimental` options (#20112) 2023-04-07 03:05:09 -07:00
cany748 4f0b3c7223
fix(nuxt): add `undefined` type for `useCookie` return value 2023-04-07 01:45:44 -07:00
Julien Huang b068f79fee
fix(nuxt): add key to `.client` component placeholders (#20093) 2023-04-07 01:31:04 -07:00
renovate[bot] a02f69943f
chore(deps): update dependency memfs to ^3.5.0 (main) (#20116)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-06 15:03:08 -07:00
Daniel Roe 41bfd55230
fix(nuxt): test all custom app config keys for `any` (#20105) 2023-04-06 05:33:54 -07:00
Daniel Roe 4d75540655
fix(nuxt): add `@types/node` as a peerDependency (#20025) 2023-04-06 05:33:07 -07:00
Anthony Fu 72ba53efbc
feat(test-utils): allow mounting single component for testing (#5723) 2023-04-06 05:07:22 -07:00
Julien Huang 3fc9a75070
feat(nuxt): support vue runtime compiler (#4762) 2023-04-06 04:51:32 -07:00
renovate[bot] 7b5c755b38
chore(deps): update all non-major dependencies (main) (#20101)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-06 02:40:06 -07:00
Aleksandar Trpkovski 1ae30ba474
fix(nuxt): throw error on protocol relative path in `useFetch` (#20052) 2023-04-04 15:04:38 -07:00
renovate[bot] ab9f33a648
chore(deps): update all non-major dependencies (main) (#20086)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 07:26:11 -07:00
Daniel Roe b811742f89
fix(nuxt): add types for globally injected `$config` object (#20081) 2023-04-04 06:34:39 -07:00
Daniel Roe bc9c7dcac8
feat(nuxt): respect custom `dir.pages` in page placeholder (#20079) 2023-04-04 06:18:29 -07:00
renovate[bot] d83ea1e877
chore(deps): update all non-major dependencies (main) (#20062)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 03:23:16 -07:00
Daniel Roe f40b3e2492
feat(nuxt): support `~`/`~~`/`@`/`@@` aliases within layers (#19986) 2023-04-03 06:18:24 -07:00
Daniel Roe ee8d3f6ea6
feat(nuxt): support disabling `watch` with `useFetch` (#19823) 2023-04-03 05:36:14 -07:00
Daniel Roe b1826ee9f4
fix(kit): support calling Nuxt 2 modules with module container (#20023) 2023-04-03 05:04:56 -07:00
Daniel Roe c660b39447
fix(nuxt): disable `x-nuxt-no-ssr` header by default (#20024) 2023-04-03 03:39:01 -07:00
Daniel Roe 61699f864e
feat(nuxt): warn in dev when `useRoute` is used in middleware (#20050) 2023-04-03 03:36:17 -07:00
Daniel Roe 79ad5ac9bc chore: loosen nitro version constraint 2023-04-03 11:34:06 +01:00
Daniel Roe d190f743dc
fix(nuxt): end route param tokens manually (#19902) 2023-04-03 02:56:44 -07:00
Daniel Roe 8e9d7157a8
v3.3.3 (#20022) 2023-04-02 07:14:21 -07:00
Daniel Roe 1fd491f1a5 fix(schema): add export condition for nuxt2 support 2023-04-02 14:53:39 +01:00
renovate[bot] 0634d49fc8
chore(deps): update dependency esbuild to ^0.17.15 (main) (#20031)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-02 06:53:22 -07:00
Daniel Roe 2f8e991b94 chore: fix typo in code comment 2023-04-01 12:12:34 +01:00
Daniel Roe 822202239c
fix(nuxt): sync `setResponseStatus` signature with h3 (#19987) 2023-03-31 07:02:26 -07:00
Daniel Roe 575f950cfc
fix(vite): remove separate rollup dependency (#20013) 2023-03-31 06:57:14 -07:00
renovate[bot] c4f30bffd5
chore(deps): update all non-major dependencies (main) (#20007)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-31 06:56:48 -07:00
Daniel Roe fe04bf0f7b
refactor(vite): use rollup types re-exported from vite (#20011) 2023-03-31 02:56:10 -07:00
Daniel Roe 4ed5d2f872
fix(nuxt): suppress handled errors (#20002) 2023-03-31 02:17:10 -07:00
Daniel Roe 99ac1d5976
fix(webpack): transpile rest of nuxt runtime directories (#19936) 2023-03-30 09:24:18 -07:00
renovate[bot] eef031a97f
chore(deps): update all non-major dependencies (main) (#19985)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-30 07:37:21 -07:00
David Mignot b31fd4ad34
fix(nuxt): store payloads in cache without trailing slash (#19992) 2023-03-30 05:32:00 -07:00
renovate[bot] 826c054154
chore(deps): update all non-major dependencies (main) (#19959)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-29 09:53:04 -07:00
Daniel Roe ae82d70895
fix(vite): allow extending vue config per-environment (#19968) 2023-03-29 03:59:57 -07:00
Daniel Roe cb154c9f95
chore: use pnpm workspace protocol internally (#19962) 2023-03-28 08:53:00 -07:00
renovate[bot] dbc6ed9499
chore(deps): update all non-major dependencies (main) (#19957)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-28 06:35:29 -07:00
Daniel Roe e60cb26983 chore: remove unneeded types packages 2023-03-28 14:20:07 +01:00
renovate[bot] 24739b6a8c
chore(deps): update all non-major dependencies (main) (#19914)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-28 06:17:30 -07:00
renovate[bot] 576bdc2dd7
chore(deps): update dependency css-minimizer-webpack-plugin to v5 (main) (#19942)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-28 03:01:49 -07:00
renovate[bot] 407c2140e6
chore(deps): update dependency cssnano to v6 (main) (#19943)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-28 02:41:16 -07:00
Daniel Roe 6f6140809d
fix(nuxt): don't override options signature with schema (#19934) 2023-03-28 01:55:20 -07:00
Daniel Roe 45cedd85bd
fix(schema): prefer src to rootDir aliases (#19937) 2023-03-28 01:37:06 -07:00
renovate[bot] ebf3ec398f
chore(deps): update all non-major dependencies (main) (#19913)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-25 07:12:38 +01:00
Daniel Roe dd6f9c01cc
v3.3.2 (#19875) 2023-03-24 11:31:59 -07:00
Daniel Roe a0c2fb3d25
fix(kit): add legacy entrypoints for pre v3.3 usage (#19874) 2023-03-24 10:19:43 -07:00
renovate[bot] 8e90f49d04
chore(deps): update all non-major dependencies (main) (#19894)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 10:18:07 -07:00
renovate[bot] dcc96446af
chore(deps): update all non-major dependencies (main) (#19880)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-23 14:34:53 -07:00
Daniel Roe 0b5ba6c3e9
chore: remove unused TS directive 2023-03-23 14:03:21 +01:00
Daniel Roe 562cef24ca
perf(nuxt): experimentally disable vue server renderer nitro endpoint (#19825) 2023-03-23 09:04:40 +00:00
renovate[bot] fc9c3803b8
chore(deps): update all non-major dependencies (main) (#19862)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-22 17:45:39 -07:00
pooya parsa dc5982d9e0
fix(test-utils): allow overriding nitro options (#19872) 2023-03-22 17:27:13 -07:00
Daniel Roe 824d296c7b
fix(kit): check if nuxt is restarting before updating templates (#19830) 2023-03-22 17:24:18 -07:00
Harlan Wilton c6f928d786
fix(nuxt): add missing import in islands template (#19870) 2023-03-22 17:19:26 -07:00
Daniel Roe e6c1bb57d7
fix(nuxt): use prerender cache for islands (#19822) 2023-03-22 17:12:01 +00:00
Daniel Roe 9d8c230132
fix(nuxt): ignore schema types that eval to any (#19835) 2023-03-22 17:08:27 +00:00
Daniel Roe 4430c664e8
fix(vite): support multiple rollup entries (#19842) 2023-03-21 14:35:51 -07:00
renovate[bot] 4e06a0acf8
chore(deps): update all non-major dependencies (main) (#19834)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-21 00:40:01 -07:00
Julien Huang 4671294229
fix(nuxt): directly render server components (#19605) 2023-03-20 14:47:06 -07:00
Mehdi HosseinZade 3a971d0b36
fix(nuxt): observe slot element in custom nuxt-link (#19802) 2023-03-20 14:46:12 -07:00
renovate[bot] 4f683319cb
chore(deps): update all non-major dependencies (main) (#19828)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-20 17:53:43 +00:00
Daniel Roe ebd7dcd4ba
fix(nuxt): handle external navigation to api routes (#19829) 2023-03-20 17:15:01 +00:00
renovate[bot] dd8608b1cf
chore(deps): update dependency rollup to ^3.20.0 (main) (#19811)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-20 04:10:11 -07:00
renovate[bot] b04f7dd2d5
chore(deps): update dependency webpack-dev-middleware to ^6.0.2 (main) (#19804)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-19 16:53:23 -07:00
Emil Rosenius 11ee3c92b9
fix(nuxt): add temporary augmentation for webstorm (and docs) (#19400)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-19 16:22:55 -07:00
Daniel Roe 3055ce35b1
fix(nuxt): use `h3` utilities to set response status/code (#19713) 2023-03-19 16:20:04 -07:00
Anthony Fu ce575b49e3
fix(nuxt): ignore falsy modules (#19684) 2023-03-19 16:16:13 -07:00
Daniel Roe 9d0d4e207d
fix(nuxi): watch dist and register restart hook after nuxt is ready (#19736) 2023-03-18 13:39:06 +00:00
Daniel Roe 4ca2dccd38
fix(nuxt): unset context after app is created (#19753) 2023-03-17 19:01:16 +00:00
Daniel Roe 5a1cfa8b66
fix(webpack): transpile app directory (#19773) 2023-03-17 18:59:57 +00:00
Daniel Roe 81da4cf5a2
fix(kit): handle node 14 performance behaviour (#19733) 2023-03-17 03:08:21 -07:00
renovate[bot] 40ad3f799b
chore(deps): update all non-major dependencies (main) (#19750)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-17 02:43:07 -07:00
Daniel Roe 3e58f90914
chore: add internal types for nitro/app (#19745) 2023-03-16 09:27:10 -07:00
Harlan Wilton 7103670acc
fix(nuxt): unpause DOM updates on suspense resolve (#19740) 2023-03-16 07:53:10 -07:00
renovate[bot] 0ee2234808
chore(deps): update all non-major dependencies (main) (#19732)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-16 06:16:00 -07:00
renovate[bot] 279088d5ab
chore(deps): update all non-major dependencies (main) (#19722)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-15 16:11:17 -07:00
renovate[bot] 3399a91b38
chore(deps): update all non-major dependencies (main) (#19706)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-15 14:27:42 -07:00
renovate[bot] 157bfbdedb
chore(deps): update all non-major dependencies (main) (#19686)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-15 07:51:15 -07:00
Daniel Roe 886cca19ea
fix(kit): provide name to `performance.mark()` (#19687) 2023-03-15 04:26:01 -07:00
Daniel Roe 184d57bb19 v3.3.1 2023-03-14 14:45:19 +00:00
Daniel Roe a1691721d4 fix(nuxt): import builder path as file url 2023-03-14 14:24:04 +00:00
Daniel Roe 01ee5bd7c5
fix(nuxi): use file url to start nuxi (#19676) 2023-03-14 07:06:48 -07:00
Daniel Roe 2ebf5f4c44
v3.3.0 (#19524) 2023-03-14 06:22:41 -07:00
Daniel Roe 4b2cb52f8a
fix(nuxt): fix default injection type for plugins (#19669) 2023-03-14 06:08:43 -07:00
Daniel Roe 9d850a2a12
feat(nuxt): add `nitro:build:public-assets` hook (#19638) 2023-03-14 03:34:55 -07:00
Daniel Roe 88a5f38de0 chore: constrain nitro to minor version 2023-03-14 10:23:29 +00:00
Daniel Roe 0f6276dc6e
fix(nuxt): mark non-augmented NuxtApp properties as unknown (#19643) 2023-03-14 03:09:50 -07:00
pooya parsa e84ec61eeb
feat(nuxt): support app config for server routes (#19489) 2023-03-14 02:54:59 -07:00
renovate[bot] 153433d9c6
chore(deps): update devdependency nitropack to ^2.3.0 (main) (#19654)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-14 01:59:29 -07:00
renovate[bot] e2206ad5d7
chore(deps): update all non-major dependencies (main) (#19630)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-13 13:49:29 -07:00
Hyunseung Lee e42d63a25a
fix(schema): show `payloadExtraction` warning only when unset (#18516)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-13 04:06:43 -07:00
Daniel Roe ce45590120
refactor(nuxt): let mlly handle search paths (#19635) 2023-03-13 10:14:27 +00:00
renovate[bot] 8051614738
chore(deps): update dependency execa to ^7.1.0 (main) (#19609)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-12 15:26:05 -07:00
Daniel Roe ea8f78a63a
fix(nuxt): exclude `boolean` from inline module definitions (#19621) 2023-03-12 15:25:45 -07:00
Daniel Roe e13e227d06
fix(nuxt): resolve builder using esm syntax (#19608) 2023-03-11 15:11:28 -08:00
Daniel Roe 60b4c48eb4
fix(nuxt,schema): merge custom and resolved app configs (#19602) 2023-03-11 14:53:28 -08:00
Daniel Roe 3684de58f4
fix(nuxi): resolve kit from nuxt modules dir (#19601) 2023-03-11 14:36:43 -08:00
Xin Du (Clark) 4de4de1a71
fix(nuxt): improve types for data fetching with `transform` (#19487) 2023-03-11 14:36:10 -08:00
Daniel Roe 53a2a0fdcb
fix(nuxt): avoid injecting adhoc modules in schema (#19607) 2023-03-11 14:11:48 -08:00
Daniel Roe b19b35fb67
fix(nuxt): provide node16-style type exports (#18431) 2023-03-11 13:16:01 -08:00
Daniel Roe e6bbf71fd5
chore: improve internal type safety (#19599) 2023-03-11 18:22:29 +00:00
renovate[bot] 42986a4669
chore(deps): update dependency unplugin to ^1.3.0 (main) (#19598)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-11 06:33:40 -08:00
renovate[bot] 858ce0d122
chore(deps): update all non-major dependencies (main) (#19594)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-11 04:51:37 -08:00
renovate[bot] bba7a89728
chore(deps): update dependency h3 to ^1.6.0 (main) (#19593)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-10 13:34:39 -08:00
renovate[bot] 1376da76da
chore(deps): update all non-major dependencies (main) (#19584)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-10 08:46:34 -08:00
Harlan Wilton d2f0b22632
perf(nuxt): tree-shake server composables + prefer server head (#19576) 2023-03-10 08:45:22 -08:00
Daniel Roe 6d79b71588
refactor(kit,nuxi): resolve module paths using node algorithm (#19537) 2023-03-10 06:55:01 -08:00
pooya parsa 6bd9b9448e
feat(kit, schema): measure module setup timings (#18648) 2023-03-10 03:30:22 -08:00
Harlan Wilton c91e4d7933
feat(nuxt): add `useHeadSafe` and remove layer around head imports (#19548) 2023-03-10 00:01:21 -08:00
renovate[bot] 3f9a05601c
chore(deps): update dependency autoprefixer to ^10.4.14 (main) (#19570)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-09 15:05:36 -08:00
renovate[bot] cda4a7d134
chore(deps): update all non-major dependencies (main) (#19568)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-09 14:01:52 -08:00
Daniel Roe 9a5e3e3044
chore(nuxt): update to new `hasProtocol` options format (#19555) 2023-03-09 18:37:18 +00:00
Daniel Roe d469740105
fix(nuxt): dedupe payload cache by payload url (#19563) 2023-03-09 18:36:54 +00:00
江麻妞 fdd4bddf35
docs: update various nitro links (#19562) 2023-03-09 07:25:47 -08:00
renovate[bot] d06c3009df
chore(deps): update all non-major dependencies (main) (#19541)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-09 06:38:05 -08:00
Daniel Roe a313f06261
fix(nuxt): only log boot errors on client-side (#19553) 2023-03-09 06:37:39 -08:00
Daniel Roe 9036142b14
feat(nuxt): add `watch` option and refactor dev server restarting (#19530) 2023-03-09 03:46:08 -08:00
Daniel Roe edaca1a299
fix(vite): allow disabling clear screen behaviour (#19531) 2023-03-09 01:19:02 -08:00
Mehmet 17f080cad1
fix(nuxt): exclude nitro output dir from type checking (#19532) 2023-03-08 13:14:06 -08:00
renovate[bot] 4a934a5069
chore(deps): update all non-major dependencies (main) (#19493)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-08 13:13:47 -08:00
Julien Huang 1729d2e42f
feat(nuxt): add `<NuxtClientFallback>` component (#8216) 2023-03-08 13:13:06 -08:00
Harlan Wilton 8732720221
perf(head): drop `@vueuse/head` dependency (#19519) 2023-03-08 07:32:24 -08:00
Daniel Roe df3ae8cb4e
feat(nuxt): enable chunk error handling by default (#19086) 2023-03-08 12:17:22 +00:00
Anthony Fu 624314600d
feat(vite): use custom logger to show vite logs (#19523) 2023-03-08 03:56:41 -08:00
Sebastian Landwehr e344321d92
feat(cli): programmatically pass nuxt config overrides (to dev) (#19371) 2023-03-08 03:32:00 -08:00
Daniel Roe c2ab76d68e
perf(vite): mark more core functions as side-effect free (#19508) 2023-03-07 14:51:08 -08:00
Daniel Roe 60d07df4cc
feat(nuxt): support custom keyed composables (#19490) 2023-03-07 13:06:15 -08:00
renovate[bot] 6c53c8b550
chore(deps)!: update dependency fork-ts-checker-webpack-plugin to v8 (main) (#19468)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>

BREAKING CHANGE: Using the webpack builder, `typescript.typeCheck` has not been properly type-checking vue files _anyway_, so this shouldn't be a breaking change. But the underlying plugin we have been using (`fork-ts-checker-webpack-plugin`) has now formally removed support for type-checking `.vue` files to make this clearer.
2023-03-07 06:25:27 -08:00
Jakub Andrzejewski 3f1e02351d
feat(nuxi,schema): add support for setting nuxt `logLevel` (#19369) 2023-03-07 04:18:47 -08:00
Clément Ollivier fe149618da
docs: update `addComponent` jsdoc comment (#19503) 2023-03-07 03:12:54 -08:00
Harlan Wilton bb61496e98
feat(nuxt): allow configuring treeshakeable composables (#19383) 2023-03-07 01:30:05 -08:00
Alex Korytskyi 3a73f42d1c
feat(nuxt): support `trailingSlashBehavior` in `defineNuxtLink` (#19458) 2023-03-06 23:17:42 -08:00
Samuel DIDIER-LAURENT b9e6980a62
docs: update `devServer.https` example (#19486) 2023-03-06 14:54:40 -08:00
pooya parsa 4f61e36c6f
fix(cli): handle different kind of shutdown signals (#19485) 2023-03-06 15:42:20 +01:00
Alex Liu ca32852122
feat(nuxt): enable preloading object-syntax routes (#19120) 2023-03-06 03:34:17 -08:00
Daniel Roe 129bb4fa3a
feat(kit,nuxt): add component `priority` to allow overriding (#19252) 2023-03-06 03:33:40 -08:00
renovate[bot] a7d75a8465
chore(deps): update all non-major dependencies to ^1.1.16 (main) (#19466)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-05 12:59:50 -08:00
Alexander Lichter a670e07703
docs: fix link to nitro `routeRules` (#19455) 2023-03-05 10:10:56 +00:00
Daniel Roe b73ca91437
fix(kit): match commit hashes of other lengths (#19450) 2023-03-04 07:10:40 -08:00
pooya parsa 71225e50c5
feat(nuxt): enable config schema by default (#19172) 2023-03-04 06:39:26 -08:00
renovate[bot] f14b896c35
chore(deps): update all non-major dependencies (main) (#19439)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-04 06:34:20 -08:00
pooya parsa 8fa3fba11f
refactor(nuxi): hard restart with communication channel (#19423) 2023-03-03 19:24:49 +00:00
Daniel Roe 3681bddfd5
feat(nuxt): auto-register modules in `~/modules` (#19394) 2023-03-03 17:52:55 +00:00
Daniel Roe a420369c90
fix(nuxt): don't print layout warning if page is not ssr (#19434) 2023-03-03 08:47:08 -08:00
Horu 588c3ff24c
fix(nuxt): add `kit.*` files to published package (#19430) 2023-03-03 08:04:03 -08:00
Daniel Roe bc9ffa4d15
feat(nuxt): add support for `nuxt/kit` subpath for local use (#19422) 2023-03-03 06:48:04 -08:00
Ivan 7131aef820
feat(schema): allow adding page routes without a matching file (#19173) 2023-03-03 06:07:42 -08:00
Daniel Roe 44068420da fix(nuxi): avoid top-level await in wrapper 2023-03-03 13:51:47 +00:00
Anthony Fu db5ea91916
feat(nuxi): cli wrapper for self restart (#18641) 2023-03-03 05:45:38 -08:00
Stefan 6084f6416b
fix(nuxt): pass transform options to component loader plugin (#19414) 2023-03-03 02:40:24 -08:00
Daniel Roe 73ade185b2 fix(vite): omit `/` from `sourcemapIgnoreList` for windows support 2023-03-03 10:35:25 +00:00
Xin Du (Clark) 654b9a21d7
fix(schema): update vite `import.meta` types (#19338) 2023-03-03 02:20:15 -08:00
renovate[bot] 2cf5f48621
chore(deps): update all non-major dependencies (main) (#19404)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-03 06:46:30 +00:00
renovate[bot] e3fe706625
chore(deps): update all non-major dependencies to ^1.1.15 (main) (#19395)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-02 08:54:03 -08:00
Daniel Roe 21e3e17cfa
feat(vite): add `node_modules` and buildDir to `x_google_ignoreList` (#19243) 2023-03-02 07:28:15 -08:00
renovate[bot] 3475f36742
chore(deps): update all non-major dependencies (main) (#19374)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-02 02:18:50 -08:00
Lucie 0be8cda77a
fix(nuxt): prevent fallthrough attributes on custom `NuxtLink` (#19379) 2023-03-02 01:53:46 -08:00
Daniel Roe d4a75240ac
feat(nuxt): add `versions` to runtime nuxtApp (#19064) 2023-03-01 07:08:23 -08:00
Anthony Fu 59918f569e
feat(nuxt): scan composables with star export (#19249) 2023-03-01 04:24:46 -08:00
Jakub Andrzejewski 5cfd835163
feat(nuxi): reload nuxt when `restart` hook is called (#19084) 2023-03-01 04:15:01 -08:00
Inesh Bose c7eb891e12
fix(nuxt): deprecate scanning directory index plugins (#18418) 2023-03-01 04:08:58 -08:00
Daniel Roe dccb733f36
feat(nuxi): enforce consistent casing in filenames (#19088) 2023-03-01 04:03:58 -08:00
renovate[bot] 679cec0781
chore(deps): update all non-major dependencies to ^0.29.2 (main) (#19341)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-28 13:31:58 -08:00
Alexander Lichter 639189ca88
fix(nuxt): clear loading indicator on unmount (#19340) 2023-02-28 20:18:47 +01:00
Daniel Roe 32f6cb27b7
perf(nuxt): increase static asset maxAge to 1yr (#19335) 2023-02-28 05:06:31 -08:00
Daniel Roe 021ba4310e
v3.2.3 (#19317) 2023-02-28 03:19:32 -08:00
renovate[bot] 0f4793616b
chore(deps): update all non-major dependencies to ^1.1.14 (main) (#19321)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-28 02:26:11 -08:00
Daniel Roe 503b7acd55
perf(nuxt): don't update manifest in dev mode (#19315) 2023-02-27 11:36:27 -08:00
renovate[bot] 62b079a7d9
chore(deps): update dependency ufo to ^1.1.1 (main) (#19316)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-27 11:35:51 -08:00
renovate[bot] 8bfc66d6f7
chore(deps): update all non-major dependencies (main) (#19235)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-27 11:02:11 -08:00
Daniel Roe 57b8ff5b6c
fix(vite): handle non-iterable `noExternal` option (#19256) 2023-02-27 07:13:59 -08:00
Daniel Roe f16cce8824
fix(nuxt): compatible route object for custom external routes (#19261) 2023-02-27 07:13:14 -08:00
igayamaguchi 9e6fa9f7ba
fix(nuxt): preserve explicit `rel` attribute on internal link (#19309) 2023-02-27 13:29:57 +01:00
renovate[bot] fea495fb6c
chore(deps): update all non-major dependencies (main) (#19220)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-22 15:04:09 -08:00
renovate[bot] 7a4a416f3c
chore(deps): update all non-major dependencies (main) (#19209)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-22 01:30:30 -08:00
renovate[bot] a3713eb827
chore(deps): update all non-major dependencies (main) (#19168)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-21 22:01:59 -08:00
Daniel Roe 7479d469dd
fix(nuxt): log errors thrown when booting the nuxt app (#19187) 2023-02-21 07:06:10 -08:00
Daniel Roe c4eb4b784c
fix(nuxt): preserve (re)named imports in meta (#19192) 2023-02-21 04:22:12 -08:00
Daniel Roe d2481f9675
fix(webpack): use default export from webpack (#19166) 2023-02-20 12:34:33 -08:00
Alex Liu 268cded26c
fix(nuxt): prefetch object-syntax routes with `<NuxtLink>` (#19144) 2023-02-20 12:31:27 -08:00
Anthony Fu 29d6094a8d
fix(vite): normalize path emitted by vite watcher (#19179) 2023-02-20 12:28:10 -08:00
Julien Huang eaeb4f089d
fix(nuxi): restart nuxt when `distDir` is unlinked (#19131) 2023-02-20 02:56:17 -08:00
renovate[bot] cbe2ed6e3b
chore(deps): update all non-major dependencies (main) (#19158)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-20 01:52:13 -08:00
renovate[bot] 435b9230d5
chore(deps): update dependency rollup to ^3.17.1 (main) (#19146)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 14:11:01 -08:00
renovate[bot] 7f67fcec73
chore(deps): update all non-major dependencies (main) (#19134)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 10:21:07 +00:00
renovate[bot] 524426ed64
chore(deps): update all non-major dependencies (main) (#19128)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-17 21:03:12 +00:00
Daniel Roe 3a832bacb8 v3.2.2 2023-02-17 16:39:15 +00:00
Daniel Roe a89d944c8a fix(nuxi): upgrade `giget` 2023-02-17 16:38:16 +00:00
Daniel Roe 5c47d4c5ab
v3.2.1 (#19082) 2023-02-17 07:56:00 -08:00
Daniel Roe 576ce9ee36 chore: dedupe rollup 2023-02-17 14:13:17 +00:00
renovate[bot] 5ae0d52754
chore(deps): update devdependency giget to ^1.1.1 (main) (#19116)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-17 15:12:14 +01:00
renovate[bot] 6858796102
chore(deps): update all non-major dependencies (main) (#19103)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-17 06:05:49 -08:00
pooya parsa 15b9386a39
chore: update nitropack and unjs dependencies (#19100)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-17 05:38:19 -08:00
Daniel Roe ce2d97cbf7
chore: increase node 14 minor version constraint (#19111) 2023-02-17 02:08:10 -08:00
Daniel Roe 3190254bbd
fix(nuxt): pass nuxt + workspace paths when importing builder (#19099) 2023-02-16 16:59:24 -08:00
Mathieu Magalhaes f5a3d7968c
fix(nuxt): respect redirects which differ only by trailing slash (#18593)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-16 09:26:15 -08:00
renovate[bot] e2fc6f267d
chore(deps): update dependency unenv to ^1.2.0 (main) (#19087)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-16 09:24:05 -08:00
Daniel Roe af55b9882e fix(nuxt): test generated pathname 2023-02-16 17:16:51 +00:00
Daniel Roe e9ff34ace4 fix(nuxt): restore previous check on payload url 2023-02-16 16:59:06 +00:00
Daniel Roe 1e8b27f36c
perf(nuxt): don't include side-effects from `#components` (#19008) 2023-02-16 07:00:40 -08:00
Daniel Roe 7aa35ff958
fix(nuxt): validate no `//` in path when constructing payload url (#19085) 2023-02-16 06:40:51 -08:00
Hamish Claxton c45b842037
fix(nuxi): read `devServer` options from nuxt config (#19055) 2023-02-16 05:17:56 -08:00
Nathan Chase 681cfa83fd
perf(nuxt): animate transform rather than width (#19073) 2023-02-16 05:04:09 -08:00
Daniel Roe 7d0ecb5a96
fix(nuxt): show client error if no page matches after validate fails (#18978) 2023-02-16 04:56:14 -08:00
Alex 4b2901bee1
fix(nuxi): pass through exit code from test errors (#18959) 2023-02-16 04:55:12 -08:00
Julien Huang 61cd6b5c71
fix(nuxt): use parser to treeshake client-only declarations (#18951) 2023-02-16 04:47:42 -08:00
Nick Williams 9dc5413cbd
fix(vite): respect `isCustomElement` config for jsx transform (#19053) 2023-02-16 04:45:08 -08:00
Daniel Roe 96b09ea982
feat(nuxt): add experimental `app:chunkError` hook and reload strategy (#19038) 2023-02-16 04:43:58 -08:00
renovate[bot] a937e847f4
chore(deps): update all non-major dependencies (main) (#19075)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-16 04:24:49 -08:00
Ayaka Rizumu 88b895a23a
chore(deps): update @vueuse/head dependencies to 1.0.26 (#19076) 2023-02-16 03:44:31 -08:00
renovate[bot] f225ebd643
chore(deps): update all non-major dependencies (main) (#19069)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-16 03:00:39 +00:00
Daniel Roe 80f73d39ce docs: remove reference to obsolete `static` property
resolves #15009
2023-02-15 12:54:49 +00:00
renovate[bot] 636e494543
chore(deps): update all non-major dependencies (main) (#18952)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2023-02-15 03:13:08 -08:00
Daniel Roe 59a1f7bae0
perf(nuxt): allow tree-shaking empty meta from build (#19032) 2023-02-14 14:22:53 -08:00
Daniel Roe 9e789c76c0 fix(vite): exclude `nuxt/app` from optimised deps 2023-02-14 00:36:46 +00:00
Daniel Roe 2960aa3426
fix(schema): transpile `nuxt/app` by default (#19009) 2023-02-14 00:23:12 +00:00
Daniel Roe b1b908b1ed build: add `nuxt` to nuxt externals 2023-02-14 00:22:42 +00:00
Daniel Roe e3e7688732 build(nuxt): add `nuxt/schema` to externals 2023-02-13 23:08:20 +00:00
Daniel Roe 4219ff21e9
fix(nuxt): prevent hyphens forming child routes & warn if dupes are detected (#18944) 2023-02-13 22:56:39 +00:00
Xin Du (Clark) 859fbd0add
fix(nitro): ensure ssr error `statusCode` is a number (#19001) 2023-02-13 22:55:29 +00:00
renovate[bot] 54739e435e
chore(deps): update dependency execa to v7 (main) (#18965)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-13 22:44:04 +00:00
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
Daniel Roe aa646f0655 test(nuxt): exclude new internal vue `assertNumber` helper 2023-01-29 14:06:53 +00:00
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