redput 2.2.1 → 2.3.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,19 @@
1
+ 2024.04.12, v2.3.0
2
+
3
+ feature:
4
+ - 3eb3345 redput: @putout/plugin-remove-unused-variables v9.0.0
5
+ - 1278762 redput: @putout/plugin-putout v19.1.0
6
+ - c0e49ce redput: eslint-plugin-n v17.2.0
7
+ - e69a472 redput: @putout/plugin-declare-before-reference v3.0.0
8
+
9
+ 2024.02.19, v2.2.2
10
+
11
+ feature:
12
+ - 99e0eb8 redput: @putout/plugin-nodejs v11.0.0
13
+ - 4c1db17 redput: @putout/test v9.0.1
14
+ - 55f6303 redput: supertape v10.1.0
15
+ - 1ccb7e7 redput: @putout/plugin-declare v3.0.0
16
+
1
17
  2024.01.19, v2.2.1
2
18
 
3
19
  feature:
@@ -2,11 +2,13 @@ import putout from 'putout';
2
2
  import convertESMToCommonjs from '@putout/plugin-convert-esm-to-commonjs';
3
3
  import putoutPlugin from '@putout/plugin-putout';
4
4
  import declare from '@putout/plugin-declare';
5
+ import declareBeforeReference from '@putout/plugin-declare-before-reference';
5
6
 
6
7
  export const prepareRule = (source) => {
7
8
  const {code} = putout(source, {
8
9
  plugins: [
9
10
  ['declare', declare],
11
+ ['declare-before-reference', declareBeforeReference],
10
12
  ['convert-esm-to-commonjs', convertESMToCommonjs],
11
13
  ['putout', putoutPlugin],
12
14
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "redput",
3
- "version": "2.2.1",
3
+ "version": "2.3.0",
4
4
  "description": "CLI tool to convert source from 🐊Putout Editor to files",
5
5
  "main": "lib/redput.js",
6
6
  "bin": {
@@ -58,10 +58,11 @@
58
58
  },
59
59
  "dependencies": {
60
60
  "@putout/plugin-convert-esm-to-commonjs": "^6.0.0",
61
- "@putout/plugin-declare": "^2.0.1",
62
- "@putout/plugin-nodejs": "^10.3.0",
63
- "@putout/plugin-putout": "^18.0.0",
64
- "@putout/plugin-remove-unused-variables": "^8.0.0",
61
+ "@putout/plugin-declare": "^3.0.0",
62
+ "@putout/plugin-declare-before-reference": "^3.0.0",
63
+ "@putout/plugin-nodejs": "^11.0.0",
64
+ "@putout/plugin-putout": "^19.1.0",
65
+ "@putout/plugin-remove-unused-variables": "^9.0.0",
65
66
  "node-fetch": "^3.3.2",
66
67
  "octokit": "^3.1.0",
67
68
  "putout": "^35.0.0",
@@ -70,16 +71,16 @@
70
71
  "try-to-catch": "^3.0.1"
71
72
  },
72
73
  "devDependencies": {
73
- "@putout/test": "^8.0.0",
74
+ "@putout/test": "^9.0.1",
74
75
  "c8": "^9.0.0",
75
76
  "escover": "^4.0.1",
76
77
  "eslint": "^8.0.0",
77
- "eslint-plugin-n": "^16.0.1",
78
+ "eslint-plugin-n": "^17.2.0",
78
79
  "eslint-plugin-putout": "^22.1.0",
79
80
  "madrun": "^10.0.0",
80
81
  "montag": "^1.2.1",
81
82
  "nodemon": "^3.0.1",
82
- "supertape": "^9.0.0"
83
+ "supertape": "^10.1.0"
83
84
  },
84
85
  "publishConfig": {
85
86
  "access": "public"