Commit Graph

742 Commits

Author SHA1 Message Date
Haoqun Jiang
ae967f7698 chore: de-prioritize "Mocha + Chai" option as it requires webpack 4 for now (#6401) 2021-04-08 14:57:03 +08:00
Haoqun Jiang
89af6c50c2 v5.0.0-alpha.8 2021-03-24 20:51:52 +08:00
Haoqun Jiang
803ab8e8ea chore: cli-service is referenced in setupDevProject, so let's add it to devDependencies 2021-03-18 18:05:52 +08:00
Haoqun Jiang
06eefe41ab chore: dependency maintenance 2021-03-12 14:52:10 +08:00
Haoqun Jiang
e591bfa5eb v5.0.0-alpha.7 2021-03-11 16:27:23 +08:00
Haoqun Jiang
40e3de2c7c v5.0.0-alpha.6 2021-03-10 20:47:12 +08:00
Tony Trinh
5e50ecff9f chore: remove the word "Preview" from vue 3 preset (#6310)
related to #6300
2021-02-24 13:52:48 +08:00
Haoqun Jiang
6f88bd5ff4 v5.0.0-alpha.5 2021-02-23 16:44:23 +08:00
Haoqun Jiang
8670997258 chore: bump js-yaml version 2021-02-23 15:58:10 +08:00
Haoqun Jiang
df00b3e0bc feat(GeneratorAPI): forceOverwrite option for extendPackage (#6307) 2021-02-23 14:44:22 +08:00
Superman
a27e33bef8 fix: dependent package nickname (#6304) 2021-02-22 14:29:46 +08:00
HexPandaa
c604182458 fix(create): write the lint-staged config to its own file (#6303)
Closes #6298
2021-02-22 14:19:52 +08:00
Haoqun Jiang
7b5212feb1 chore: remove the word "Preview" from vue 3 preset (#6300)
Now that most Vue 3 core packages has reached stable, I think it makes
sense to remove the word "Preview".

Remaining dependencies to reach stable:
- @vue/test-utils 2.x (in RC)
- vue-class-component 8.x (in RC)
- vue-jest v5 (in alpha)
2021-02-21 22:32:40 +08:00
Haoqun Jiang
64c04cb00d chore!: drop Node.js v10 support (#6292) 2021-02-20 11:07:22 +08:00
Haoqun Jiang
4d134066b4 fix: better dev server & webpack 4 compatibility and some trivial dependency updates (#6291) 2021-02-19 15:07:31 +08:00
Haoqun Jiang
cf3d801934 v5.0.0-alpha.4 2021-02-18 15:44:47 +08:00
Haoqun Jiang
f8017cabda chore: upgrade commander to v7 (#6242) 2021-01-27 20:57:36 +08:00
Haoqun Jiang
3d80810a55 v5.0.0-alpha.3 2021-01-22 16:20:35 +08:00
Haoqun Jiang
e1eba098ae fix: discard NODE_ENV when installing project dependencies (#6224)
Avoid empty `node_modules` when the user has set `NODE_ENV` to
`production` in the shell environment.

In the long run we should have a more comprehensive preflight check
for execution environment though.
2021-01-21 16:31:19 +08:00
Bodo Graumann
2503ba6421 fix: support basic auth for npm registry access (#6207)
When username and password are configured in the .npmrc for the
respective scope, use basic auth when getting package metadata from the
npm registry.

Closes #6206
2021-01-14 16:42:00 +08:00
Tony Trinh
637414cb69 feat: open browser when toast clicked (#6001) 2021-01-07 14:55:11 +08:00
Haoqun Jiang
48d6afd73d v5.0.0-alpha.2 2021-01-06 15:31:25 +08:00
Haoqun Jiang
6ee1413aaa chore: Merge branch 'next' into dev 2021-01-06 15:29:35 +08:00
Haoqun Jiang
104f9bcc71 v5.0.0-alpha.1 2021-01-06 15:25:18 +08:00
Haoqun Jiang
4378c8df26 style: replace eslint-plugin-vue-libs with standard config (#6148) 2021-01-06 14:29:12 +08:00
fxxjdedd
451f3d2f5f feat: make globby includes dot files (#5537)
https://cli.vuejs.org/dev-guide/plugin-dev.html#filename-edge-cases

Although in this passage, it is suggested that we should change ".env" to "_env" to solve the problem of uploading npm packages. But there will also be such a demand, the files in `generator/template` are dynamically pulled from the git repository at runtime, and there may be `.env` files in the repository, so this pr can solve the problem here
2020-12-20 20:02:58 +08:00
Binwei Fang
dc4c4559b6 fix(generator): avoid doing redundant write operations (#6011)
Avoid overwriting the file which is not modified when executing `vue add/invoke`
This will reduce the chance of encountering issues like #5939
2020-12-20 19:56:33 +08:00
Binwei Fang
91050b09f5 refactor(generator): minor refactor afterInvoke/afterAnyInvoke (#5993)
make afterInvoke/afterAnyInvoke code more readable and add test
2020-12-18 20:47:27 +08:00
Haoqun Jiang
0372160524 chore: some trivial dependency version bumps (#6152) 2020-12-17 16:24:10 +08:00
Haoqun Jiang
7139e4093a v5.0.0-alpha.0 2020-12-14 19:48:08 +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
696cbd1f14 chore: dependency and lockfile maintenance 2020-12-11 14:53:13 +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
Binwei Fang
663bbd7639 fix: fix usage of cmd-shim (#6137) 2020-12-10 20:48:08 +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
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
Andrei
bd1f1b774b chore!: remove deprecated node-sass (#6090) 2020-12-02 15:11:49 +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
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
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
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
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
John Sanders
d355004e6b fix(generator): only process template file contents, bump yaml-front-matter (#5921)
Fixes #5920
2020-11-13 16:32:20 +08:00
Yazhe Wang
ba6cb7c5b3 refactor!: replace request with node-fetch (#6009) 2020-11-13 13:26:57 +08:00
Haoqun Jiang
25a89c6a50 chore: merge branch 'v4' into dev 2020-10-19 18:47:57 +08:00