@putout/plugin-putout 21.7.0 → 22.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/declare/index.js +2 -1
- package/lib/declare/types.json +0 -2
- package/package.json +6 -2
package/lib/declare/index.js
CHANGED
|
@@ -5,9 +5,10 @@ const operator = require('./operator');
|
|
|
5
5
|
const {getRule} = require('./get-rule');
|
|
6
6
|
|
|
7
7
|
module.exports.declare = () => ({
|
|
8
|
+
types: `import {types} from 'putout'`,
|
|
9
|
+
...types,
|
|
8
10
|
template: `import {template} from 'putout'`,
|
|
9
11
|
createTest: `import {createTest} from '@putout/test'`,
|
|
10
12
|
...operator,
|
|
11
|
-
...types,
|
|
12
13
|
getRule: `const getRule = ${getRule.toString()};`,
|
|
13
14
|
});
|
package/lib/declare/types.json
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"types": "import {types} from 'putout'",
|
|
3
2
|
"AnyTypeAnnotation": "const {AnyTypeAnnotation} = types",
|
|
4
3
|
"ArgumentPlaceholder": "const {ArgumentPlaceholder} = types",
|
|
5
4
|
"ArrayExpression": "const {ArrayExpression} = types",
|
|
@@ -253,7 +252,6 @@
|
|
|
253
252
|
"WhileStatement": "const {WhileStatement} = types",
|
|
254
253
|
"WithStatement": "const {WithStatement} = types",
|
|
255
254
|
"YieldExpression": "const {YieldExpression} = types",
|
|
256
|
-
"is": "const {is} = types",
|
|
257
255
|
"isAccessor": "const {isAccessor} = types",
|
|
258
256
|
"isAnyTypeAnnotation": "const {isAnyTypeAnnotation} = types",
|
|
259
257
|
"isArgumentPlaceholder": "const {isArgumentPlaceholder} = types",
|
package/package.json
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@putout/plugin-putout",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "22.0.0",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
6
6
|
"description": "🐊Putout plugin helps with plugins development",
|
|
7
7
|
"homepage": "https://github.com/coderaiser/putout/tree/master/packages/plugin-putout#readme",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": "./lib/index.js",
|
|
11
|
+
"./declare/types": "./lib/declare/types.json"
|
|
12
|
+
},
|
|
9
13
|
"release": false,
|
|
10
14
|
"tag": false,
|
|
11
15
|
"changelog": false,
|
|
@@ -54,7 +58,7 @@
|
|
|
54
58
|
"supertape": "^10.0.0"
|
|
55
59
|
},
|
|
56
60
|
"peerDependencies": {
|
|
57
|
-
"putout": ">=
|
|
61
|
+
"putout": ">=37"
|
|
58
62
|
},
|
|
59
63
|
"license": "MIT",
|
|
60
64
|
"engines": {
|