Commit Graph

1351 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
renovate[bot]
65d51d67ce
chore(deps): update all non-major dependencies (#3273)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-17 17:32:49 +01:00
Daniel Roe
8adff2edf7
fix(nuxt3): generate imports for components with named exports correctly (#3288) 2022-02-17 15:23:55 +01:00
Daniel Roe
65d16a58c0
chore: reverse target/from in eslint rule (#3280) 2022-02-17 12:01:24 +00: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
Dizzy
ad52b795e2
fix: apply subsequent meta changes (#3271) 2022-02-16 22:34:06 +01:00
pooya parsa
77aeaa3288
fix(nuxt3)!: custom response type for useFetch using first generic (#3268) 2022-02-16 21:50:19 +01:00
renovate[bot]
7c3327a772
chore(deps): update all non-major dependencies (#3240) 2022-02-16 20:11:21 +01:00
Daniel Roe
289d54eb24
fix(bridge): execute metaInfo function (#3258) 2022-02-16 18:57:11 +01:00
Daniel Roe
3fccbfa252
fix(nuxt3): update meta return type to bodyScriptsPrepend (#3257) 2022-02-16 18:56:30 +01:00
renovate[bot]
4cd931e5ea
chore(deps): update dependency @netlify/functions to v1 (#3241)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-16 18:55:51 +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
60e672f335
chore(bridge): upgrade vite (#3238) 2022-02-15 18:01:54 +01:00
renovate[bot]
cc9d525650
chore(deps): update all non-major dependencies (#3204)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-15 10:53:20 +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
42373e060d
fix: clean up some type issues and add type test suite (#3199) 2022-02-15 10:50:11 +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
renovate[bot]
6a93719a89
chore(deps): update dependency pretty-bytes to v6 (#3217)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-15 10:42:41 +01:00
Daniel Roe
3589a2d55f
fix(nuxt3): return error page on blocked initial navigation (#3201) 2022-02-14 15:18:07 +01:00
Daniel Roe
9734856fb0
fix(nuxt3): return render function for <Head> (#3213) 2022-02-14 11:46:27 +01:00
Anthony Fu
0ca3d5cf7d
chore: upgrade vitest (#3208) 2022-02-12 20:54:46 +01:00
renovate[bot]
e90331a411
chore(deps): update all non-major dependencies (#3194)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-11 15:29:36 +01:00
pooya parsa
c53c7360b7
feat: @nuxt/test-utils (#2952)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-02-11 14:22:58 +01:00
Anthony Fu
61188e15cf
fix(vite): hmr port priority (#3190) 2022-02-11 13:09:25 +01:00
Daniel Roe
408a944ffd
chore(nuxt3): add implicit fs-extra dependency (#3192) 2022-02-11 12:47:08 +01:00
renovate[bot]
7701c125ea
chore(deps): update all non-major dependencies (#3176)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-11 10:19:53 +01:00
Daniel Roe
e727bb4192
fix(nuxt3): re-enable tree-shaking definePageMeta (#3180) 2022-02-11 09:59:52 +01:00
renovate[bot]
fd56fc62bb
chore(deps): update all non-major dependencies (#3149)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-10 18:30:59 +01:00
pooya parsa
aece3518b5
feat(nuxt3): experimental nitropack support (#3160) 2022-02-10 18:29:59 +01:00
Anthony Fu
089160a541
fix(vite): assign different hmr port for each instance (#3169)
Co-authored-by: danielroe <danielroe@users.noreply.github.com>
2022-02-10 17:37:05 +01:00
Anthony Fu
b2438917b9
perf(vite): bypass unchanged plugin transform (#3150) 2022-02-10 10:30:34 +01:00
Anthony Fu
cb663b0285
chore(vite): unifiy vite plugin naming (#3151) 2022-02-10 10:29:49 +01:00
Daniel Roe
4b17f0cbaf
docs(schema): clarify aliases and use more obvious example path (#3143)
* docs(schema): clarify aliases and use more obvious example path

* docs: add note

* Update packages/schema/build.config.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>

* docs: add more info about tsconfig

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-02-09 22:27:35 +01:00
renovate[bot]
650d7607ff
chore(deps): update all non-major dependencies (#3137)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-09 12:51:10 +01:00
Daniel Roe
569aaeb314
fix(nitro): handle incoming cookies on lambda payload format 2.0 (#3136) 2022-02-09 12:50:57 +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
ba522b2034
fix(nuxt3): trigger template regeneration (and reset import list) when auto-imports update (#3127) 2022-02-08 20:09:24 +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]
b98d08cf6a
chore(deps): update all non-major dependencies (#3133)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-08 17:25:10 +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
Daniel Roe
0f9bcbf68f
fix(vite): invalidate client modules too (#3116) 2022-02-08 01:10:42 +01:00
Daniel Roe
dabb72ed7c
fix(nuxt3): remove lookbehind for safari support (#3115) 2022-02-08 00:42:39 +01:00
Daniel Roe
8056b8e171
fix(nitro): treat bootrap dep as an entry file (#3106) 2022-02-07 22:58:12 +01:00
pooya parsa
82a7fd561b
feat(kit): createResolver utility (#3111) 2022-02-07 22:39:31 +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
22e6c857f6
fix(nitro): replace global. in fewer instances (#3107) 2022-02-07 21:50:39 +01:00
pooya parsa
790a54897a
feat!(nuxt3): extends support for components/ directory (#3108)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2022-02-07 21:48:25 +01:00
pooya parsa
c9c0171b2d
refactor: rename options.layers to options._extends (#3109) 2022-02-07 19:44:48 +01:00
Daniel Roe
29171bd105
fix: sanitize import filenames in generated imports (#2216) 2022-02-07 14:45:47 +01:00
Daniel Roe
614e87e9f0
feat(nitro): add support for lambda v2 payload format (#3070)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-02-07 13:25:05 +01:00
Daniel Roe
b3e9cf6fd6
fix(nuxt3)!: key routes by interpolated path (#2976) 2022-02-07 12:32:04 +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
Pascal Sthamer
dcae6e276b
docs: update documentation for configs (#2819) 2022-02-07 11:20:53 +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
b91150d67c
docs: add keepalive docs (#3090) 2022-02-07 11:17:28 +01:00
Daniel Roe
8fbdab8151
docs: update links to new vuejs.org site (#3091) 2022-02-07 11:16:45 +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
fae2179ee9
chore: replace constructors with types (#3056) 2022-02-03 19:02:55 +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
Ricardo Gobbo de Souza
adc44a2d2b
feat(kit): add helper addAutoImport (#3030) 2022-02-03 12:31:15 +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
Daniel Roe
f867841327
fix(nuxt3): remove existing globals from auto-imports (#3035) 2022-02-03 11:21:35 +01:00
Ahad Birang
ed4f4f51ab
fix(kit): load dotenv if option is missing (#3029) 2022-02-02 10:59:00 +01:00
Keith Bremner
a3579b7a1c
docs: fix typo in nuxi analyze output (#3022) 2022-02-01 15:34:06 +00:00
pooya parsa
1672148a87
feat(kit): support config extends using unjs/c12 (#3008) 2022-01-31 22:13:58 +01:00
Daniel Roe
083f90b719
refactor: extract <NuxtLayout> from <NuxtPage> (#3011) 2022-01-31 19:58:19 +01:00
renovate[bot]
18d8bb2019
chore(deps): update dependency dotenv to v15 (#3002)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-31 11:59:21 +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
Daniel Roe
b110c8c96c
fix(vite): externalize config at rollup, not ssr level (#2971) 2022-01-31 11:54:48 +01:00
nandi95
88da7197ba
fix(nuxi): updated rmdir to rm and checked paths exists (#2968) 2022-01-28 12:32:09 +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
Daniel Roe
8ea6b652b9
fix(nuxt3): don't double-escape extensions (#2953) 2022-01-27 17:02:25 +01:00
Daniel Roe
d20b672546
fix(nuxt3): hotfix for missing components declaration (#2949) 2022-01-27 13:46:28 +01:00
Daniel Roe
965f2abaee
feat(nuxt3): middleware type generation improvements (#2945) 2022-01-27 12:13:32 +01:00
Daniel Roe
6e06d2b4c9
feat(nuxi): clear cache on upgrade (#2936) 2022-01-26 18:25:11 +01:00
Daniel Roe
00e8a6e9d4
fix(nuxt3): add app:suspense:resolve hooks (#2937) 2022-01-26 18:24:54 +01:00
Daniel Roe
b449d0bfb9
test(nuxt3): fix exclude test (#2932) 2022-01-26 14:49:06 +01:00
Daniel Roe
d0bcc3fc82
fix(vite): only apply relative url fix to css assets (#2930) 2022-01-26 13:59:48 +01:00
renovate[bot]
4b1ea5741e
chore(deps): update dependency jiti to ^1.12.14 (#2929)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-26 13:03:01 +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
Daniel Roe
944464781d
feat(nuxt3): make layout and other page meta reactive (#2926) 2022-01-26 12:56:24 +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
pooya parsa
7a1cf622bc
fix(nuxt3): add built-in modules last (#2911) 2022-01-25 17:45:00 +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
Daniel Roe
4a5937764c
feat(nuxt3): add support for <KeepAlive> (#2904) 2022-01-25 15:32:09 +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
dccc0c9c6f
feat(nuxt3): add middleware via route meta (#2858) 2022-01-25 13:29:11 +01:00
Daniel Roe
29fa0c991b
feat(nuxt3)!: support layout transitions (#2861)
* feat(nuxt3): support layout transitions

* docs: update
2022-01-24 18:10:42 +01:00
Daniel Roe
81ee59ce0c
fix(nuxt3): don't restrict nitro/nuxt3 runtime components (#2885) 2022-01-24 15:32:08 +01:00
Daniel Roe
03cc1913a3
fix(nuxi,nuxt3,bridge): generate all templates with nuxi prepare (#2409) 2022-01-24 14:28:47 +01:00
Daniel Roe
7553849371
feat(nuxt3): add import protection patterns (#2834) 2022-01-24 14:25:23 +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
Daniel Roe
b803fdb4f9
fix(vite): handle emitted assets with relative urls and dynamic base (#2851) 2022-01-24 13:57:24 +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