Haoqun Jiang
06eefe41ab
chore: dependency maintenance
2021-03-12 14:52:10 +08:00
xiek
bb9c0011bd
bugfix: string padding length is error ( #6254 )
...
Co-authored-by: 谢恺 <kaixie@caih.com >
2021-02-22 14:47:21 +08:00
Kristoffer K
b69697ebba
fix(cli): resolve plugins relative to the package context ( #5794 )
...
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com >
2021-01-22 15:52:12 +08:00
Haoqun Jiang
82aef123d9
test: simplify loadModule special case handling for tests
...
1. createRequire should have been properly handled in newer Jest
versions: https://github.com/facebook/jest/pull/9469
2. We don't test migrators with Jest mock modules anymore
So it's safe to skip that condition
2021-01-20 16:38:26 +08:00
Haoqun Jiang
4378c8df26
style: replace eslint-plugin-vue-libs with standard config ( #6148 )
2021-01-06 14:29:12 +08:00
Haoqun Jiang
c72b6b0abd
feat: add a @vue/cli-plugin-webpack-4 package for future use ( #6144 )
2020-12-14 10:18:38 +08:00
Haoqun Jiang
482ef1086b
chore!: bump joi to v17 ( #5973 )
2020-11-19 15:34:31 +08:00
Yazhe Wang
ba6cb7c5b3
refactor!: replace request with node-fetch ( #6009 )
2020-11-13 13:26:57 +08:00
Christian Bromann
87e9d42fbe
feat(e2e-webdriverio): add e2e plugin for WebdriverIO ( #5479 )
2020-08-01 00:46:14 +08:00
Haoqun Jiang
f1e77a5551
Revert "refactor: use console.clear to clear the log ( #5700 )"
...
This reverts commit 7c2a36b889 .
`console.clear` overrides the previous content on the screen, so it
might cause confusion when users scrolls back.
2020-07-24 19:55:05 +08:00
Arthur
7c2a36b889
refactor: use console.clear to clear the log ( #5700 )
...
Co-authored-by: chentao.arthur <chentao.arthur@bytedance.com >
2020-07-24 18:30:57 +08:00
Haoqun Jiang
c889073c7f
chore: improve error message when get metadata failed ( #5604 )
2020-06-24 10:35:01 +08:00
yazhe wang
a41cac220a
refactor: replace request-promise-native with util.promisify ( #5572 )
2020-06-15 16:53:58 +08:00
Haoqun Jiang
01d4bea0c5
fix: should throw errors if there is bad require() in vue.config.js ( #5500 )
...
reverts #5305
this makes the tests a little more tedious, need to find a better way
to test these functionalities
fixes #5442
2020-05-19 22:16:59 +08:00
Jiang Guoxi
d405f23e72
fix: set timeout of openChrome.applescript ( #5390 )
2020-05-06 16:06:43 +08:00
Haoqun Jiang
a1041a897e
fix: avoid process hanging when trying to get Chrome version ( #5315 )
...
* fix: add a timeout, avoid process hanging
fixes #5310
* fix: avoid accidentally trigerring the `installedBrowsers` getter
fixes #5286
2020-03-31 18:10:56 +08:00
Haoqun Jiang
0609b1be46
fix: fix false positive of hasProjectNpm ( #5264 )
2020-03-19 16:36:34 +08:00
Haoqun Jiang
51a4da7e9f
fix: should infer package manager from config if there's no lockfile in the project ( #5150 )
...
* fix: should infer package manager from config if there's no lockfile in the project
* fixup! fix: should infer package manager from config if there's no lockfile in the project
2020-02-06 16:25:28 +08:00
Haoqun Jiang
8028d9fff7
chore: dependency maintenance
2020-02-02 23:08:35 +08:00
Haoqun Jiang
c6151103b4
test: fix mock module in upgrader test
2020-01-27 23:19:42 +08:00
Haoqun Jiang
15679de2bf
refactor: use createRequire to load/resolve modules ( #5092 )
...
* refactor: use createRequire to resolve modules
* fix: use file path as createRequire argument; fix loadModule.
2020-01-23 07:08:50 +01:00
Haoqun Jiang
d7cbe5f0f1
refactor: use a plain http request to get package metadata ( #5045 )
...
* refactor: use a plain http request to get package metadata
fixes #4895
fixes #4995
* chore: add link to the package metadata documentation
2020-01-13 19:25:38 +05:30
Yingya Zhang
eaa2b7341f
feat: respect existing package.json ( #4827 )
2020-01-09 20:19:06 +08:00
Haoqun Jiang
c4dc8d61c3
refactor: remove unnecessary padEnd & padStart shims
...
Both features are already supported in Node.js v8+
2019-12-03 23:07:47 +08:00
Per Åkerberg
13376ce012
Replace chalk.reset with stripAnsi in @vue/cli-shared-utils/lib/logger.js ( #4842 )
...
* Replace chalk.reset with stripAnsi
When logging multi-line logs, the logger uses chalk.reset in order to get the length of the tag for the log. This is to achieve an indented layout of multi-line logs. chalk.reset only replaces styles such as bold and italic, not color. When the tag contains colors, the result is not pretty. Replacing with stripAnsi gets the intended result.
* Adds reference to strip-ansi
* Removes misplaces comma from package.json
* Removes extraneous semicolon
2019-11-27 14:50:10 +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
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