Commit Graph

982 Commits

Author SHA1 Message Date
Anthony Fu
7ede9b14d9
fix(bridge): can't enable vite mode (#1505) 2021-10-27 09:48:17 +00:00
ziga
245aa6b68f
fix(nitro): type inference for api routes returning promise (#1483) 2021-10-27 10:19:53 +02:00
renovate[bot]
3bc984d0c0
chore(deps): update all non-major dependencies (#1488)
close #1243, close #944
2021-10-27 10:19:32 +02:00
Daniel Roe
096f0679f7
fix(vite): set #build/plugins alias to empty string (#1489) 2021-10-27 08:03:10 +00:00
renovate[bot]
5ad4d3eae0
chore(deps): update dependency css-loader to ^6.5.0 (#1482)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 19:38:18 +02:00
Daniel Roe
41ff3b8efe
fix(nitro): support built publicPath (#1479) 2021-10-26 19:37:52 +02:00
renovate[bot]
876857db5e
chore(deps): update all non-major dependencies (#1481)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 19:36:52 +02:00
Mgs. M. Rizqi Fadhlurrahman
1f0cea6e7f
feat(nuxi): nuxi upgrade command (#1468)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-26 19:36:22 +02:00
renovate[bot]
83139d07e9
chore(deps): update all non-major dependencies (#1448)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 16:46:19 +02:00
Daniel Roe
a0da91839a
fix(kit): ensure directory exists before writing virtual template (#1473) 2021-10-26 16:42:10 +02:00
Anthony Fu
46f858dd82
chore: move nuxt-vite to bridge (#1180)
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-10-26 14:59:05 +02:00
Daniel Roe
c672d8990a
feat(vite): pass vue options to vite plugin (#1452) 2021-10-26 14:49:18 +02:00
Levi (Nguyễn Lương Huy)
3761b064d0
chore(kit): refactor some configs with defu (#1459) 2021-10-26 11:47:30 +02:00
Pooya Parsa
d2cc9e4bd0 fix(nitro): revert to main rollup import (closes #1445) 2021-10-25 18:32:20 +02:00
renovate[bot]
a382bf02ff
chore(deps): update all non-major dependencies (#1425)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 16:25:51 +02:00
Anthony Fu
4f9c87b99a
fix(pkg): support node 17.x in the engines field (#1443)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-25 16:14:52 +02:00
Daniel Roe
79664ad611
fix(nuxi): ensure types are calculated on current nuxt instance (#1432) 2021-10-25 13:04:27 +02:00
Daniel Roe
c6f769e94d
fix(nitro): inject payload for spa renderer (#1434) 2021-10-25 12:36:38 +02:00
Pooya Parsa
ad7e7551ec fix(nitro): import rollup as cjs 2021-10-25 11:23:15 +02:00
James George
110b2b2680
fix(nuxi): validations for --template flag (#1412) 2021-10-24 16:48:02 +02:00
James George
bd010313db
fix(nuxi): validate template argument (#1409) 2021-10-24 13:39:17 +02:00
renovate[bot]
9e3dfad172
chore(deps): update all non-major dependencies (#1384)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-24 13:24:58 +02:00
Daniel Roe
7d918e1457
refactor(nuxi): move nuxt.d.ts within buildDir (#1369) 2021-10-23 00:33:22 +02:00
Daniel Roe
8f119ab0cf
feat(kit): add registerComponentDirectory helper (#1379)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-10-23 00:28:18 +02:00
Daniel Roe
281790e036
feat: define nitro #storage and #assets types (#1377) 2021-10-23 00:25:49 +02:00
pooya parsa
06e9c7ebc1
fix(pkg): remove vue3 from peerDependencies (#1382) 2021-10-23 00:25:25 +02:00
Pooya Parsa
6943b7dd93 chore(deps): update unstorage to 0.3.x 2021-10-23 00:21:08 +02:00
renovate[bot]
c8cb6c7ad1
chore(deps): update all non-major dependencies (#1333)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-22 19:04:28 +02:00
pooya parsa
c80353637e
feat(nitro): update dependencies for node-fetch 3.x support (#1373) 2021-10-22 19:04:15 +02:00
Francisco Buceta
54549cfc61
fix(nitro): omit /index from generated api urls (#1371) 2021-10-22 19:04:02 +02:00
Pooya Parsa
1e69bc56bb fix(nitro): handle terminating uninitialized worker 2021-10-22 15:36:29 +02:00
Daniel Roe
018302cb0b
fix(nitro): update firebase preset to handle mjs output (#1360) 2021-10-22 13:57:21 +02:00
Daniel Roe
fb4359e1a3
fix(nuxi): correct analyzer html (#1339) 2021-10-21 22:38:17 +02:00
Pooya Parsa
776539b809 fix(vite): add missing esbuild dependency 2021-10-21 22:18:39 +02:00
Daniel Roe
f0b9474b40
feat(nuxi): bundle analyzer (#701)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-21 21:51:44 +02:00
Levi (Nguyễn Lương Huy)
694e95b2b4
feat(nuxt3): support NuxtChild component (#1301) (#1312) 2021-10-21 21:16:52 +02:00
pooya parsa
bbeb6b50f5
fix(vite): inline incompatible extensions (#1332) 2021-10-21 21:02:10 +02:00
renovate[bot]
2350760854
chore(deps): update all non-major dependencies (#1319)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-21 20:55:59 +02:00
pooya parsa
f04d6e3b53
fix(kit): use native import for esm modules (#1327) 2021-10-21 19:02:26 +02:00
Pooya Parsa
b332462b2a fix(bridge): mark defineNuxtMiddleware as unsupprted
closes #1317
2021-10-21 17:59:42 +02:00
pooya parsa
9d40a271ee
feat(nitro): improve dev worker stability (#1303) 2021-10-21 13:54:55 +02:00
renovate[bot]
34910f1218
chore(deps): update all non-major dependencies (#1304)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-21 12:14:57 +02:00
pooya parsa
d1214c9aae
fix(nitro): terminate active worker before replacing (#1302) 2021-10-20 21:28:01 +02:00
Pooya Parsa
b421c81e84 fix(bridge): add missing globby and scule dependencies 2021-10-20 21:02:24 +02:00
Levi (Nguyễn Lương Huy)
7f7794787b
fix(nuxi): support build:error hook (#1298) 2021-10-20 20:50:01 +02:00
renovate[bot]
bfa4a02ca3
chore(deps): update dependency postcss to ^8.3.10 (#1299)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 20:49:34 +02:00
TenshiGoan
c5920c21e7
fix(nuxt3): child routes in vue-router don't have component field (#998)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-10-20 20:49:15 +02:00
Levi (Nguyễn Lương Huy)
a3058eebae
test(nuxt3): add unit tests for generateRoutesFromFiles (#261) (#1227)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-20 20:12:55 +02:00
Anthony Fu
f7153a3172
fix(vite): default export for external packages (#1297) 2021-10-20 20:09:49 +02:00
Anthony Fu
92547d8547
fix(nitro): filter alias in /_vfs listing (#1296) 2021-10-20 19:30:42 +02:00
renovate[bot]
7c3b488b5f
fix: update externality to v0.1.1 (#1284)
resolves #1275
2021-10-20 15:01:09 +02:00
Daniel Roe
101eaa9baf
fix(nuxt3): restore auto-imports.d.ts to nuxt.d.ts (#1282) 2021-10-20 14:53:13 +02:00
Ahad Birang
ffb05fc734
fix(nitro): do not modify event.request for worker entries (#1279) 2021-10-20 12:54:02 +02:00
Daniel Roe
7df4590d77
fix(kit): remove globalName from v3 schema (#1277) 2021-10-20 12:32:17 +02:00
renovate[bot]
22acd39508
chore(deps): update all non-major dependencies (#1240)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 12:13:35 +02:00
Ahad Birang
3c962013b5
fix(nitro): bundle json files (#1245) 2021-10-20 12:13:21 +02:00
Daniel Roe
d166b78e06
feat(vite): use externality to resolve externals for ssr dev bundler (#1172) 2021-10-20 11:50:29 +02:00
Anthony Fu
550a9f2e12
feat: auto-import for composables (#1176)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-20 11:47:18 +02:00
Daniel Roe
f950fe0d8a
fix(nuxt3): fix type inference for FetchResult (#1269) 2021-10-20 11:43:08 +02:00
Yaël Guilloux
c49f9ca648
fix(kit): improve ScanDir type (#1238) 2021-10-19 16:55:02 +02:00
Daniel Roe
2256b2b86a
fix(bridge): improve warnings for @nuxtjs/composition-api migration (#1237) 2021-10-19 14:17:18 +02:00
Pooya Parsa
4526af78a9 fix(pkg): downgrade node version to 14.16.x due to stackblitz issue
14.16.0 was released at 2021-02-23. hopefully most of platforms had time to migrate LTS.
2021-10-19 13:37:59 +02:00
Pooya Parsa
8db76fcf2e fix(pkg): downgrade node version to 14.17.x due to codesandbox issue 2021-10-19 13:24:51 +02:00
renovate[bot]
3fe3fb4dec
chore(deps): update dependency vite to ^2.6.10 (#1198)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-19 10:40:02 +02:00
OneNail
82fc3df8bb
chore(nuxt3): remove duplicate dependence (#1215) 2021-10-19 10:39:48 +02:00
Pooya Parsa
5e903ae176 fix(nuxt3): update legacy plugin (closes #1200) 2021-10-18 21:34:51 +02:00
pooya parsa
d8d10febd5
feat!: add engines.node field and node.js version check (#1197) 2021-10-18 21:31:15 +02:00
Daniel Roe
0b634e19a3
fix(nuxt3): auto import types (#1203) 2021-10-18 21:30:14 +02:00
Pooya Parsa
225e3bafd4 fix(nuxi): ignore watch events if nuxt instance is not ready 2021-10-18 20:38:46 +02:00
pooya parsa
035e9b5e8b
refactor: rename app to vueApp (#1177) 2021-10-18 20:31:37 +02:00
pooya parsa
4cff21005f
fix(nux3): use murmurhash for fetchKey (#1195) 2021-10-18 20:31:18 +02:00
Daniel Roe
80883cfb8f
fix(nitro): improve externals error handling (#1188) 2021-10-18 18:08:37 +02:00
Daniel Roe
47c004ac97
fix: improve type declarations (#1178) 2021-10-18 18:06:31 +02:00
Daniel Roe
6546fccbf9
fix(nuxi): write tsconfig when generating buildDir (#1161) 2021-10-18 16:22:02 +02:00
renovate[bot]
9357d0895d
chore(deps): update dependency mlly to ^0.2.10 (#1170)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-18 15:40:56 +02:00
pooya parsa
0ab477cad0
feat(auto-imports): allow extending with config and hooks (#1167) 2021-10-18 15:39:53 +02:00
Pooya Parsa
807f4a325f fix(deps): upgrade jiti to 2.12.9 (#1171) 2021-10-18 15:38:04 +02:00
Pooya Parsa
8714731892 chore: fix eslint issue 2021-10-18 15:25:11 +02:00
pooya parsa
cb912c3c0c
fix(nuxi): update version and vite detection (#1169) 2021-10-18 15:11:17 +02:00
Xin Du (Clark)
dbbce5fcfa
feat(kit): add components types (#1164) 2021-10-18 14:49:02 +02:00
Daniel Roe
0c937339b9
fix(bridge): typo fix (#1168) 2021-10-18 14:47:26 +02:00
Daniel Roe
117b3aa524
fix(nuxt3): destructure components options (#1165) 2021-10-18 13:59:31 +02:00
Daniel Roe
adf497046b
fix(bridge): do not resolve esm babel helpers (#1158) 2021-10-18 12:12:01 +02:00
Abderrahim SOUBAI-ELIDRISI
870a62855c
chore(deps): replace degit by tiged (#1052) 2021-10-18 12:04:06 +02:00
Xin Du (Clark)
185366ec2d
fix(nuxt3): correct compoennts hooks parameters types (#1157) 2021-10-18 11:54:29 +02:00
renovate[bot]
cba4c4202b
chore(deps): update all non-major dependencies (#1156)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-18 11:41:29 +02:00
Dizzy
aa2acd5e48
fix(kit): pass options object to lodash templates (#942) 2021-10-18 11:36:04 +02:00
Daniel Roe
571bf94d39
fix(kit): deep assign app to publicRuntimeConfig (#1094) 2021-10-18 11:07:09 +02:00
Daniel Roe
f974425cc4
fix(nitro): modify contents rather than compiled , remove template compiled (#1154) 2021-10-18 11:06:23 +02:00
Daniel Roe
d6ad4f3b16
fix(kit): load .env before loading nuxt.config (#1086) 2021-10-18 11:03:39 +02:00
renovate[bot]
4f050e50bf
chore(deps): update all non-major dependencies (#989) 2021-10-18 10:50:46 +02:00
Xin Du (Clark)
6cfe98941d
fix(kit): add missing nuxt hooks types (#971) 2021-10-18 10:14:22 +02:00
Harlan Wilton
90eacb6f75
fix(kit): support modern builds with extendWebpackConfig (#1055) 2021-10-18 10:11:08 +02:00
Daniel Roe
61518a972f
fix(nitro): disable automatic spa fallback (#1071) 2021-10-18 10:08:22 +02:00
nandi95
70f1483f9e
fix(nuxt3): added missing dev to process shims (#1084) 2021-10-18 10:06:31 +02:00
Daniel Roe
9592967eee
f(nitro): enable externals for azure and firebase presets (#1050) 2021-10-18 10:04:38 +02:00
Daniel Roe
93f7d776c4
fix(nuxt3): correctly type arrays returned from fetch requests (#1089) 2021-10-18 10:03:29 +02:00
Daniel Roe
ab7aef8a13
fix(bridge): add useState to auto-imports (#1087) 2021-10-18 10:02:23 +02:00
Pascal Martineau
f4011d0b02
fix(nuxt3): add missing build:before hook (#1139) 2021-10-18 10:00:23 +02:00
Anthony Fu
39ed77e229
fix(vite): dev ssr fouc with preprocessors (#1101) 2021-10-18 09:54:20 +02:00