Commit Graph

317 Commits

Author SHA1 Message Date
Levi (Nguyễn Lương Huy) 7f7794787b
fix(nuxi): support `build:error` hook (#1298) 2021-10-20 20:50:01 +02:00
TenshiGoan c5920c21e7
fix(nuxt3): child routes in vue-router don't have component field (#998)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-10-20 20:49:15 +02:00
Levi (Nguyễn Lương Huy) a3058eebae
test(nuxt3): add unit tests for `generateRoutesFromFiles` (#261) (#1227)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-20 20:12:55 +02:00
Daniel Roe 101eaa9baf
fix(nuxt3): restore `auto-imports.d.ts` to `nuxt.d.ts` (#1282) 2021-10-20 14:53:13 +02:00
renovate[bot] 22acd39508
chore(deps): update all non-major dependencies (#1240)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 12:13:35 +02:00
Anthony Fu 550a9f2e12
feat: auto-import for composables (#1176)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-20 11:47:18 +02:00
Daniel Roe f950fe0d8a
fix(nuxt3): fix type inference for `FetchResult` (#1269) 2021-10-20 11:43:08 +02:00
Pooya Parsa 4526af78a9 fix(pkg): downgrade node version to 14.16.x due to stackblitz issue
14.16.0 was released at 2021-02-23. hopefully most of platforms had time to migrate LTS.
2021-10-19 13:37:59 +02:00
Pooya Parsa 8db76fcf2e fix(pkg): downgrade node version to 14.17.x due to codesandbox issue 2021-10-19 13:24:51 +02:00
OneNail 82fc3df8bb
chore(nuxt3): remove duplicate dependence (#1215) 2021-10-19 10:39:48 +02:00
Pooya Parsa 5e903ae176 fix(nuxt3): update legacy plugin (closes #1200) 2021-10-18 21:34:51 +02:00
pooya parsa d8d10febd5
feat!: add `engines.node` field and node.js version check (#1197) 2021-10-18 21:31:15 +02:00
Daniel Roe 0b634e19a3
fix(nuxt3): auto import types (#1203) 2021-10-18 21:30:14 +02:00
pooya parsa 035e9b5e8b
refactor: rename `app` to `vueApp` (#1177) 2021-10-18 20:31:37 +02:00
pooya parsa 4cff21005f
fix(nux3): use murmurhash for fetchKey (#1195) 2021-10-18 20:31:18 +02:00
Daniel Roe 47c004ac97
fix: improve type declarations (#1178) 2021-10-18 18:06:31 +02:00
Daniel Roe 6546fccbf9
fix(nuxi): write `tsconfig` when generating `buildDir` (#1161) 2021-10-18 16:22:02 +02:00
renovate[bot] 9357d0895d
chore(deps): update dependency mlly to ^0.2.10 (#1170)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-18 15:40:56 +02:00
pooya parsa 0ab477cad0
feat(auto-imports): allow extending with config and hooks (#1167) 2021-10-18 15:39:53 +02:00
Xin Du (Clark) dbbce5fcfa
feat(kit): add components types (#1164) 2021-10-18 14:49:02 +02:00
Daniel Roe 117b3aa524
fix(nuxt3): destructure components options (#1165) 2021-10-18 13:59:31 +02:00
Xin Du (Clark) 185366ec2d
fix(nuxt3): correct compoennts hooks parameters types (#1157) 2021-10-18 11:54:29 +02:00
renovate[bot] cba4c4202b
chore(deps): update all non-major dependencies (#1156)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-18 11:41:29 +02:00
Daniel Roe d6ad4f3b16
fix(kit): load `.env` before loading `nuxt.config` (#1086) 2021-10-18 11:03:39 +02:00
renovate[bot] 4f050e50bf
chore(deps): update all non-major dependencies (#989) 2021-10-18 10:50:46 +02:00
Xin Du (Clark) 6cfe98941d
fix(kit): add missing nuxt hooks types (#971) 2021-10-18 10:14:22 +02:00
nandi95 70f1483f9e
fix(nuxt3): added missing `dev` to `process` shims (#1084) 2021-10-18 10:06:31 +02:00
Daniel Roe 93f7d776c4
fix(nuxt3): correctly type arrays returned from fetch requests (#1089) 2021-10-18 10:03:29 +02:00
Pascal Martineau f4011d0b02
fix(nuxt3): add missing `build:before` hook (#1139) 2021-10-18 10:00:23 +02:00
Patrick Remy 3e38eb8511
refactor(nuxt3): export NuxtConfig for convenience (#1039) 2021-10-14 17:22:37 +02:00
Daniel Roe d52b1e8d99
fix(nuxt3): correct auto-import file regexp (#985) 2021-10-13 23:03:36 +02:00
renovate[bot] 07086c8397
chore(deps): update all non-major dependencies (#821)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-13 22:41:21 +02:00
Xin Du (Clark) a42458e107
fix(nuxt3): enable auto-imports for sfc script with type (#931) 2021-10-13 22:24:13 +02:00
Pooya Parsa da7ff44c93 fix(nuxt3): add missing `toRef` import for `useState`
resolves #804
2021-10-12 18:24:27 +02:00
Pooya Parsa 5764042dbb fix(nuxt3): add missing `getCurrentInstance` import for `useAsyncData` (#783) 2021-10-12 17:19:06 +02:00
Anthony Fu 4b04cdfdf1
docs: init function for `useState` (#780) 2021-10-12 16:59:19 +02:00
Anthony Fu 9f0683079e
feat(nuxt3): support init function for `useState` (#767) 2021-10-12 16:28:49 +02:00
Matt Kane 70c0d8eedb
chore: change `Nuxt3` to `Nuxt 3` (#764) 2021-10-12 16:19:58 +02:00
renovate[bot] 2e87a76721
chore(deps): update all non-major dependencies (#742)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-12 16:04:31 +02:00
Pooya Parsa a896c64b12 fix(nuxt3): avoid script setup due to mkdist issue 2021-10-12 15:56:47 +02:00
pooya parsa 9cb9bb651e
feat(nuxt3): create root component (#750) 2021-10-12 14:51:41 +02:00
Anthony Fu edeafbf6e3
fix(auto-imports): disable global mode and improve detection (#748) 2021-10-12 14:24:43 +02:00
pooya parsa 9c619b8772
fix(nuxt3): provide `NuxtWelcome` component from design (#745) 2021-10-12 13:16:52 +02:00
Daniel Roe d1e0af928e
fix(nuxt3): correct `KeysOf` type (#737) 2021-10-12 10:52:09 +02:00
pooya parsa 101ef20c34
fix(vite): resolve vue aliases (#734) 2021-10-12 10:39:06 +02:00
Sébastien Chopin 95779c3d5f
chore: add readme to packages (#727)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-12 03:38:17 +02:00
pooya parsa 54c57e3987
feat(nuxt3): `useFetch` (#721) 2021-10-12 00:36:50 +02:00
Pooya Parsa 0287b46fed chore: remove unused vuex dependency 2021-10-11 21:17:09 +02:00
pooya parsa 666b7f1ba8
feat: `useState` composable (#719) 2021-10-11 19:48:03 +02:00
renovate[bot] 0dcbd4a682
chore(deps): update all non-major dependencies (#704)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 15:30:04 +02:00