Commit Graph

135 Commits

Author SHA1 Message Date
Daniel Roe 14b32258e8
fix: ensure debounced/async handlers run in order (#3656) 2022-03-15 11:56:16 +01:00
renovate[bot] 7650f6c57d
chore(deps): update all non-major dependencies (#3585)
* chore(deps): update all non-major dependencies

* transpile h3 for bridge

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-11 09:57:59 +01:00
Daniel Roe 5d58ef48af
feat(nitro, nuxt3): allow handling otherwise unhandled runtime errors (#3464)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-11 09:22:16 +01:00
Anthony Fu cff2f37cc8
refactor!: migrate to `unimport` (#3386) 2022-03-11 09:09:11 +01:00
Kevin Marrec 6c083f3d12
feat!(nuxt3): extends support for composables/ directory (#3423)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-09 12:03:36 +01:00
Daniel Roe ef38147e52
fix(bridge): handle static nested vite dirs (#3565) 2022-03-09 11:36:24 +01:00
Daniel Roe a5e19b1c57
fix(bridge): use vue server build (#3515)
* fix(bridge): use vue server build

* fix: remove unused import

* refactor: resolve cjs version once

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-08 18:40:20 +01:00
Daniel Roe 856c01ab42
feat(bridge): auto-inject based on `provide` key from plugins (#3536) 2022-03-07 16:08:09 +01:00
Daniel Roe 919db5b514
fix(bridge): port nested `_nuxt` dir fix to bridge vite (#3538) 2022-03-07 15:37:42 +01:00
Daniel Roe 52d22feaea
fix(nuxt3): share scanned components with loader (#3396)
* fix(nuxt3): share scanned components with loader

* refactor: remove `src` type from input

* fix: remove old `src: ''` option

* fix: use shared context for extending components too

Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2022-02-28 11:07:20 +01:00
Daniel Roe c806d05b7a
fix(bridge): use typescript directory entry (#3365) 2022-02-25 12:45:45 +01:00
Daniel Roe dbab979a2e
feat(nuxt3): add universal routing utilities (#3274) 2022-02-21 14:03:42 +01:00
Xin Du (Clark) 48cc6086e4
fix(config): add analyze plugin options in bridge mode (#3292) 2022-02-21 12:25:31 +01:00
Daniel Roe 70542a3af7
feat(nuxt3): expose `/app` export paths (#3323) 2022-02-18 19:26:43 +01:00
Daniel Roe 56aabd606d
fix(nuxt3,bridge): correctly reference router from client-side helper (#3281) 2022-02-17 18:11:21 +01:00
Anthony Fu 467ab693b9
feat: shared logger and silent test logs (#3259)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-02-16 22:34:32 +01:00
Daniel Roe 289d54eb24
fix(bridge): execute metaInfo function (#3258) 2022-02-16 18:57:11 +01:00
Daniel Roe 7c9b0a358d
fix(bridge): add modules with hooks after all other modules (#3239) 2022-02-16 18:54:45 +01:00
Daniel Roe 07c14b8704
fix(bridge): add schema.d.ts to nuxt.d.ts (#3237) 2022-02-16 18:49:31 +01:00
Daniel Roe 3c563fa48f
feat(bridge): support `addRouteMiddleware`, `navigateTo` and `abortNavigation` (#3193) 2022-02-15 10:51:19 +01:00
Daniel Roe d046c9620b
feat(bridge): add support for `useNuxt2Meta` in plugins (#3187) 2022-02-15 10:50:40 +01:00
Daniel Roe ef69e746d2
fix(nuxt3): prevent removing and re-adding tags before mount (#3212)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-02-15 10:43:17 +01:00
Daniel Roe 7825e2aa12
feat(nuxt3,bridge): add automatic schema augmentation declaration (#3096)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-02-08 20:09:44 +01:00
Daniel Roe c02e3683eb
fix(bridge): respect `--fail-on-error` in generation (#3134)
* fix(bridge): respect `--fail-on-error` in generation

* fix: use `res.ok()`
2022-02-08 19:47:14 +01:00
Daniel Roe a9ba1ca907
fix(bridge): support newer js targets with webpack (#3131) 2022-02-08 17:13:02 +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 8edd4819c9
fix(bridge): don't instantiate vite builder if only preparing types (#3050) 2022-02-03 19:03:04 +01:00
Daniel Roe c82d3533bc
fix(bridge): type `useNuxtApp()` (#3057) 2022-02-03 19:02:38 +01:00
Daniel Roe 5d7f99be1d
fix(bridge): add `nitro:generate` hook (#3044) 2022-02-03 13:12:40 +01:00
Daniel Roe 03cc1913a3
fix(nuxi,nuxt3,bridge): generate all templates with `nuxi prepare` (#2409) 2022-01-24 14:28:47 +01:00
blazmrak 2b86345e9e
fix(bridge): build fails with SSR turned off (#2708) 2022-01-24 12:40:49 +01:00
Daniel Roe beaa369892
fix(bridge): don't override existing `baseURL` property (#2827) 2022-01-21 10:51:29 +01:00
Daniel Roe 6abf75d40a
fix(bridge): set `app.basePath` (#2808) 2022-01-19 20:10:33 +01:00
Daniel Roe d07d572263
feat: improve base url options (#2655) 2022-01-18 17:59:14 +01:00
Daniel Roe 4728fd545e
fix(vite): invalidate virtual modules when templates are regenerated (#2725) 2022-01-17 11:49:53 +01:00
Daniel Roe e27a0173e8
fix(bridge): add missing process flags for vite (#2736) 2022-01-17 11:44:56 +01:00
Anthony Fu baa0853afa
feat(bridge): upgrade unplugin-vue2-script-setup (#2687) 2022-01-13 12:59:26 +01:00
Daniel Roe e674d0f60d
feat(nuxt3, bridge): add `vue:setup` hook (#2408) 2021-12-21 15:44:35 +01:00
pooya parsa 045b9edb5d
feat(kit, schema)!: finalize nuxt 3 module spec and utils (#2275) 2021-12-21 14:57:26 +01:00
Daniel Roe 279bfdc5b3
fix(bridge): respect custom `app.html` (#2339) 2021-12-20 21:24:43 +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
renovate[bot] 85f0547ca4
chore(deps): update all non-major dependencies (#2379)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-12-20 12:33:18 +01:00
Daniel Roe a1a2d2f92b
refactor(nitro): expose `writeTypes` and call this within `builder:generateApp` (#2413) 2021-12-20 11:39:19 +01:00
Daniel Roe daec4323bb
perf(bridge): allow skipping legacy composition api support (#2388) 2021-12-17 10:44:59 +01:00
Anthony Fu 737f1bf80c
fix(vite): respect users config (#2395)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2021-12-17 10:28:06 +01:00
Daniel Roe 6c1cb11b95
feat(nuxt): add wrapped `useRoute` and `useRouter` composables (#2406) 2021-12-17 10:15:03 +01:00
Daniel Roe 3e82f0f2cb
fix(bridge): normalize strings in vite middleware template (#2319) 2021-12-10 15:12:21 +01:00
Daniel Roe 6e719d6977
fix(bridge): always add `components.d.ts` reference (#2246) 2021-12-01 12:56:58 +01:00