@supertape/formatter-progress-bar 7.0.0 → 7.0.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/lib/progress-bar.js +2 -2
- package/package.json +3 -3
package/lib/progress-bar.js
CHANGED
|
@@ -5,7 +5,7 @@ import chalk from 'chalk';
|
|
|
5
5
|
import fullstore from 'fullstore';
|
|
6
6
|
import {isCI} from 'ci-info';
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
globalThis._isCI = isCI;
|
|
9
9
|
|
|
10
10
|
const OK = '👌';
|
|
11
11
|
const WARNING = '⚠️';
|
|
@@ -175,7 +175,7 @@ const defaultStreamOptions = {
|
|
|
175
175
|
const getStream = ({total} = defaultStreamOptions) => {
|
|
176
176
|
const is = total >= SUPERTAPE_PROGRESS_BAR_MIN;
|
|
177
177
|
|
|
178
|
-
if (is && !
|
|
178
|
+
if (is && !globalThis._isCI || SUPERTAPE_PROGRESS_BAR === '1')
|
|
179
179
|
return stderr;
|
|
180
180
|
|
|
181
181
|
return new Writable();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supertape/formatter-progress-bar",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.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",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"c8": "^10.1.2",
|
|
39
39
|
"eslint": "^9.1.1",
|
|
40
|
-
"eslint-plugin-putout": "^
|
|
40
|
+
"eslint-plugin-putout": "^29.0.2",
|
|
41
41
|
"madrun": "^11.0.0",
|
|
42
42
|
"montag": "^1.0.0",
|
|
43
43
|
"nodemon": "^3.0.1",
|
|
44
44
|
"pullout": "^5.0.1",
|
|
45
|
-
"putout": "^
|
|
45
|
+
"putout": "^41.0.2",
|
|
46
46
|
"supertape": "^11.0.0"
|
|
47
47
|
},
|
|
48
48
|
"license": "MIT",
|