Commit Graph

6 Commits

Author SHA1 Message Date
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
Guillaume Chau
9f0eece1d1 feat(ui): Progress and Logs systems 2018-03-09 20:35:37 +01: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
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