@supertape/formatter-progress-bar 2.3.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -7
- package/lib/progress-bar.js +3 -1
- package/package.json +3 -4
package/README.md
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
# @supertape/formatter-progress-bar [![NPM version][NPMIMGURL]][NPMURL]
|
|
1
|
+
# @supertape/formatter-progress-bar [![NPM version][NPMIMGURL]][NPMURL]
|
|
2
2
|
|
|
3
|
-
[NPMIMGURL]:
|
|
4
|
-
[NPMURL]:
|
|
5
|
-
|
|
6
|
-
[DependencyStatusURL]: https://david-dm.org/coderaiser/supertape?path=packages/formatter-progress-bar
|
|
7
|
-
[DependencyStatusIMGURL]: https://david-dm.org/coderaiser/supertape.svg?path=packages/formatter-progress-bar
|
|
3
|
+
[NPMIMGURL]: https://img.shields.io/npm/v/@supertape/formatter-progress-bar.svg?style=flat&longCache=true
|
|
4
|
+
[NPMURL]: https://npmjs.org/package/@supertape/formatter-progress-bar "npm"
|
|
8
5
|
|
|
9
6
|
`supertape` formatter shows progress bar.
|
|
10
7
|
|
|
@@ -31,4 +28,3 @@ supertape --format progress-bar lib
|
|
|
31
28
|
## License
|
|
32
29
|
|
|
33
30
|
MIT
|
|
34
|
-
|
package/lib/progress-bar.js
CHANGED
|
@@ -9,6 +9,8 @@ const fullstore = require('fullstore');
|
|
|
9
9
|
const {isCI} = require('ci-info');
|
|
10
10
|
|
|
11
11
|
const OK = '👌';
|
|
12
|
+
const YELLOW = '#f9d472';
|
|
13
|
+
|
|
12
14
|
const {red} = chalk;
|
|
13
15
|
const formatErrorsCount = (a) => a ? red(a) : OK;
|
|
14
16
|
|
|
@@ -29,7 +31,7 @@ let bar;
|
|
|
29
31
|
module.exports.start = ({total}) => {
|
|
30
32
|
out('TAP version 13');
|
|
31
33
|
|
|
32
|
-
const color = SUPERTAPE_PROGRESS_BAR_COLOR ||
|
|
34
|
+
const color = SUPERTAPE_PROGRESS_BAR_COLOR || YELLOW;
|
|
33
35
|
|
|
34
36
|
bar = createProgress({
|
|
35
37
|
total,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supertape/formatter-progress-bar",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.1",
|
|
4
4
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
5
5
|
"description": "supertape formatter progress bar",
|
|
6
6
|
"homepage": "http://github.com/coderaiser/supertape",
|
|
@@ -36,17 +36,16 @@
|
|
|
36
36
|
],
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@babel/core": "^7.12.9",
|
|
39
|
-
"@babel/eslint-parser": "^7.12.1",
|
|
40
39
|
"c8": "^7.3.5",
|
|
41
40
|
"eslint": "^8.0.0-beta.0",
|
|
42
41
|
"eslint-plugin-node": "^11.1.0",
|
|
43
|
-
"eslint-plugin-putout": "^
|
|
42
|
+
"eslint-plugin-putout": "^12.0.0",
|
|
44
43
|
"madrun": "^8.0.0",
|
|
45
44
|
"mock-require": "^3.0.2",
|
|
46
45
|
"montag": "^1.0.0",
|
|
47
46
|
"nodemon": "^2.0.2",
|
|
48
47
|
"pullout": "^4.0.0",
|
|
49
|
-
"putout": "^
|
|
48
|
+
"putout": "^22.0.0",
|
|
50
49
|
"supertape": "^6.0.1"
|
|
51
50
|
},
|
|
52
51
|
"license": "MIT",
|