putout 35.14.1 → 35.16.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/ChangeLog CHANGED
@@ -1,3 +1,44 @@
1
+ 2024.04.21, v35.16.0
2
+
3
+ fix:
4
+ - c4ad97e8b @putout/operator-match-files: rename
5
+ - e5dbaca94 @putout/operator-match-files: dot
6
+ - 0c02ccf22 eslint: cwd
7
+
8
+ feature:
9
+ - 463d2646f putout: @putout/plugin-types v4.0.0
10
+ - 7f971e8ba putout: @putout/plugin-declare v4.0.0
11
+ - 3b043c38f @putout/plugin-declare: isArray: move out to @putout/plugin-types
12
+ - 844e20dbb @putout/plugin-types: drop support of node < 18
13
+ - bd2e91935 @putout/plugin-types: declare: isArray, isEmptyArray: add
14
+ - 5fa1a1cd5 @putout/eslint-flat: move out matchToFlat
15
+ - 8c8705b95 @putout/eslint-flat: add support of FlatConfig
16
+ - baf9706c6 @putout/eslint-flat: add
17
+ - 1ba8ae649 @putout/operator-match-files: improve rename
18
+ - ed0d47673 @putout/eslint: get-eslint: Flat Config
19
+ - 65aaa5a93 @putout/eslint: improve support of FlatConfig
20
+ - d4b426a3c @putout/operator-match-file: find existing
21
+ - 405300d88 @putout/operator-filesystem: maybeRemoveFile: search in current directory only
22
+ - f561bfd03 @putout/operator-match-files: copy -> rename
23
+ - 812886108 @putout/operator-ignore: __json: no property found
24
+
25
+ 2024.04.13, v35.15.0
26
+
27
+ fix:
28
+ - 9e5cc8f10 @putout/operator-ignore: __json: property
29
+ - 0b32f4415 @putout/plugin-putout: remove-unused-get-properties-argument: exclude not StringLiteral
30
+ - 0855fa787 @putout/plugin-npmignore: message
31
+
32
+ feature:
33
+ - 09ae16147 putout: add @putout/plugin-coverage
34
+ - 228414483 @putout/plugin-coverage: add
35
+ - a961d86ce putout: @putout/plugin-gitignore v6.0.0
36
+ - fea9d47f9 putout: @putout/plugin-npmignore v5.0.0
37
+ - 95af1575f @putout/plugin-gitignore: use ignore
38
+ - 59361fac9 @putout/plugin-putout: declare: ignore: add
39
+ - 0e78b78b3 @putout/operator-ignore: add
40
+ - 3eb9a5b45 @putout/operator-json: fromJS: no newline
41
+
1
42
  2024.04.12, v35.14.1
2
43
 
3
44
  feature:
package/README.md CHANGED
@@ -14,7 +14,17 @@
14
14
 
15
15
  ![putout](https://github.com/coderaiser/putout/blob/master/images/putout-logo.svg)
16
16
 
17
- 🐊**Putout** is a pluggable and configurable code transformer with built-in ESLint and Babel plugins support for js, jsx, typescript and flow files. It has [a lot of transformations](https://github.com/coderaiser/putout#-built-in-transformations) that will keep your codebase in a clean state, transforming any code smell to readable code according to best practices.
17
+ 🐊**Putout** is a JavaScript Linter, pluggable and configurable code transformer, drop-in **ESLint** replacement with built-in [code printer](https://github.com/putoutjs/printer). It has a lot of transformations that keeps your codebase in a clean state, removing any code smell and making code readable according to best practices. The main target is JavaScript, but:
18
+
19
+ - ✅ JSX;
20
+ - ✅ TypeScript;
21
+ - ✅ Flow;
22
+ - ✅ Yaml;
23
+ - ✅ Markdown;
24
+ - ✅ JSON;
25
+ - ✅ Ignore;
26
+
27
+ are also supported. Here is how it looks like:
18
28
 
19
29
  [![putout](https://asciinema.org/a/0akg9gkJdbmbGl6BbpaycgKZm.svg)](https://asciinema.org/a/0akg9gkJdbmbGl6BbpaycgKZm)
20
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "35.14.1",
3
+ "version": "35.16.0",
4
4
  "type": "commonjs",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊 Pluggable and configurable code transformer with built-in ESLint, Babel and support of js, jsx, typescript, flow, markdown, yaml and json",
@@ -109,7 +109,8 @@
109
109
  "@putout/plugin-convert-quotes-to-backticks": "^3.0.0",
110
110
  "@putout/plugin-convert-template-to-string": "^2.0.0",
111
111
  "@putout/plugin-convert-to-arrow-function": "^4.0.0",
112
- "@putout/plugin-declare": "^3.0.0",
112
+ "@putout/plugin-coverage": "^1.0.0",
113
+ "@putout/plugin-declare": "^4.0.0",
113
114
  "@putout/plugin-declare-before-reference": "^3.0.0",
114
115
  "@putout/plugin-declare-imports-first": "^2.0.0",
115
116
  "@putout/plugin-eslint": "^8.0.0",
@@ -174,7 +175,7 @@
174
175
  "@putout/plugin-split-variable-declarations": "^3.0.0",
175
176
  "@putout/plugin-tape": "^14.0.0",
176
177
  "@putout/plugin-try-catch": "^3.0.0",
177
- "@putout/plugin-types": "^3.0.0",
178
+ "@putout/plugin-types": "^4.0.0",
178
179
  "@putout/plugin-typescript": "^7.0.0",
179
180
  "@putout/plugin-webpack": "^3.0.0",
180
181
  "@putout/processor-css": "^9.0.0",
package/putout.json CHANGED
@@ -88,6 +88,9 @@
88
88
  ".npmignore": {
89
89
  "npmignore": "on"
90
90
  },
91
+ ".{nyc,c8}rc.json": {
92
+ "coverage": "on"
93
+ },
91
94
  ".*ignore": {
92
95
  "convert-quotes-to-backticks": "off"
93
96
  },
@@ -156,6 +159,7 @@
156
159
  "**/.git"
157
160
  ],
158
161
  "rules": {
162
+ "coverage": "off",
159
163
  "typescript": "off",
160
164
  "nodejs/convert-esm-to-commonjs": "off",
161
165
  "nodejs/convert-commonjs-to-esm": "off",
@@ -254,6 +258,7 @@
254
258
  "putout-config",
255
259
  "promises",
256
260
  "typescript",
261
+ "coverage",
257
262
  "gitignore",
258
263
  "npmignore",
259
264
  "browserlist",