Commit Graph

121 Commits

Author SHA1 Message Date
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
Anthony Fu
29a2eb3dc1
fix(vite): include dynamic css (revert #2067) (#2227) 2021-11-30 15:37:01 +01:00
Yasser Lahbibi
ac98373b4c
feat(bridge): allow user-defined scriptSetup options (#2185)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-11-29 13:17:29 +01:00
Daniel Roe
8a6db589fe
feat(bridge): generate components declarations (#2174) 2021-11-29 12:16:08 +01:00
Mohammad Saleh Fadaei
ae6f095ee8
fix(bridge): remove falsy values from created and mounted (#2182) 2021-11-29 12:14:44 +01:00
Daniel Roe
955fa364fa
fix(nuxt3): include error and pending values in asyncData state (#2130) 2021-11-24 20:59:04 +01:00
Matteo Rigoni
ae80e5bdc8
fix(bridge): fixed reactivity on csr of useState reactive payload (#2134) 2021-11-24 16:44:02 +01:00
Damian
a12df69778
fix(bridge): remove duplicated log (#2087) 2021-11-22 22:49:48 +01:00
pooya parsa
9920181df3
feat(nuxt3, bridge): useCookie universal composable (#2085) 2021-11-22 21:43:00 +01:00
Anthony Fu
a149225e63
fix(vite): separate dynamic deps in dev-bundler (#2067) 2021-11-22 18:39:56 +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
c184211681
fix(bridge): add docs links and warnings for data composables (#2010) 2021-11-19 12:37:29 +01:00
Tobias Diez
18924da869
chore(bridge): Improve typing of defineNuxtPlugin function (#1995) 2021-11-18 12:08:58 +01:00
Xin Du (Clark)
a08b435f51
refactor: remove unnecessary optional chaining (#1991) 2021-11-17 15:37:34 +01:00
Xin Du (Clark)
c90bc50817
chore(lint): improve no-unused-vars rule (#1977) 2021-11-17 12:21:38 +01:00