Commit Graph

455 Commits

Author SHA1 Message Date
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
Christian Bromann
87e9d42fbe feat(e2e-webdriverio): add e2e plugin for WebdriverIO (#5479) 2020-08-01 00:46:14 +08:00
Haoqun Jiang
b1772cadd2 feat: allow choosing vue version on creation (and in presets) (#5637) 2020-07-24 18:54:15 +08:00
Haoqun Jiang
7f56846a2e refactor: replace jscodeshift with vue-codemod (#5629) 2020-07-01 15:06:55 +08:00
Haoqun Jiang
09cdf51c5e fix: fix support for some legacy registry servers (#5609)
Some registry servers do not recognize `application/vnd.npm.install-v1+json`
in the Accept header, so here we add `application/json` as fallback.
2020-06-24 10:35:55 +08:00
Haoqun Jiang
c889073c7f chore: improve error message when get metadata failed (#5604) 2020-06-24 10:35:01 +08:00
Haoqun Jiang
4891d91d3c fix: support auth token when retrieving package metadata (#5586) 2020-06-19 15:47:13 +08:00
fxxjdedd
fa871b05b3 fix: add --no-verify to initial git commit (#5540) 2020-06-01 18:50:04 +08:00
Haoqun Jiang
538a0288c8 fix(cli): fix the creation log (#5502) 2020-05-21 17:10:42 +08:00
Haoqun Jiang
02a365dc65 feat(plugin-api): expose inquirer to prompts.js, allowing custom prompt types (#5498) 2020-05-19 20:41:06 +08:00
Haoqun Jiang
aee9e178e7 fix: allow specifying plugin version when calling vue add (#5497)
fixes #4700
2020-05-19 09:11:15 +08:00
Haoqun Jiang
90f114640c fix(ui): the logs from creator should be displayed in the UI (#5493)
With `logWithSpinner`, the log would be output to the console instead.

Fixes #5240
Fixes #5445
2020-05-18 10:24:38 +08:00
Haoqun Jiang
75c398f04e fix(creator): do not override the README.md generated by plugins (#5472)
closes #4802
closes #4942
2020-05-16 22:09:56 +08:00
Romain
e2f00d2867 fix(ui): fix "update all plugins/dependencies" utility (#5395) 2020-05-08 16:42:45 +08:00
Haoqun Jiang
5e93d70e65 fix: normalize the file argument of transformScript, fix Windows compatibility (#5424) 2020-05-08 16:11:47 +08:00
Haoqun Jiang
9855c52305 fix: run migrator in a separator process, fix require cache issues during upgrade (#5360)
* fix: run migrator in a separator process, fix require cache issues during upgrade

* fix: fix cwd

* test: fix test mocks

* fix: early return
2020-04-07 16:12:44 +08:00
Jair Reina
e5449adf74 feat(vue-cli): Choosing to save as a preset tells you where it is saved (#5212)
close #5197

Co-authored-by: Jair Reina <Jair.Reina@digitaslbi.com>
2020-03-21 21:34:27 +08:00
Mike
74ca541e27 Improve package.json not found error  (#5238) 2020-03-07 00:23:08 +01:00
Cédric Exbrayat
5cb988cb27 fix(GeneratorAPI): remove warning when using extendPackage with prune (#5202)
Currently, if we use `api.extendPackage({foo: null}, {prune: true})` the dependency is removed but a warning is logged as the range is invalid:

```
 WARN  invalid version range for dependency "foo":

- null injected by generator "my-plugin"
```
2020-02-27 11:10:14 +08:00
James George
1423553a6d chore: Minor typographical fix (#5189)
* chore: typographical fix

* chore: update test
2020-02-16 20:52:17 +08:00
Haoqun Jiang
0d0168bf28 fix(ui): fix the incorrect RegExp used for CORS check 2020-02-07 19:04:35 +08:00
Haoqun Jiang
6d680bc012 fix(migrator): correctly extract config fields to files 2020-02-06 19:40:50 +08:00