Commit Graph

36 Commits

Author SHA1 Message Date
Daniel Roe 42373e060d
fix: clean up some type issues and add type test suite (#3199) 2022-02-15 10:50:11 +01:00
Anthony Fu cb663b0285
chore(vite): unifiy vite plugin naming (#3151) 2022-02-10 10:29:49 +01:00
Daniel Roe ba522b2034
fix(nuxt3): trigger template regeneration (and reset import list) when auto-imports update (#3127) 2022-02-08 20:09:24 +01:00
pooya parsa 03d5fdde2d
feat(kit)!: expose `resolvePath` (#3110) 2022-02-07 22:00:20 +01:00
Daniel Roe 29171bd105
fix: sanitize import filenames in generated imports (#2216) 2022-02-07 14:45:47 +01:00
Daniel Roe c1148d4d77
refactor: write declarations to `<buildDir>/types` (#3067)
* refactor: write declarations to `<buildDir>/types`

* fix: update relative imports
2022-02-07 11:20:01 +01:00
Daniel Roe f867841327
fix(nuxt3): remove existing globals from auto-imports (#3035) 2022-02-03 11:21:35 +01:00
Daniel Roe 965f2abaee
feat(nuxt3): middleware type generation improvements (#2945) 2022-01-27 12:13:32 +01:00
renovate[bot] 0b0e56ae4f
chore(deps): update all non-major dependencies (#2818)
* chore(deps): update all non-major dependencies

* feat: add isShallow auto import

https://github.com/vuejs/core/commit/9fda941

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-01-24 13:38:03 +01:00
Daniel Roe b38e394dfe
fix(nuxt3): import top-level files and subdirectory indices (#2774) 2022-01-18 17:43:41 +01:00
Daniel Roe e9d73f572f
fix(nuxt3): ignore comments for testing cjs context (#2764) 2022-01-17 21:50:17 +01:00
Daniel Roe 93ef422b5d
feat(nuxt3): add support for `definePageMeta` macro (#2678) 2022-01-17 19:27:23 +01:00
renovate[bot] 4de167e246
chore(deps): update dependency globby to v12 (#2659) 2022-01-13 19:21:49 +01:00
Anthony Fu 11becef735
refactor: update internal modules signature(#2610) 2022-01-05 19:09:53 +01:00
Yasser Lahbibi ca9761df9e
feat(auto-import): allow explicit transform exclusion patterns (#2183)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-12-21 15:28:45 +01:00
Daniel Roe 5ab18162dd
feat(nuxt3, bridge): `useReqHeaders` composable (#2173)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-12-20 17:27:36 +01:00
Daniel Roe d3e27874f5
fix(nuxt3): add `imports.d.ts` to `nuxt.d.ts` (#2399) 2021-12-17 10:25:40 +01:00
Daniel Roe 6c1cb11b95
feat(nuxt): add wrapped `useRoute` and `useRouter` composables (#2406) 2021-12-17 10:15:03 +01:00
Anthony Fu b7a429ca61
feat: support importing from `#imports` (#2168) 2021-11-29 12:20:57 +01:00
Anthony Fu f5d1d9a208
fix(auto-import): improve auto-import regex (#2172) 2021-11-29 12:17:51 +01:00
pooya parsa 9920181df3
feat(nuxt3, bridge): `useCookie` universal composable (#2085) 2021-11-22 21:43:00 +01:00
pooya parsa d68318f9d5
refactor: split schema to `@nuxt/schema` and simplify kit (#2059) 2021-11-21 17:14:46 +01:00
Daniel Roe f011a60dae
feat(nuxt3, bridge): add lazy helpers (`useLazyAsyncData` and `useLazyFetch`) (#1861) 2021-11-15 13:09:07 +01:00
Anthony Fu f298386795
feat(bridge, nuxt3): mock vue-demi (#1849)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-15 11:25:50 +01:00
webfansplz 73f9cd2f94
fix(nuxt3): remove unexposed auto imports (#1902) 2021-11-15 11:16:26 +01:00
Daniel Roe 5b8e10f28e
fix(nuxt3): add missing auto imports (#1735) 2021-11-05 15:39:14 +01:00
Daniel Roe 101eaa9baf
fix(nuxt3): restore `auto-imports.d.ts` to `nuxt.d.ts` (#1282) 2021-10-20 14:53:13 +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 0b634e19a3
fix(nuxt3): auto import types (#1203) 2021-10-18 21:30:14 +02:00
pooya parsa 0ab477cad0
feat(auto-imports): allow extending with config and hooks (#1167) 2021-10-18 15:39:53 +02:00
Daniel Roe d52b1e8d99
fix(nuxt3): correct auto-import file regexp (#985) 2021-10-13 23:03:36 +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
Anthony Fu edeafbf6e3
fix(auto-imports): disable global mode and improve detection (#748) 2021-10-12 14:24:43 +02:00
pooya parsa 54c57e3987
feat(nuxt3): `useFetch` (#721) 2021-10-12 00:36:50 +02:00
pooya parsa 666b7f1ba8
feat: `useState` composable (#719) 2021-10-11 19:48:03 +02:00
Anthony Fu bade471dcf
refactor: rename `global-imports` to `auto-imports` (#706) 2021-10-11 10:07:27 +02:00