Commit Graph

1337 Commits

Author SHA1 Message Date
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
Daniel Roe
83a959a67b
fix(nuxt3): allow customising page keys (#2859) 2022-01-24 11:35:28 +01:00
MrDizzystick
a53246a1a4
docs(schema): fix typo (#2871) 2022-01-24 11:30:50 +01:00
Pooya Parsa
e0cf2d7b5d fix(nitro): update dot-prop import 2022-01-21 13:37:51 +01:00
renovate[bot]
83c518de69
chore(deps): update dependency dot-prop to v7 (#2853)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-21 12:59:45 +01:00
Daniel Roe
ed2d26f1b5
fix(schema): support inline module options (#2852) 2022-01-21 12:47:13 +01:00
Daniel Roe
ae34f470a0
fix(nuxt3): explicitly declare type exports (#2850) 2022-01-21 12:42:41 +01:00
Daniel Roe
3b72b318e2
feat(nitro): support adding node_modules as middleware (#2826) 2022-01-21 12:39:22 +01:00
Daniel Roe
d0d8e8311c
fix(nuxt3): normalize page paths ( for windows support) (#2825) 2022-01-21 10:54:11 +01:00
Daniel Roe
beaa369892
fix(bridge): don't override existing baseURL property (#2827) 2022-01-21 10:51:29 +01:00
Daniel Roe
cd42f62fb9
fix(nuxt3): export composable types (#2828) 2022-01-21 10:51:19 +01:00
Daniel Roe
9660cd8212
fix(webpack): prevent implicit externalising (#2829) 2022-01-21 10:50:34 +01:00
Daniel Roe
6abf75d40a
fix(bridge): set app.basePath (#2808) 2022-01-19 20:10:33 +01:00
Daniel Roe
c1a68012ca
fix(nuxt3): add macro transform to non-sfcs (#2804) 2022-01-19 19:11:31 +01:00
Daniel Roe
f219f635ad
feat(nuxt3): allow disabling vue type shims (#2773) 2022-01-19 19:10:38 +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
Daniel Roe
95d8205cc3
fix(nuxt3): only treeshake macro exports when building (#2809) 2022-01-19 19:07:54 +01:00
Daniel Roe
7f62ed1e32
fix(nuxi): respect custom pages directory (#2813) 2022-01-19 19:07:25 +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
Daniel Roe
b38e394dfe
fix(nuxt3): import top-level files and subdirectory indices (#2774) 2022-01-18 17:43:41 +01:00
Daniel Roe
8588f749ad
fix(nitro): detect routes and middleware starting with dots (#2771) 2022-01-18 17:37:40 +01:00
Harlan Wilton
4bd7adae4a
feat(nuxi): call nuxt listen hook for dev (#2772) 2022-01-18 17:36:01 +01:00
Pooya Parsa
21b664cc74 feat(nuxi): use nuxt/starter by default for templates 2022-01-17 22:29:32 +01:00
Daniel Roe
0af01668c1
feat(nuxt3): pass nuxtApp to head() (#2765) 2022-01-17 21:52:24 +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]
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
Ahad Birang
eb14eca702
fix(nitro): allow inlining subpath of externals (#2759) 2022-01-17 18:25:26 +01:00
Daniel Roe
0ed2d4a00b
fix(kit): don't ignore @ alias (#2737) 2022-01-17 13:51:08 +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
renovate[bot]
0eed770104
chore(deps): update dependency dotenv to v14 (#2750)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-17 11:50:18 +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
4111038aa7
chore: replace substr with slice (#2738) 2022-01-17 11:49:10 +01:00
Daniel Roe
e27a0173e8
fix(bridge): add missing process flags for vite (#2736) 2022-01-17 11:44:56 +01:00
Daniel Roe
176716bdaf
feat(nitro): ssl nitro support in production (#2742) 2022-01-17 11:37:55 +01:00
Daniel Roe
4b351504e8
fix(vite): correctly import node builtins in dev bundler (#2753) 2022-01-17 11:36:44 +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
renovate[bot]
300023923f
chore(deps): update all non-major dependencies (#2714)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-13 18:59:07 +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
blazmrak
e0fec80baf
fix(vite): build fails with ssr turned off (#2652) 2022-01-13 13:39:23 +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]
4d5e9b2930
chore(deps): update dependency dotenv to v11 (#2666)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-11 18:42:10 +01:00
Daniel Roe
7479eacaac
fix(nuxt3): handle legacy asyncData (options api) as ref (#2668) 2022-01-11 18:41:55 +01:00
renovate[bot]
d45869d6ce
chore(deps): update all non-major dependencies (#2618)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 10:49:33 +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
1155d1b4d4
fix(vite): only remove version query (#2587) 2022-01-05 19:28:04 +01:00
Anthony Fu
8fff48b8df
fix(bridge): install bridge module at the end (#2611) 2022-01-05 19:22:13 +01:00
Daniel Roe
6d88a7314d
fix(nitro): pass Headers to createFetch (#2615) 2022-01-05 19:19:23 +01:00
Anthony Fu
11becef735
refactor: update internal modules signature(#2610) 2022-01-05 19:09:53 +01:00
Vladyslav Poshvaniuk
1e98259368
fix(nuxt3): remove undefined headers in useRequestHeaders (#2526)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-12-23 23:33:10 +01:00
Marsel Shayhin (Phoenix Apps)
04b6466d37
fix(nuxt3): change entry to use asynchronous import (#2223)
Co-authored-by: Marsel Shayhin <phoenix.apps@yahoo.com>
2021-12-23 23:20:54 +01:00
Anthony Fu
cac70e4696
fix(vite): remove vite's query for external modules (#2521) 2021-12-23 14:43:41 +01:00
renovate[bot]
b554c46ab2
chore(deps): update all non-major dependencies (#2510)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 13:30:50 +01:00
Pooya Parsa
5a7a979dcb fix(kit): add backward compatibility for deprecated module definition as function 2021-12-22 21:40:18 +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
Pooya Parsa
b41a1d2d18 fix(nuxt3): properly pass inline options to installModule 2021-12-21 22:26:03 +01:00
pooya parsa
804b323010
fix(nuxt3): properly pass inline options to installModule (#2489) 2021-12-21 17:18:14 +01:00
Daniel Roe
e674d0f60d
feat(nuxt3, bridge): add vue:setup hook (#2408) 2021-12-21 15:44:35 +01:00
renovate[bot]
4d2de05e43
chore(deps): update dependency hookable to ^5.1.1 (#2487)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-21 15:29:38 +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
renovate[bot]
2d3f61d478
chore(deps): update all non-major dependencies (#2461)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-21 15:27:15 +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
670a12caaa
fix(nuxt3): don't mutate options when unsetting cookie (#2481) 2021-12-21 13:02:55 +01:00
Daniel Roe
b5618e976b
feat(nuxi): add nuxi preview command for local testing (#2162)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-12-21 12:46:42 +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
Daniel Roe
c824905b99
fix(schema): handle null/undefined values in runtimeConfig (#2456) 2021-12-20 13:19:31 +01:00
pooya parsa
c288907f72
fix(webpack): import esbuild-loader as commonjs (#2460) 2021-12-20 13:00:27 +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
c8e281e7b6
feat(nitro): specify packages to copy to .output/server/node_modules (#2382) 2021-12-20 12:03:22 +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
639e49be27
refactor(nuxt3): rename <NuxtChild> to <NuxtNestedPage> (#2432) 2021-12-20 11:37:58 +01:00
Daniel Roe
f668d7457f
fix(nuxt3): define route in plugin rather than composable (#2443) 2021-12-20 11:37:00 +01:00
Daniel Roe
daec4323bb
perf(bridge): allow skipping legacy composition api support (#2388) 2021-12-17 10:44:59 +01:00
Daniel Roe
03f9cfa50b
fix(nitro): pass sourcemap option through to rollup plugins (#2387)
Co-authored-by: Matteo Rigoni <matteo.rigoni@atoms.studio>
2021-12-17 10:39:44 +01:00
Daniel Roe
3eed5cb193
fix(nuxt3): ignore tests within components directory (#2347) 2021-12-17 10:30:36 +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
d91677e72f
fix(nitro): correct #assets type declaration (#2403) 2021-12-17 10:26:34 +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
Daniel Roe
df33474730
fix(vite): log error object (#2420) 2021-12-17 10:08:09 +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
2cf8c45823
fix(nuxt3): import computed from vue to preserve reactivity (#2352) 2021-12-14 14:29:57 +01:00
renovate[bot]
a5d5067771
chore(deps): update dependency @vitejs/plugin-vue to v2 (#2354)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-14 14:29:27 +01:00
renovate[bot]
2939cacefc
chore(deps): update dependency vue-loader to v17 (#2355)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-14 14:29:08 +01:00
Daniel Roe
c87c692ddb
fix(nuxt3): don't mock server-only properties on client-side (#2376) 2021-12-14 14:28:43 +01:00
Daniel Roe
3e82f0f2cb
fix(bridge): normalize strings in vite middleware template (#2319) 2021-12-10 15:12:21 +01:00
Daniel Roe
0d85c9ef77
fix(schema): type render.compressor (#2302) 2021-12-10 14:48:52 +01:00
Daniel Roe
fb33033f45
feat(nuxt3): add global type definitions for built-in components (#2340) 2021-12-10 14:46:53 +01:00
Daniel Roe
70044d139b
fix(nitro): set content-type header before html 404 (#2301) 2021-12-06 11:48:27 +01:00
Ajai
1c88580c8c
fix(nitro): fix rendering with ssr disabled (#2191) 2021-12-06 11:48:12 +01:00
Daniel Roe
6a25d3e245
fix(nuxt3): use resolved options for useCookie (#2260) 2021-12-02 12:29:26 +01:00
Pooya Parsa
1ef6e3f525 fix(nuxi): ensure buildDir exists before write 2021-12-01 21:40:40 +01:00
Pooya Parsa
bd36e1351a fix(nitro): upgrade table dependency
resolves #2250
2021-12-01 15:38:31 +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
af6f91e8fe
fix(schema): fix typo for import.meta.globEager (#2243) 2021-12-01 12:58:24 +01:00
Daniel Roe
d52acbffd8
fix(bridge, kit): don't modify template array whilst traversing it (#2244) 2021-12-01 12:58:07 +01:00
Daniel Roe
6e719d6977
fix(bridge): always add components.d.ts reference (#2246) 2021-12-01 12:56:58 +01:00
sanfengliao
cad09fe9b3
fix(webpack): remove MiniCssExtractPlugin.loader options (#2217) (#2218)
Co-authored-by: sanfordliao <sanfordliao@tencent.com>
2021-11-30 16:39:45 +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]
2c4a001b77
chore(deps): update dependency gzip-size to v7 (#2101)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-29 12:46:55 +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
renovate[bot]
b7cae2e47b
chore(deps): update dependency chalk to v5 (#2159)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-29 12:34:29 +01:00
webfansplz
4a486377c5
fix(nitro): use app.assetsPath for publicPath (#1978)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2021-11-29 12:31:56 +01:00
Daniel Roe
00e6043601
refactor(nuxt3): don't include null errors in payload (#2153) 2021-11-29 12:22:38 +01:00
Tobias Diez
c347b6cc8a
fix(schema): allow strings in plugin config (#2160) 2021-11-29 12:22:00 +01:00