Commit Graph

265 Commits

Author SHA1 Message Date
Daniel Roe
07c14b8704
fix(bridge): add schema.d.ts to nuxt.d.ts (#3237) 2022-02-16 18:49:31 +01:00
Daniel Roe
60e672f335
chore(bridge): upgrade vite (#3238) 2022-02-15 18:01:54 +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
renovate[bot]
617766bcf5
chore(deps): update all non-major dependencies (#3117)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-08 17:13:17 +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
renovate[bot]
a1b2d09438
chore(deps): update all non-major dependencies (#3097)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-07 21:50:53 +01:00
Daniel Roe
29171bd105
fix: sanitize import filenames in generated imports (#2216) 2022-02-07 14:45:47 +01:00
renovate[bot]
00ba607ca2
chore(deps): update all non-major dependencies (#3066)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-07 11:22:43 +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
renovate[bot]
09dc06e138
chore(deps): update all non-major dependencies (#3013)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-03 11:21:51 +01:00
renovate[bot]
a43757b082
chore(deps): update all non-major dependencies (#2970)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-31 11:55:56 +01:00
renovate[bot]
7db7fddc80
chore(deps): update all non-major dependencies (#2941)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-27 20:26:36 +01:00
renovate[bot]
0affa39b62
chore(deps): update all non-major dependencies (#2912)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-01-26 12:57:33 +01:00
renovate[bot]
696138794b
chore(deps): update dependency vite-plugin-vue2 to ^1.9.3 (#2909)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-25 17:45:45 +01:00
renovate[bot]
b0a56ad807
chore(deps): update all non-major dependencies (#2902)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-25 15:51:19 +01:00
renovate[bot]
538b4ab98d
chore(deps): update all non-major dependencies (#2895)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-25 13:29:23 +01:00
Daniel Roe
03cc1913a3
fix(nuxi,nuxt3,bridge): generate all templates with nuxi prepare (#2409) 2022-01-24 14:28:47 +01:00
renovate[bot]
d5cbe09ced
chore(deps): update dependency globby to v13 (#2881)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-24 14:21:52 +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
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
renovate[bot]
74ce059d6f
chore(deps): update all non-major dependencies (#2781)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-19 19:09:22 +01:00
renovate[bot]
1ca9424910
chore(deps): update dependency h3 to ^0.3.9 (#2776)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-18 18:04:48 +01:00
renovate[bot]
c80870ad8c
chore(deps): update all non-major dependencies (#2767)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-18 17:59:31 +01:00
Daniel Roe
d07d572263
feat: improve base url options (#2655) 2022-01-18 17:59:14 +01:00
renovate[bot]
0e984fe496
chore(deps): update all non-major dependencies (#2756)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-17 18:25:38 +01:00
renovate[bot]
91032cdd64
chore(deps): update all non-major dependencies (#2717)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-17 11:56:28 +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
pooya parsa
33ebb01d7f
fix: upgrade vite to 2.7.12 (#2716)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-01-14 12:48:58 +01:00
renovate[bot]
4de167e246
chore(deps): update dependency globby to v12 (#2659) 2022-01-13 19:21:49 +01:00
Anthony Fu
a787c2f04c
chore: migrate to vitest from mocha (#2694) 2022-01-13 18:54:33 +01:00
renovate[bot]
303b5bd220
chore(deps): update all non-major dependencies (#2707)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-13 18:21:05 +01:00
renovate[bot]
74be5a7416
chore(deps): update all non-major dependencies (#2676) 2022-01-13 14:13:58 +01:00
Anthony Fu
baa0853afa
feat(bridge): upgrade unplugin-vue2-script-setup (#2687) 2022-01-13 12:59:26 +01:00
renovate[bot]
47cac4c597
chore(deps): update all non-major dependencies (#2637)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-11 18:45:11 +01:00
renovate[bot]
31580f635c
chore(deps): update dependency estree-walker to v3 (#2658)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-11 18:42:29 +01:00
renovate[bot]
c8b02972d0
chore(deps): update all non-major dependencies (#2527)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-05 19:37:56 +01:00
Anthony Fu
e9128f39a2
perf(ssr): disable vite's pre-trasnfroming to improve perf (#2574) 2022-01-05 19:31:24 +01:00
Anthony Fu
8fff48b8df
fix(bridge): install bridge module at the end (#2611) 2022-01-05 19:22:13 +01:00
renovate[bot]
05da4c2ef5
chore(deps): update all non-major dependencies (#2496)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-22 11:59:44 +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
renovate[bot]
23397e603c
feat(deps): update all non-major dependencies (#2252)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-12-14 16:46:05 +01:00
Daniel Roe
3e82f0f2cb
fix(bridge): normalize strings in vite middleware template (#2319) 2021-12-10 15:12:21 +01:00
renovate[bot]
ceec9fdba8
chore(deps): update all non-major dependencies (#2214)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-01 12:58:38 +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
renovate[bot]
7d8a1769fa
chore(deps): update all non-major dependencies (#2144)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-29 12:34:40 +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
Daniel Roe
7a78bce449
fix(schema): extend NuxtOptions for nitro & bridge types (#2131) 2021-11-24 16:51:26 +01:00
Matteo Rigoni
ae80e5bdc8
fix(bridge): fixed reactivity on csr of useState reactive payload (#2134) 2021-11-24 16:44:02 +01:00
Pooya Parsa
5be2f17b99 chore: remove unused @types/cookie 2021-11-23 00:23:45 +01:00
Pooya Parsa
8994b5a368 fix: use cookie-es 2021-11-23 00:20:20 +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
renovate[bot]
95978ed14d
chore(deps): update all non-major dependencies (#2071)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-22 18:37:59 +01:00
pooya parsa
d68318f9d5
refactor: split schema to @nuxt/schema and simplify kit (#2059) 2021-11-21 17:14:46 +01:00
renovate[bot]
4706f0877f
chore(deps): update all non-major dependencies (#2031)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-21 13:32:53 +01:00
Daniel Roe
c184211681
fix(bridge): add docs links and warnings for data composables (#2010) 2021-11-19 12:37:29 +01:00
renovate[bot]
b660ac0900
chore(deps): update dependency @vueuse/head to ^0.7.2 (#2012)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 23:28:01 +08:00
renovate[bot]
dd4dd9e30e
chore(deps): update dependency @vueuse/head to ^0.7.0 (#2009)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 12:38:58 +01:00
renovate[bot]
fdcec1fdc6
chore(deps): update all non-major dependencies (#1990)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 12:09:16 +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
renovate[bot]
4ba637a5ea
chore(deps): update dependency postcss-preset-env to v7 (#1964)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 12:33:03 +01:00
Xin Du (Clark)
c90bc50817
chore(lint): improve no-unused-vars rule (#1977) 2021-11-17 12:21:38 +01:00
Daniel Roe
496ea09777
fix(nuxi): ignore static check with prepare command (#1971) 2021-11-16 17:10:28 +01:00
Anthony Fu
fb2e8ccba5
fix(bridge): revert optimization exclusion for vue-demi (#1932) 2021-11-15 17:27:45 +01:00
Daniel Roe
4b367a1959
fix(bridge): ensure vue ts alias points to original vue (#1924) 2021-11-15 16:58:43 +01:00
renovate[bot]
5786949d9b
chore(deps): update all non-major dependencies (#1837) 2021-11-15 13:09:26 +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
pooya parsa
850ef69a87
fix(bridge): disable legacy fetch polyfills (#1866) 2021-11-11 17:46:10 +01:00
Daniel Roe
7cc526ce69
fix(bridge): update useContext (#1871) 2021-11-11 17:33:06 +01:00
Anthony Fu
202617bdd1
fix(bridge): plugin default detection (#1847)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-11 14:58:43 +01:00
pooya parsa
6eb4040b23
fix(vite): remove global replacement (#1835) 2021-11-10 21:15:26 +01:00
Daniel Roe
13a8e2b163
fix(nitro, nuxi): add runtimeConfig types (for #config and useRuntimeConfig()) (#1783)
Co-authored-by: Tobias Diez <code@tobiasdiez.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-10 13:40:02 +01:00
renovate[bot]
fd9e56f2b8
chore(deps): update all non-major dependencies (#1807)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 13:12:11 +01:00
Xin Du (Clark)
6ec518ff24
chore(lint): enable eslint on mjs (#1804) 2021-11-10 13:06:22 +01:00