redput 3.2.0 → 3.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,9 @@
1
+ 2025.05.08, v3.3.0
2
+
3
+ feature:
4
+ - e9285b6 redput: @putout/plugin-nodejs v16.1.0
5
+ - 0051886 redput: @putout/plugin-declare-before-reference v8.1.0
6
+
1
7
  2025.04.09, v3.2.0
2
8
 
3
9
  feature:
@@ -30,4 +30,3 @@ export const addRule = (name, source, ruleOptions) => {
30
30
 
31
31
  return code;
32
32
  };
33
-
@@ -43,7 +43,7 @@ export const writeNestedTests = async (name, report) => {
43
43
  name,
44
44
  nested,
45
45
  report,
46
- importPath: '.',
46
+ importPath: './index.js',
47
47
  }));
48
48
  };
49
49
 
@@ -14,4 +14,3 @@ export const prepareRule = (source) => {
14
14
 
15
15
  return code;
16
16
  };
17
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "redput",
3
- "version": "3.2.0",
3
+ "version": "3.3.0",
4
4
  "description": "CLI tool to convert source from 🐊Putout Editor to files",
5
5
  "main": "lib/redput.js",
6
6
  "bin": {
@@ -56,9 +56,9 @@
56
56
  },
57
57
  "dependencies": {
58
58
  "@putout/plugin-declare": "^5.0.0",
59
- "@putout/plugin-declare-before-reference": "^6.2.0",
59
+ "@putout/plugin-declare-before-reference": "^8.1.0",
60
60
  "@putout/plugin-esm": "^4.0.0",
61
- "@putout/plugin-nodejs": "^15.0.0",
61
+ "@putout/plugin-nodejs": "^16.1.0",
62
62
  "@putout/plugin-putout": "^25.0.0",
63
63
  "@putout/plugin-remove-unused-variables": "^12.0.0",
64
64
  "node-fetch": "^3.3.2",
@@ -1,7 +1,7 @@
1
- const {createTest} = require('@putout/test');
2
- const plugin = require('{{ importPath }}');
1
+ import {createTest} from '@putout/test';
2
+ import * as plugin from '{{ importPath }}';
3
3
 
4
- const test = createTest(__dirname, {
4
+ const test = createTest(import.meta.url, {
5
5
  plugins: [
6
6
  ['{{ name }}', plugin],
7
7
  ],