Haoqun Jiang
2565c5d07e
feat: support binary mirrors for taobao registry ( #4767 )
...
* feat: support binary mirrors for taobao registry
fixes issues like #4718
* fix: only install cypress 3, for now
* fix: do not override user defined `CYPRESS_INSTALL_BINARY` env
2019-11-01 23:39:56 +08:00
Haoqun Jiang
964fad5968
fix: should tolerate cli version check error ( #4741 )
...
* fix: should tolerate cli version check error
* fix: add the error message after the DEBUG indicator
2019-10-22 19:08:32 +08:00
Haoqun Jiang
96890b526f
fix: do not install core plugins that have major version bumps ( #4720 )
...
* fix: fix version check for core plugins in v4
* fix: fix the error when the diff result is null
2019-10-21 17:20:23 +08:00
Haoqun Jiang
048003c334
fix: fix vue add router command in v3 projects ( #4698 )
...
fixes #4692
2019-10-17 15:42:44 +08:00
Haoqun Jiang
953a080c19
fix: update .npmrc for pnpm 4
2019-10-16 13:22:04 +08:00
Haoqun Jiang
5d2c8da754
refactor: replace --disturl option with NODEJS_ORG_MIRROR env variable
...
for better compatibility with pnpm 4 (which does not allow the
`--disturl` option)
2019-10-16 13:18:14 +08:00
B4rtware
badf63d7f0
fix: add pnpm v4 support ( #4677 )
...
* fix: add pnpm v4 support
in pnpm v4 the option '--loglevel' is no longer available instead '--reporter' is used.
* refactor: remove 'v' from PNPM constants for linting
* refactor: rename variable
* fix: typo in _hasPnpm4orLater
Co-Authored-By: Pavan Kumar Sunkara <pavan.sss1991@gmail.com >
* refactor: reduce the amount of duplicate code for pnpm version check
* refactor: remove return-assignment
* refactor: add explicit return value instead of using array access
Co-Authored-By: Pavan Kumar Sunkara <pavan.sss1991@gmail.com >
* fix: remove return value from checkPnpmVersion
* fix: pnpmVersion variable
* refactor: cache pnpm version number
* refactor: fix function name and revert api break
* fix: function call correction
* refactor: export hasPnpmVersionOrLater and use this in favor of hasPnpm4OrLater
* refactor: move cache getter into getPnpmVersion
* refactor: add comment
* refactor: remove comment
2019-10-16 13:15:58 +08:00
Maël Nison
3aa513ace5
Add a variant for config get registry ( #4530 )
...
* Update shouldUseTaobao.js
* Fixes linting
2019-10-11 22:01:07 +02:00
Phan An
81d0245dd6
chore: better upgrade messages ( #3926 )
...
* chore: better upgrade messages
* feat: try to find the right command to update
2019-10-11 15:34:22 +08:00
Haoqun Jiang
5bff9c3f28
fix(upgrade-all): avoid accidentally writing outdated package.json back ( #4634 )
2019-09-30 20:15:23 +08:00
Yingya Zhang
8869a01d48
feat: support custom package manager ( #4621 )
...
Closes #4483
* feat: support custom package manager
* feat: refine warning msg for unknown package manager
* feat: refine blank lines
* feat: refine warning msg for unknown package manager
* feat: refine warning msg for unknown package manager
2019-09-30 14:01:43 +08:00
Haoqun Jiang
ed2b888782
Revert "feat: allow custom packageManager other than npm/yarn/p… ( #4632 )
...
This reverts commit e0f846984a .
2019-09-30 14:00:31 +08:00
Yingya Zhang
e0f846984a
feat: allow custom packageManager other than npm/yarn/pnpm ( #4620 )
...
Closes #4483
2019-09-30 13:59:21 +08:00
Haoqun Jiang
0473432679
feat(nightwatch): check user's installed browser versions on scaffolding / before running tests ( #4563 )
2019-09-12 18:33:10 +08:00
Cédric Exbrayat
cd91c0f650
docs: remove run for yarn commands in readme ( #4551 )
2019-09-08 01:47:20 +08:00
Haoqun Jiang
b799b831b1
fix(upgrade): correctly update version range in package.json ( #4546 )
2019-09-07 00:30:29 +08:00
Haoqun Jiang
0ca37b7453
fix: correctly sort test scripts in package.json
...
The previous `keyOrder` referred to the legacy `test` & `e2e` commands
that were removed / deprecated since 3.0 stable
2019-09-04 01:20:22 +08:00
Haoqun Jiang
e585fc3881
fix: sortObject should not introduce formerly non-existent fields
2019-09-04 01:17:28 +08:00
Cédric Exbrayat
267aa67cf6
fix: remove the nonexistent test command from generated README ( #4525 )
...
Closes #4478
2019-09-03 00:31:11 +08:00
Haoqun Jiang
fbd592ef8e
feat: add vue outdated command & make vue upgrade interactive ( #4497 )
2019-09-02 17:05:03 +08:00
Haoqun Jiang
015a245315
fixup! feat: add --next flag to vue upgrade to check for beta versions ( #4404 )
2019-08-08 11:04:18 +08:00
Haoqun Jiang
c0495e7964
feat: add --next flag to vue upgrade to check for beta versions ( #4404 )
2019-08-08 10:50:45 +08:00
Haoqun Jiang
7384c6292e
chore: skip confirmIfGitDirty in API MODE (for now)
2019-08-08 10:40:48 +08:00
Haoqun Jiang
29b93834f8
refactor: extract Upgrader to a standalone file for easier testing
2019-08-04 22:29:33 +08:00
Haoqun Jiang
c76d2e691d
style: add a "no-shadow" linter rule ( #4385 )
...
It has become a common source of mistakes.
For example, during PR #4363 I've referred to the wrong `options`
several times due to the variable shadowing.
2019-08-02 18:24:52 +08:00
Cédric Exbrayat
52bae8e14a
fix: do not generate empty file when use ts without router ( #4374 )
2019-07-30 16:42:00 +08:00
Pavan Kumar Sunkara
95ca69c390
fix: Make sure afterInvoke hook doesn't get run from other plugins ( #4377 )
2019-07-30 16:38:14 +08:00
Haoqun Jiang
710d08b04d
chore: always upgrade @vue/cli-service first
2019-07-29 21:46:06 +08:00
Haoqun Jiang
9967d6023e
fix: fix Migrator implementation due to Generator internal change
2019-07-29 21:04:19 +08:00
阿平
74f629ea3f
feat(cli): Generator support async ( #3897 )
2019-07-29 16:55:42 +08:00
Haoqun Jiang
505fb5ae0d
fix: vue add should be able to install prerelease versions for official plugins ( #4356 )
2019-07-29 10:44:44 +08:00
yiliang
a2856a750c
chore(cli-service): word spelling in comments ( #4367 )
2019-07-28 20:39:42 +08:00
Haoqun Jiang
45cad0c7e3
fix: when executing multiple actions, only check git status once ( #4332 )
2019-07-22 22:19:10 +08:00
Haoqun Jiang
a1c88edce7
fix: require parent template after when condition evaluated as truthy ( #4330 )
...
fixes #4291
2019-07-22 20:58:06 +08:00
Pavan Kumar Sunkara
544faee81e
feat: more flexible hook system for generators ( #2337 )
2019-07-21 19:59:18 +08:00
Haoqun Jiang
a1f13c7a05
fixup! chore: deprecate tslint ( #4289 )
2019-07-17 11:00:58 +08:00
Haoqun Jiang
debc3f19b2
fix: fix latest version check when current version is a prerelease ( #4295 )
2019-07-16 23:31:00 +08:00
Haoqun Jiang
44325fa16e
chore: fix prompt message
2019-07-15 21:49:30 +08:00
Haoqun Jiang
53b3daf97f
chore: deprecate tslint ( #4289 )
2019-07-15 21:48:51 +08:00
Haoqun Jiang
4af27247cc
refactor: unify package manager related logic ( #4256 )
2019-07-13 00:29:39 +08:00
Haoqun Jiang
7fc0f842e8
feat!: confirm for uncommitted changes before add/invoke/upgrade ( #4275 )
2019-07-12 20:04:08 +08:00
Pavan Kumar Sunkara
362587a966
feat!: make vuex a separate plugin ( #4242 )
...
fixes #2335 , #4024
2019-07-06 15:13:09 +08:00
Min ho Kim
c0aa2bb310
Fix typos ( #4241 )
2019-07-06 07:09:29 +03:00
Pavan Kumar Sunkara
246ae678cb
feat!: make router a separate plugin ( #4196 )
...
* refactor: move router to its own plugin
* refactor: rename routerHistoryMode option to historyMode
* test: add @vue/cli-plugin-router tests
* feat: change src/router.js for most common use cases
* fix: fix cli-ui tests
* docs: Remove router root option from docs
* fix: add support for legacy router option
2019-07-05 23:21:29 +08:00
Haoqun Jiang
9eadfe1eba
test: fix cliServiceVersion for generator unit tests
2019-07-05 19:47:34 +08:00
Haoqun Jiang
867c6eaf2c
feat!: redesigns vue upgrade, supports code migration ( #4090 )
2019-07-02 16:23:34 +08:00
Haoqun Jiang
273d05fe08
style: fix lint errors
2019-06-28 22:15:09 +08:00
James George
934746da7f
chore: minor refactor ( #4205 )
...
eliminate redundancy
2019-06-28 21:58:34 +08:00
Haoqun Jiang
5460ca498f
feat: add transformScript to GeneratorAPI ( #4188 )
2019-06-26 18:25:47 +08:00
Haoqun Jiang
77092b2223
feat: implement version-related APIs for GeneratorAPI ( #4000 )
...
closes #2336
2019-06-26 18:25:21 +08:00