Commit Graph

2732 Commits

Author SHA1 Message Date
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