Commit Graph

49 Commits

Author SHA1 Message Date
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
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
Haoqun Jiang
8cc9ea5f81 fix: pause & resume spinners elegantly 2019-09-09 17:23:47 +08:00
Marcel Jahn
8f2d470404 fix(pluginResolution): support dots in scope names (#4512) 2019-09-02 15:59:05 +08:00
Haoqun Jiang
4e43c0e9c6 fix: resolvePluginId should correctly resolve @vue/cli-service (#4405) 2019-08-08 10:50:16 +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
Haoqun Jiang
448dbdb4f3 fix: use yarn --version to detect yarn (#4336)
- We never referred to `yarnpkg` anywhere else in the codebase
- For the rare case that `yarn` binary is overridden by Hadoop YARN,
`yarn --version` will throw (it only supports `yarn version`), therefore
it won't pass this check.

Fixes #3941.
Closes #3942.
2019-07-23 20:35:05 +08:00
Haoqun Jiang
8b8bb99316 feat: allow omitting scope prefix for official plugins on vue add (#4219) 2019-07-06 17:09:38 +08:00
Haoqun Jiang
867c6eaf2c feat!: redesigns vue upgrade, supports code migration (#4090) 2019-07-02 16:23:34 +08:00
Haoqun Jiang
f078c46fc3 chore(openBrowser): sync with upstream 2019-05-22 16:34:09 +08:00
Haoqun Jiang
f99645cfcd chore: joi -> @hapi/joi 2019-05-04 00:27:53 +08:00
Haoqun Jiang
db374ecd83 fix: should not show error message when pnpm is not installed (#3826) 2019-04-25 22:47:10 +08:00
Haoqun Jiang
94f3ca0e91 fix: better pnpm check
1. separate project pnpm check and global pnpm check
2. rename hasPnpm to hasPnpm3OrLater
2019-04-11 16:38:49 +08:00
robertkruis
a02ef3988f feat: support PNPM as a package manager (#1531)
Enables vue-cli to use PNPM (https://pnpm.js.org/) as package manager
2019-04-09 00:43:47 +08:00
Haoqun Jiang
09be0f2e1f fix: add timeout for requests
closes #3076
2019-01-29 23:10:17 +08:00
Guillaume Chau
2baddaa35e fix(tasks): new terminate process implementation 2018-11-26 20:08:20 +01:00
Guillaume Chau
f2614103a1 fix(plugin api): IPC now namspaced per project by default, closes #2189 2018-08-23 00:57:47 +02:00
Guillaume Chau
8dd0b11747 fix: expire env maps, closes #1906 2018-08-23 00:12:22 +02:00
Evan You
a76bde100b test: do not call process.exit during tests 2018-08-11 16:11:13 -04:00
Guillaume Chau
316d476d6d refactor: launch + more helpful error message 2018-08-06 19:07:05 +02:00
Evan You
4b4e4609e5 perf: improve CLI startup performance 2018-07-19 16:41:10 -04:00
Evan You
a748c26b63 chore: remove log [ci skip] 2018-07-17 17:00:17 -04:00
Guillaume Chau
9a8f49edb6 fix(ipc): check connection 2018-07-17 21:34:32 +02:00
Guillaume Chau
08352811e0 feat: local service plugins, closes #1841 2018-07-13 17:39:07 +02:00
Payton Burdette
153c418555 feat: vue config command (#1554)
* fixed broken plugin dev link on contributing guide

* feat(cli-service): vue config command added

* feat(cli-service): vue config command added

* feat(cli-service): added config commands get and delete

* feat(cli-service): added vue edit command and opn dependcy

* feat(cli-service): added vue config set command and vue config check

* feat(cli-service): nested path support and command/logs adjustment

* feat(cli-service): command option descriptions updated with preset

* refactor: object get/set/unset

* feat: json option + fs/JSON fixes
2018-07-12 00:36:59 +02:00
Guillaume Chau
8e5448c2dc refactor: hasProjectYarn & hasProjectGit 2018-07-05 11:11:48 +02:00
Guillaume Chau
c2da5fcc71 feat(ui): improved IpcMessenger with new options 2018-06-21 13:50:06 +02:00
Guillaume Chau
29fcee73bd fix(ui): process exit guard 2018-06-15 00:36:34 +02:00
Guillaume Chau
1fcd2d0d76 fix(ui): IPC conflict 2018-06-10 21:21:08 +02:00
Evan You
9846cd520c fix: fix caching dependency (close #1384) 2018-05-29 09:29:18 -04:00
Evan You
0bc2aeba6d chore: merge dev 2018-05-28 22:10:41 -04:00
Evan You
ff8acd1b55 refactor: caching identifier generation 2018-05-28 14:47:01 -04:00
Guillaume Chau
b75efc3a67 chore: merge dev 2018-05-22 17:05:07 +02:00
Evan You
1075576690 perf: adjust caching and parallelization 2018-05-22 00:09:30 -04:00
Guillaume Chau
9d00eebb92 refactor(ui): new IpcMessenger plugin utils 2018-04-22 13:33:46 +02:00
Guillaume Chau
75e86c6483 fix(ui): prompts async methods + fixes 2018-04-21 16:52:23 +02:00
Guillaume Chau
b9a714c32a feat(ui): wip plugins list 2018-03-11 19:36:23 +01:00
Guillaume Chau
9f0eece1d1 feat(ui): Progress and Logs systems 2018-03-09 20:35:37 +01:00
Guillaume Chau
61655b14df feat(ui): Project creation working! 2018-03-07 19:17:27 +01:00
Evan You
4601cc34b2 refactor: move more into pluginResolution util 2018-03-05 11:09:21 -05:00
Evan You
49e9cf2ce6 refactor: use pluginResolution utils in more places, add tests 2018-03-04 15:13:02 -05:00
Evan You
78dcc7ac58 refactor: use consistent plugin name resolution between add and invoke 2018-03-04 14:25:56 -05:00
Evan You
edff5b49fe refactor: extract plugin resolution into shared-utils 2018-03-04 13:46:10 -05:00
Guillaume Chau
0f2ee80a10 feat: generatorAPI.exitLog (#935)
* feat(logger): add tag argument

* feat(generator): add `exitLog` api

* fix(generator): extract toShortId into a util function
2018-03-04 13:22:55 -05:00
Evan You
85aacc3464 refactor: improve options validation 2018-02-03 22:19:21 -05:00
Evan You
9f25eedf80 refactor: make hasYarn & hasGit lazy to improve boot time 2018-02-02 15:38:41 -05:00
Evan You
120d5c5256 fix: move linkBin into @vue/cli since it requires node 8 2018-01-29 22:05:31 -05:00
Evan You
f372f55e93 feat: allow saving multiple presets 2018-01-28 00:24:33 -05:00
Evan You
9856549432 refactor: refactor shared utils + move openBrowser 2018-01-27 21:54:27 -05:00