Commit Graph

532 Commits

Author SHA1 Message Date
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
Daniel Roe
7df4590d77
fix(kit): remove globalName from v3 schema (#1277) 2021-10-20 12:32:17 +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
Yaël Guilloux
c49f9ca648
fix(kit): improve ScanDir type (#1238) 2021-10-19 16:55:02 +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
pooya parsa
d8d10febd5
feat!: add engines.node field and node.js version check (#1197) 2021-10-18 21:31:15 +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
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
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
de4a3a2ce6
docs(kit): add css back to kit v3 schema (#1119) 2021-10-18 09:50:37 +02:00
Xin Du (Clark)
31b12d04c0
feat(cli): generate tsconfig.json in prepare command (#822)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-10-13 22:01:50 +02:00
Anthony Fu
6e52775bf9
fix(kit): dotenv esm compactiblity (#799)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-10-12 18:21:01 +02:00
renovate[bot]
743160702a
chore(deps): update devdependency jiti to ^1.12.7 (#785)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-12 17:22:17 +02:00
renovate[bot]
2e87a76721
chore(deps): update all non-major dependencies (#742)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-12 16:04:31 +02:00
pooya parsa
9cb9bb651e
feat(nuxt3): create root component (#750) 2021-10-12 14:51:41 +02:00
Sébastien Chopin
95779c3d5f
chore: add readme to packages (#727)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-12 03:38:17 +02:00
pooya parsa
2bf645bd73
refactor(nuxt3): cleanup data fetching and improved useAsyncData (#699) 2021-10-08 16:21:55 +02:00
Daniel Roe
a07b67ce57
feat(bridge): use useMeta in bridge projects (#664) 2021-10-06 14:37:45 +02:00
pooya parsa
dd73a8bcad
feat: export defineNuxtConfig from nuxt3 and @nuxt/bridge (#669) 2021-10-06 14:31:52 +02:00
Daniel Roe
b13e20f317
fix(kit): de-default nuxt2 imports and add sync try/catch (#658) 2021-10-06 10:23:40 +02:00
kazuya kawaguchi
30fbe5dfa3
docs(kit): comment typo (#654) 2021-10-05 19:40:20 +02:00
Pooya Parsa
2b1bf4824e chore: update base major versions to 3.x for simplicity 2021-10-05 17:09:24 +02:00
Daniel Roe
0a9342c02d
fix: add main entrypoints for packages (#629) 2021-10-03 01:39:51 +02:00
Xin Du (Clark)
eb794f3f85
chore(eslint): forbid modules importing from core (#556)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-02 20:40:10 +02:00
Anthony Fu
9503d62607
feat(kit, bridge): version constraint utils and checks (#442)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-02 20:31:00 +02:00
Pooya Parsa
bba79f4836 fix(kit): properly read nuxt version (resolves #616) 2021-10-02 18:19:36 +02:00
pooya parsa
6e496373f3
feat: use native esm for all packages (#539) 2021-10-02 18:01:17 +02:00
Pooya Parsa
f21b7de3d1 chore(deps): update jiti to 1.12.6
also force resolve to ensure using latest and v8-compile-cache is disabled
2021-10-02 16:09:06 +02:00
renovate[bot]
a5f446ca6a
chore(deps): update all non-major dependencies (#593)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 20:28:57 +02:00
renovate[bot]
aaaeb826ba
chore(deps): update all non-major dependencies (#565) 2021-09-29 12:53:41 +02:00
Daniel Roe
7fdcee3252
feat(kit): support templates with getContents() for nuxt 2 (#587) 2021-09-29 12:10:46 +02:00
pooya parsa
6329a681e4
refactor: migrate from upath to pathe (#553) 2021-09-27 14:49:36 +02:00
Anthony Fu
c5979d9fb5
feat: support auto load for dotenv (#580)
close #355
2021-09-25 10:18:01 +02:00
renovate[bot]
2bae698c18
chore(deps): update all non-major dependencies (#548)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-22 17:58:48 +02:00
Pooya Parsa
e2d216e4ee chore: ping unbuild to latest for sub packages
closes #457
2021-09-21 18:59:37 +02:00
renovate[bot]
b06e90d336
chore(deps): update all non-major dependencies (#540)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-21 18:53:25 +02:00
pooya parsa
62647844b5
chore: update to unbuild 0.5.x (#545) 2021-09-21 18:49:36 +02:00
renovate[bot]
758bf3ef6f
chore(deps): update all non-major dependencies (#521) 2021-09-20 20:59:49 +02:00
Xin Du (Clark)
d05d8821a0
feat(webpack): bring back postcss and postcss-loader (#532) 2021-09-17 18:20:05 +02:00
renovate[bot]
9f7438afb1
chore: update all non-major dependencies and add node to nitro external conditions (#440)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-09-05 23:54:12 +02:00
pooya parsa
44458fcbbb
feat: nuxt bridge (#459) 2021-09-05 23:21:33 +02:00
Daniel Roe
7a03460584
chore(nitro, kit, nuxt3): add nitro hook types and upgrade hookable@5 (#458) 2021-08-27 14:51:40 +02:00
Ahad Birang
6c37bad73a
fix(kit): template dst should become plugin src (#448) 2021-08-16 22:00:43 +02:00
Daniel Roe
052edd220d
docs: auto-generate configuration api (#349)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-08-11 23:48:33 +02:00
pooya parsa
ee0163c273
refactor: merge modules to nuxt3 (#439) 2021-08-11 22:28:38 +02:00
pooya parsa
084b4e2123
refactor: rename nuxt-cli to nuxi (#430) 2021-08-10 19:37:03 +02:00
Anthony Fu
b2b4c64807
feat: auto global imports (#410)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-08-10 02:27:23 +02:00
renovate[bot]
50acd3dda5
chore(deps): update all non-major dependencies (#422)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-09 23:55:26 +02:00
pooya parsa
4b5d9f1052
feat: nuxt prepare and template improvements (#423) 2021-08-09 22:54:12 +02:00
renovate[bot]
62921afad0
chore(deps): update all non-major dependencies (#401)
[no-release]
2021-08-09 17:46:36 +02:00
Xin Du (Clark)
bf3f72e24e
fix(kit): default config value in dev/prod mode (#405) 2021-07-31 21:26:41 +01:00
Xin Du (Clark)
5a1ccec61f
fix(webpack): enable minimize for client production bundles (#404) 2021-07-31 21:26:32 +01:00
pooya parsa
cc212cedc8
refactor: improved template utils (#393) 2021-07-28 13:35:24 +02:00
Anthony Fu
0e93d752fd
feat(kit): extendWebpackConfig and extendViteConfig utils (#386) 2021-07-26 21:06:27 +02:00
Daniel Roe
57a2974450
feat(cli): add prepare command to stub module types (#370)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-07-26 16:46:19 +02:00
renovate[bot]
b3526ba0a4
chore(deps): update all non-major dependencies (#371)
[skip-release]
2021-07-26 15:44:55 +02:00
Anthony Fu
864d2683ab
feat(kit): addWebpackPlugin and addVitePlugin utils (#368) 2021-07-26 12:45:42 +02:00
renovate[bot]
a57b9e1887
chore(deps): update all non-major dependencies (#350)
[skip-release]
2021-07-23 17:22:54 +02:00
pooya parsa
bec2720930
feat: use virtual filesystem for templates (#292)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2021-07-15 12:18:34 +02:00
renovate[bot]
569d4f3cb3
chore(deps): update all non-major dependencies (#307) 2021-07-14 16:52:08 +02:00
Daniel Roe
0a3041cdf9
fix: allow use of nuxt3 in non-wsl windows environment (#308) 2021-07-12 12:54:24 +02:00
renovate[bot]
1dc68c0a84
chore(deps): update all non-major dependencies (#293)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-02 14:45:36 +02:00
Daniel Roe
6cd5f8816f
fix(kit): make resolvePath case-sensitive (#291) 2021-06-30 15:55:11 +02:00
Daniel Roe
04c3f65539
refactor: rename static to public (#284) 2021-06-30 12:29:48 +02:00
Daniel Roe
dfbb047be6
fix(kit): don't rely on ModuleThis (#272) 2021-06-25 11:37:18 +02:00
pooya parsa
debe5a98b0
feat(kit, nuxt3): use single nuxt instance (#271) 2021-06-24 16:06:16 +02:00
Pooya Parsa
9797642d78 chore: release
- @nuxt/app@0.5.0
 - nuxt-cli@0.3.8
 - @nuxt/component-discovery@0.2.0
 - @nuxt/kit@0.6.4
 - @nuxt/nitro@0.9.1
 - nuxt3@0.8.0
 - @nuxt/pages@0.3.0
 - @nuxt/vite-builder@0.5.0
 - @nuxt/webpack-builder@0.5.0
2021-06-24 11:06:54 +02:00
renovate[bot]
d44a607a4e
chore(deps): update all non-major dependencies (#233)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-18 19:17:07 +02:00
Anthony Fu
3e855c280f
fix(types): type vite options (#235) 2021-06-17 12:01:24 +02:00
Pooya Parsa
68e65bd468 chore: update esbuild (#232)
closes #43 closes #231
2021-06-16 15:26:33 +02:00
Daniel Roe
77e489aae3
fix(nitro): update nitro internal hook name (#218) 2021-06-16 13:48:16 +02:00
Daniel Roe
4095f96559 chore: release
- @nuxt/app@0.4.3
 - nuxt-cli@0.3.7
 - @nuxt/kit@0.6.3
 - @nuxt/nitro@0.9.0
 - nuxt3@0.7.4
 - @nuxt/pages@0.2.3
 - @nuxt/vite-builder@0.4.3
 - @nuxt/webpack-builder@0.4.3
2021-06-16 12:36:06 +01:00
Daniel Roe
2c5ceab003
fix(kit): add build.babel.plugins default option and docs (#224)
* fix(kit): add `build.babel.plugins` default option and docs

* refactor: reorder options
2021-06-16 13:22:27 +02:00
Pooya Parsa
eee45396d1 fix(kit): ignore @ alias without following slash (resolves #210) 2021-06-14 20:23:21 +02:00
renovate[bot]
7d2cd2f356
chore(deps): update all non-major dependencies (#166)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-06-07 11:12:36 +02:00
Pooya Parsa
8aae9ef7b2 chore: release
- @nuxt/app@0.4.2
 - nuxt-cli@0.3.6
 - @nuxt/kit@0.6.2
 - @nuxt/nitro@0.7.2
 - nuxt3@0.7.2
 - @nuxt/pages@0.2.2
 - @nuxt/vite-builder@0.4.2
 - @nuxt/webpack-builder@0.4.2
2021-06-04 21:19:13 +02:00
Daniel Roe
1bbd754f29
refactor(nitro): app template 2-3 normalization (#177) 2021-06-03 15:12:05 +02:00
Daniel Roe
4c0ba0151d
fix(kit): correct render result types (#170) 2021-05-26 20:44:08 +02:00
Pooya Parsa
6bde903273 chore: release
- @nuxt/app@0.4.1
 - nuxt-cli@0.3.5
 - @nuxt/kit@0.6.1
 - @nuxt/nitro@0.7.1
 - nuxt3@0.7.1
 - @nuxt/pages@0.2.1
 - @nuxt/vite-builder@0.4.1
 - @nuxt/webpack-builder@0.4.1
2021-05-24 13:30:14 +02:00
Pooya Parsa
838eae4a57 chore: apply latest eslint rules
closes #163
2021-05-24 13:14:10 +02:00
renovate[bot]
6d216d1255
chore(deps): update all non-major dependencies (#159)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-24 13:03:42 +02:00
renovate[bot]
47979a2645
chore(deps): update dependency dotenv to v10 (#161)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-24 12:53:58 +02:00
Pooya Parsa
de22e8f71b chore(nitro): add missing globby dependency
(included in release)
2021-05-20 15:41:49 +02:00
Pooya Parsa
2f2e818e32 chore: release
- @nuxt/app@0.4.0
 - nuxt-cli@0.3.4
 - @nuxt/kit@0.6.0
 - @nuxt/nitro@0.7.0
 - nuxt3@0.7.0
 - @nuxt/pages@0.2.0
 - @nuxt/vite-builder@0.4.0
 - @nuxt/webpack-builder@0.4.0
2021-05-20 15:34:30 +02:00
Pooya Parsa
6b62d456d7 feat: optional pages and refactor nuxt3 (#142) 2021-05-20 13:42:41 +02:00
renovate[bot]
82b585dbb0
chore(deps): lock file maintenance and fix lint issues (#141) 2021-05-20 12:58:30 +02:00
renovate[bot]
c008b30660
chore(deps): update dependency defu to v5 (#153)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 17:54:58 +02:00
renovate[bot]
7db904af77
chore(deps): update all non-major dependencies (#139)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 17:54:46 +02:00
renovate[bot]
672dea47c6
chore(deps): update dependency dotenv to v9 (#145)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 17:35:19 +02:00
Pooya Parsa
bfcd3b0e9c chore: release
- nuxt-cli@0.3.3
 - @nuxt/kit@0.5.3
 - @nuxt/nitro@0.6.3
 - nuxt3@0.6.3
 - @nuxt/vite-builder@0.3.3
 - @nuxt/webpack-builder@0.3.4
2021-04-28 19:17:42 +02:00
Pooya Parsa
f0dfb42a58 fix(cli): support nuxt2-edge 2021-04-28 17:51:42 +02:00
Pooya Parsa
7255a890a0 chore: release
- @nuxt/app@0.3.3
 - nuxt-cli@0.3.2
 - @nuxt/kit@0.5.2
 - @nuxt/nitro@0.6.2
 - nuxt3@0.6.2
 - @nuxt/vite-builder@0.3.2
 - @nuxt/webpack-builder@0.3.3
2021-04-28 16:24:45 +02:00
renovate[bot]
83e28a71ac
chore(deps): update dependency scule to ^0.2.1 (#122)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 15:42:17 +02:00
renovate[bot]
a806e8ca01
chore(deps): update all non-major dependencies (#116)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 13:06:06 +02:00
Pooya Parsa
0d92f1a042 chore: release
- @nuxt/app@0.3.2
 - nuxt-cli@0.3.1
 - @nuxt/kit@0.5.1
 - @nuxt/nitro@0.6.0
 - nuxt3@0.6.0
 - @nuxt/vite-builder@0.3.1
 - @nuxt/webpack-builder@0.3.2
2021-04-23 22:57:57 +02:00
Pooya Parsa
342bf06659 fix(kit): auto detect version if not specified 2021-04-23 22:36:56 +02:00
renovate[bot]
3f712f3d46
chore(deps): update all non-major dependencies (#110)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-23 21:26:28 +02:00
renovate[bot]
c0e4fc007d
chore(deps): update dependency defu to v4 (#112)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-23 21:26:15 +02:00
pooya parsa
de9dffb0d6 chore: migrate to unenv and mkbuild 0.2 (#108) 2021-04-21 17:10:53 +02:00
Pooya Parsa
96649cc876 types: allow unknown config keys in nuxt.config 2021-04-20 14:43:44 +02:00
Pooya Parsa
4bcb8fa791 fix(kit): resolve alias for installModule source 2021-04-18 18:38:30 +02:00
Pooya Parsa
c06dbd6c6e chore: release
- @nuxt/app@0.3.1
 - nuxt-cli@0.3.0
 - @nuxt/kit@0.5.0
 - @nuxt/nitro@0.5.1
 - nuxt3@0.5.0
 - @nuxt/vite-builder@0.3.0
 - @nuxt/webpack-builder@0.3.1
2021-04-16 22:07:53 +02:00
Pooya Parsa
cd00e5a92a chore: update unbuild 2021-04-16 22:05:53 +02:00
pooya parsa
e224818395
feat: improve dev experience (#89) 2021-04-15 21:17:44 +02:00
Daniel Roe
ce72ce6b07
docs(kit): initial documentation (#86) 2021-04-15 20:49:29 +02:00
Pooya Parsa
6a30a6fd10 chore: release
- @nuxt/kit@0.4.0
 - @nuxt/nitro@0.5.0
 - nuxt3@0.4.0
 - @nuxt/vite-builder@0.2.1
 - @nuxt/webpack-builder@0.3.0
2021-04-13 00:13:14 +02:00
Daniel Roe
dacde63063
feat: add hook signatures and basic typings (#79) 2021-04-13 00:12:30 +02:00
Pooya Parsa
bb797fcbb6 chore: release
- @nuxt/app@0.3.0
 - nuxt-cli@0.2.0
 - @nuxt/kit@0.3.0
 - @nuxt/nitro@0.4.0
 - nuxt3@0.3.0
 - @nuxt/vite-builder@0.2.0
 - @nuxt/webpack-builder@0.2.0
2021-04-09 18:02:40 +02:00
pooya parsa
a030c62d29
feat: initial version of nu cli (#54) 2021-04-09 17:52:45 +02:00
renovate[bot]
b0a8ec6368
chore(deps): update all non-major dependencies (#62)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-09 15:55:58 +02:00
pooya parsa
c351574043
chore: update build scripts (#69) 2021-04-09 15:48:39 +02:00
Pooya Parsa
ada29d411b Publish
- @nuxt/app@0.2.0
 - nuxt-cli@0.1.1
 - @nuxt/kit@0.2.0
 - @nuxt/nitro@0.2.0
 - nuxt3@0.2.0
 - @nuxt/vite-builder@0.1.1
 - @nuxt/webpack-builder@0.1.1
2021-04-04 17:51:31 +02:00
pooya parsa
ef2f9993cb
chore: switch to berry (#50) 2021-04-04 16:22:40 +02:00
Pooya Parsa
5ed6fa7612 fix(kit): properly resolve _nuxtConfigFiles 2021-04-04 14:28:31 +02:00
pooya parsa
f47808f59a
refactor: extract vite and webpack builders (#45) 2021-04-03 15:38:07 +02:00
pooya parsa
2c1eb87671
fix: webpack compilation (#41) 2021-04-03 14:42:02 +02:00
Pooya Parsa
4829d89b17 chore: fix type and imports 2021-04-02 21:38:11 +02:00
pooya parsa
b3f3dc94f3
feat: module utils and improvements (#38) 2021-04-02 13:47:01 +02:00
Pooya Parsa
547b8ec2a7 refactor: move utils to kit
to be rewritten
2021-03-28 23:12:37 +02:00
Pooya Parsa
c95d88c6cb refactor: externalize @nuxt/app 2021-03-28 22:49:05 +02:00
pooya parsa
46f771a98b
feat: @nuxt/kit and new config schema (#34) 2021-03-28 22:14:04 +02:00