Commit Graph

3164 Commits

Author SHA1 Message Date
Haoqun Jiang
3b3cd9060b refactor: replace cache-loader with babel-loader's built-in cache (#6142)
It's supposed to have better performance.
See https://github.com/babel/babel-loader/issues/525#issuecomment-375756108

Besides, this improves webpack 5 compatibilities as cache-loader is now
deprecated
2020-12-14 10:41:55 +08:00
Haoqun Jiang
c72b6b0abd feat: add a @vue/cli-plugin-webpack-4 package for future use (#6144) 2020-12-14 10:18:38 +08:00
Haoqun Jiang
a672585807 fix: fix cypress mirror url for cypress version > 3 (#6145) 2020-12-14 10:08:14 +08:00
Haoqun Jiang
4de8c99603 refactor!: replace optimize-cssnano-plugin with css-minimizer-webpack-plugin (#6140) 2020-12-14 09:36:43 +08:00
Haoqun Jiang
b1344c24d4 fix: fix stylus config 2020-12-11 15:43:29 +08:00
Haoqun Jiang
696cbd1f14 chore: dependency and lockfile maintenance 2020-12-11 14:53:13 +08:00
Haoqun Jiang
85c2e007f8 chore!: support v5 alpha as peer dependencies, drop v4 prereleases (#6132) 2020-12-11 14:37:56 +08:00
Haoqun Jiang
eee082d331 feat: bump lint-staged to v10 (#6136) 2020-12-11 14:37:25 +08:00
Haoqun Jiang
10fc575778 chore!: bump ejs to v3 (#6133)
The only notable change may be dropping support of the include
preprocessor directive, which I don't know any Vue CLI plugin is using.

<https://github.com/mde/ejs/pull/478/files>
2020-12-11 14:35:07 +08:00
Githoniel
ea6151f013 fix: eslint formatter path error (#6134)
Co-authored-by: Binwei Fang <fangbinwei@yeah.net>
2020-12-11 01:19:59 +08:00
Binwei Fang
663bbd7639 fix: fix usage of cmd-shim (#6137) 2020-12-10 20:48:08 +08:00
Haoqun Jiang
b9cce99117 test: do not hard-code major version number in test 2020-12-09 16:23:24 +08:00
Haoqun Jiang
04297fdfd0 chore: lockfile maintenance 2020-12-09 16:01:44 +08:00
Haoqun Jiang
2913524632 test: fix tests according to cypress 6 breaking change 2020-12-09 15:58:51 +08:00
Yazhe Wang
7e42890394 chore!: bump stylus-loader from v3 to v4 (#6130) 2020-12-09 15:10:23 +08:00
Haoqun Jiang
b96c3bdb08 feat: update eslint-related packages (#6123) 2020-12-09 15:03:38 +08:00
Haoqun Jiang
5c728a4e4d chore!: update typescript-related dependencies (#6129) 2020-12-09 15:03:22 +08:00
Haoqun Jiang
f1962ad1e9 feat!: update mocha to v8 (#6121) 2020-12-09 14:33:25 +08:00
Haoqun Jiang
a04509dd4a feat: update cypress to v6 (#6120) 2020-12-09 14:32:21 +08:00
Haoqun Jiang
69b570ed1f chore: update cmd-shim and move it to devDependencies (#6127)
It's only used in the `linkBin` function, which is used for setting up
testing projects.
2020-12-09 09:05:51 +08:00
Haoqun Jiang
f73fa6e4e5 chore: dependency maintenance 2020-12-08 15:29:09 +08:00
Haoqun Jiang
89b0377c4f feat!: upgrade postcss-loader, using postcss 8 by default (#6108) 2020-12-08 13:21:37 +08:00
Neil Guo
75533f1dbf doc(zh): add entry default value (#6073) [skip ci]
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2020-12-08 11:47:09 +08:00
Hollow Man
0a63715bea docs: fix grammar Mistake in Docs (#6074) [skip ci]
files -> file
Signed-off-by: Hollow Man hollowman@hollowman.ml
2020-12-08 11:26:05 +08:00
Haoqun Jiang
1e5ba6b831 feat!: make vue serve/build aliases to npm run serve/build (#6115)
To avoid user confusion. Also allows us to focus more on CLI's core
functionalities.
2020-12-08 11:08:07 +08:00
Haoqun Jiang
0b5ae42c2a feat!: update jest to v26 (#6116)
closes #5873
closes #5874
closes #5114
closes #5680
closes #5573
2020-12-08 11:03:45 +08:00
Binwei Fang
a153af8f1e feat: replace eslint-loader by eslint-webpack-plugin (#6094)
closes #5926, using eslint-webpack-plugin can fix the problem of eslint-loader caused by cache-loader

closes #3065 
closes #5399 
closes #4425
2020-12-07 16:08:33 +08:00
Haoqun Jiang
17339d7726 test: should not expect babel polyfill paths to be extension-less (#6106)
See https://github.com/babel/babel/pull/10862
2020-12-04 10:27:37 +08:00
Haoqun Jiang
2dbe0be840 feat!: support and use webpack 5 as default (#6060) 2020-12-03 15:16:35 +08:00
Kristoffer K
f6850440bc fix(cli-service): don't write entry-wc to node_modules (#6101)
Fixes https://github.com/yarnpkg/berry/issues/2189
2020-12-02 21:16:50 +08:00
Andrei
bd1f1b774b chore!: remove deprecated node-sass (#6090) 2020-12-02 15:11:49 +08:00
JayZhong
6c3f118261 fix(cli-service): html template add html5 doctype declaration (#6083) 2020-12-02 10:21:59 +08:00
James George
da8bd3970b chore: return with an exit code of 1 on supplying an unknown command (#6079) 2020-12-02 10:18:40 +08:00
Jisoo Youn
928f915406 chore: webpack-bundle-analyzer to ^4.1.0 (#6092)
Fixes: #6091
2020-12-02 10:05:42 +08:00
Channing
6da5df44e0 perf(cli): delete the EOL_NODE_MAJORS checking (#6102)
Co-authored-by: 韩沅霖 <hanyuanlin@dm-ai.cn>
2020-12-02 09:33:59 +08:00
Haoqun Jiang
3b068678cb fix(mocha): disable SSR optimization for Vue 3 testing (#6097)
Fixes https://github.com/vuejs/vue-loader/issues/1734
2020-11-30 15:20:21 +08:00
Yazhe Wang
83773ae946 fix(generator): upgrade to prettier v2 (#6020)
Fixes: #5956
2020-11-26 16:36:14 +08:00
Binwei Fang
746540bbc6 refactor: sub-package eslint maintance (#6078)
using eslint@7 and @babel/eslint-parser in sub-package
2020-11-23 19:39:13 +08:00
Haoqun Jiang
8230aa356d test: yet another dirty fix for verdaccio testing 2020-11-20 23:58:56 +08:00
Haoqun Jiang
e10545a542 test: should not use file:// protocol now that we have verdaccio 2020-11-20 21:34:27 +08:00
Haoqun Jiang
89d58ce543 test: fix jest args order 2020-11-20 16:04:27 +08:00
Jonas
33f954cccf fix(cli-service): pass --public host to devserver (#6066)
Fixes #3220

Prevent "Invalid Host" error by passing public host to dev server when --public is used
2020-11-20 15:17:45 +08:00
Binwei Fang
9136696197 feat(eslint): support eslint7 and @babel/eslint-parser (#6059)
closes #5734 
closes #5981
2020-11-20 09:10:49 +08:00
Haoqun Jiang
482ef1086b chore!: bump joi to v17 (#5973) 2020-11-19 15:34:31 +08:00
Haoqun Jiang
f5359bdf36 workflow: test migrator / vue 3 scenarios with verdaccio (#6071) 2020-11-19 11:12:48 +08:00
Barthélémy Ledoux
fe88b1c7c6 fix(cypress): allow users to update cypress (#6062) 2020-11-17 09:11:38 +08:00
Haoqun Jiang
05c010e83a chore!: drop support of end-of-life node releases (8, 11, 13) (#6052) 2020-11-14 13:19:55 +08:00
Haoqun Jiang
66a87f2c1a chore!: drop support of NPM 5 (#6051) 2020-11-14 13:19:34 +08:00
Yazhe Wang
cb5f11703e fix(typescript): remove getPrompts function in prompts.js (#6053) 2020-11-14 13:18:28 +08:00
Tony Trinh
cb58c5f717 fix: prevent snoretoast shortcut, set notif title (#2720) (#6000)
This prevents SnoreToast from installing a Start Menu shortcut
by specifying an appID. The appID is also used to set the
notification's title bar text in Windows 10. That text is now
set to "Vue UI", which replaces the default value of "SnoreToast".

fixes #2720
2020-11-14 11:59:14 +08:00