@putout/engine-reporter 1.0.2 → 2.0.0
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/formatter/formatter.cjs +1 -1
- package/lib/index.js +2 -2
- package/package.json +7 -9
- package/lib/simple-import.cjs +0 -6
package/lib/index.js
CHANGED
|
@@ -27,7 +27,7 @@ export const createReport = async ({args, cwd, exit}) => {
|
|
|
27
27
|
});
|
|
28
28
|
|
|
29
29
|
if (configError)
|
|
30
|
-
exit(INVALID_CONFIG, configError);
|
|
30
|
+
return exit(INVALID_CONFIG, configError);
|
|
31
31
|
|
|
32
32
|
const {formatter} = config;
|
|
33
33
|
|
|
@@ -39,7 +39,7 @@ export const createReport = async ({args, cwd, exit}) => {
|
|
|
39
39
|
[newFormatter] = await chooseFormatter(defaultFormatter, keys(dependencies));
|
|
40
40
|
|
|
41
41
|
if (!newFormatter)
|
|
42
|
-
exit(INTERACTIVE_CANCELED);
|
|
42
|
+
return exit(INTERACTIVE_CANCELED);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
const [currentFormat, formatterOptions] = await getFormatter(newFormatter || format || formatter, exit);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@putout/engine-reporter",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
6
6
|
"description": "Run 🐊Putout formatters",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@putout/cli-choose-formatter": "^4.0.0",
|
|
34
34
|
"@putout/cli-keypress": "^2.0.0",
|
|
35
|
-
"@putout/engine-loader": "^
|
|
35
|
+
"@putout/engine-loader": "^14.0.0",
|
|
36
36
|
"fullstore": "^3.0.0",
|
|
37
37
|
"try-catch": "^3.0.1",
|
|
38
38
|
"try-to-catch": "^3.0.1"
|
|
@@ -42,18 +42,16 @@
|
|
|
42
42
|
"putout-engine"
|
|
43
43
|
],
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@putout/formatter-progress": "^
|
|
46
|
-
"c8": "^
|
|
47
|
-
"eslint": "^9.0.0
|
|
48
|
-
"eslint-plugin-n": "^17.0.0
|
|
49
|
-
"eslint-plugin-putout": "^
|
|
50
|
-
"just-camel-case": "^4.0.2",
|
|
45
|
+
"@putout/formatter-progress": "^5.0.0",
|
|
46
|
+
"c8": "^10.0.0",
|
|
47
|
+
"eslint": "^9.0.0",
|
|
48
|
+
"eslint-plugin-n": "^17.0.0",
|
|
49
|
+
"eslint-plugin-putout": "^23.0.0",
|
|
51
50
|
"lerna": "^6.0.1",
|
|
52
51
|
"madrun": "^10.0.0",
|
|
53
52
|
"mock-require": "^3.0.3",
|
|
54
53
|
"montag": "^1.0.0",
|
|
55
54
|
"nodemon": "^3.0.1",
|
|
56
|
-
"putout": "*",
|
|
57
55
|
"supertape": "^10.0.0"
|
|
58
56
|
},
|
|
59
57
|
"peerDependencies": {
|