Killer_Quinn
aa85cb0119
feat: update npm.taobao.org to npmmirror.com ( #6824 )
2021-11-09 16:27:19 +08:00
Haoqun Jiang
281c7997cd
feat: generate vue.config.js with defineConfig wrapper ( #6817 )
2021-11-05 19:12:47 +08:00
Haoqun Jiang
c3be5ee51b
fix(ws): stricter check on web socket origins
...
To avoid CORS vulnerabilities
2021-10-11 21:56:56 +08:00
Binwei Fang
4be4bb39ad
feat: implement plugin execution order ( #6411 )
2021-06-07 16:49:44 +08:00
Haoqun Jiang
c64798dce3
fix: remove "(requires webpack 4)" from mocha prompt [skip ci]
2021-05-14 16:45:11 +08:00
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
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
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
f8017cabda
chore: upgrade commander to v7 ( #6242 )
2021-01-27 20:57:36 +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
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
a672585807
fix: fix cypress mirror url for cypress version > 3 ( #6145 )
2020-12-14 10:08:14 +08:00
Binwei Fang
663bbd7639
fix: fix usage of cmd-shim ( #6137 )
2020-12-10 20:48:08 +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
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
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
Yazhe Wang
ba6cb7c5b3
refactor!: replace request with node-fetch ( #6009 )
2020-11-13 13:26:57 +08:00
Haoqun Jiang
b8d593ab59
fix: npm 7 compat by turning on legacy-peer-deps flag ( #5961 )
2020-10-15 15:23:24 +08:00
Haoqun Jiang
920160a011
refactor: rename the version parameter to versionRange
2020-10-09 19:20:14 +08:00
Haoqun Jiang
3656416bd0
chore: merge branch 'next' into dev
2020-10-09 15:12:38 +08:00
Haoqun Jiang
8578567c35
fix: more accurate warning message for missing global peer dependencies ( #5871 )
2020-09-28 17:15:43 +08:00
Amir Rustamzadeh
3717f7c973
feat(plugin)!: update cypress plugin to reflect cross-browser capabilities
...
chore(plugin): add link to cypress cross-browser guide
chore(dep): upgrade to cypress v4.0.0
chore(dep): upgrade to Cypress 4.0.1
chore(dep): upgrade to cypress v5.0.0
2020-09-28 15:22:17 +08:00
kzhang
286d0688d6
fix: incorrectly read Taobao binary mirror configuration. ( #5902 )
...
Co-authored-by: zhangke <zhangke12@zybank.com.cn >
2020-09-28 10:11:09 +08:00
Bodo Graumann
5b70fc2f10
fix: respect scope when resolving package metadata ( #5892 )
...
This should fix the remaining issue reported in #5411 .
In particular, if the user configured a dedicated npm registry for a
specific scope, this setting was previously disregarded by vue-cli.
Thus it was impossible to use vue upgrade if the packages were not also
published to the official npm registry.
2020-09-23 13:35:48 +08:00
Haoqun Jiang
6409363a36
fix: skip checking git gpgSign config ( #5869 )
...
Fix the issue described at https://github.com/vuejs/vue-cli/pull/5823#issuecomment-690269893
This simplifies the logic, thus less error-prone.
The error message is still correct anyway.
2020-09-10 21:25:13 +08:00
Shinigami
adb8c7d316
chore!: remove TSLint support ( #5065 )
...
closes #5064
2020-09-10 20:07:09 +08:00
Haoqun Jiang
393e79b890
fixup! chore!: some trivial major version bumps for dependencies
2020-09-08 16:12:11 +08:00
Haoqun Jiang
9641d6d254
fix: fix support for Node.js v8 and deprecate it ( #5827 )
...
Fixes #5800
2020-08-27 16:29:01 +08:00
Spenser Black
9706cd1d28
fix: handle GPG sign git config for initial commit ( #5823 )
...
Fixes #5818
2020-08-27 15:04:05 +08:00
Haoqun Jiang
27db6bfaa8
fix: strip non-ansi characters from registry config ( #5808 )
...
To deal with malformed stdout result retrieved from child processes.
Fixes #5802
2020-08-24 15:52:37 +08:00
Haoqun Jiang
5d002ccb07
fix: do not throw when api.render is called from an anonymous function ( #5801 )
...
Fixes #4774
2020-08-24 15:44:25 +08:00
Necmettin Karakaya
5baec1fdc5
chore: fix common misspelling errors ( #5694 )
...
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com >
2020-08-10 01:17:01 +08:00
Haoqun Jiang
3a5ed77a51
chore: default to non-class components for Vue 3 TS projects ( #5755 )
2020-08-06 17:42:46 +08:00
Haoqun Jiang
77f4489f2d
fix: ignore .svn/** when reading and writing files ( #5744 )
...
Fixes #5689
2020-08-04 15:42:59 +08:00
Haoqun Jiang
1030f39599
fix(e2e): shouldn't install webdrivers for unchecked browsers on creation ( #5736 )
2020-08-03 15:20:29 +08:00