@putout/cli-process-file 6.0.2 → 7.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/process-file.js +1 -1
- package/package.json +8 -8
package/lib/process-file.js
CHANGED
|
@@ -7,6 +7,7 @@ import {parseError} from 'putout/parse-error';
|
|
|
7
7
|
import {putoutAsync as _putoutAsync} from 'putout';
|
|
8
8
|
import once from 'once';
|
|
9
9
|
import {simpleImport as _simpleImport} from './simple-import.js';
|
|
10
|
+
import {configurePrinter} from './printer/printer.js';
|
|
10
11
|
|
|
11
12
|
const getMatchedOptions = (name, options) => {
|
|
12
13
|
if (!name.includes('{'))
|
|
@@ -31,7 +32,6 @@ export const initProcessFile = ({fix, fixCount, logError, raw}) => async functio
|
|
|
31
32
|
putoutAsync = _putoutAsync,
|
|
32
33
|
} = overrides;
|
|
33
34
|
|
|
34
|
-
const {configurePrinter} = await import('./printer/printer.js');
|
|
35
35
|
const isTS = /\.tsx?$/.test(name) || /{tsx?}$/.test(name);
|
|
36
36
|
const {printer, ...matchedOptions} = getMatchedOptions(name, options);
|
|
37
37
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@putout/cli-process-file",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
5
5
|
"description": "Run all 🐊Putout linters",
|
|
6
6
|
"homepage": "https://github.com/coderaiser/putout/tree/master/packages/cli-process-file#readme",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"report": "madrun report"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@putout/eslint": "^
|
|
27
|
+
"@putout/eslint": "^6.0.0",
|
|
28
28
|
"deepmerge": "^4.3.1",
|
|
29
29
|
"once": "^1.4.0",
|
|
30
30
|
"samadhi": "^4.0.2",
|
|
@@ -37,18 +37,18 @@
|
|
|
37
37
|
],
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@putout/operate": "*",
|
|
40
|
-
"
|
|
41
|
-
"eslint": "^10.0.0-alpha.0",
|
|
40
|
+
"eslint": "^10.0.0",
|
|
42
41
|
"eslint-plugin-n": "^17.0.0",
|
|
43
|
-
"eslint-plugin-putout": "^
|
|
44
|
-
"madrun": "^
|
|
42
|
+
"eslint-plugin-putout": "^31.0.0",
|
|
43
|
+
"madrun": "^13.0.0",
|
|
45
44
|
"montag": "^1.2.1",
|
|
46
45
|
"nodemon": "^3.0.1",
|
|
47
46
|
"putout": "*",
|
|
48
|
-
"
|
|
47
|
+
"superc8": "^12.0.0",
|
|
48
|
+
"supertape": "^12.0.0"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"putout": ">=
|
|
51
|
+
"putout": ">=42"
|
|
52
52
|
},
|
|
53
53
|
"license": "MIT",
|
|
54
54
|
"engines": {
|