redput 1.9.0 → 1.10.1

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,14 @@
1
+ 2023.09.14, v1.10.1
2
+
3
+ feature:
4
+ - e3ccdee package: putout v32.0.1
5
+ - b70891d package: @putout/plugin-remove-unused-variables v7.0.0
6
+
7
+ 2023.09.05, v1.10.0
8
+
9
+ fix:
10
+ - 9ddd8c8 redput: fetch
11
+
1
12
  2023.08.30, v1.9.0
2
13
 
3
14
  feature:
package/README.md CHANGED
@@ -6,8 +6,8 @@
6
6
  [BuildStatusIMGURL]: https://github.com/putoutjs/redput/actions/workflows/nodejs.yml/badge.svg
7
7
  [LicenseURL]: https://tldrlegal.com/license/mit-license "MIT License"
8
8
  [LicenseIMGURL]: https://img.shields.io/badge/license-MIT-317BF9.svg?style=flat
9
- [CoverageURL]: https://coveralls.io/github/coderaiser/redput?branch=master
10
- [CoverageIMGURL]: https://coveralls.io/repos/coderaiser/redput/badge.svg?branch=master&service=github
9
+ [CoverageURL]: https://coveralls.io/github/putoutjs/redput?branch=master
10
+ [CoverageIMGURL]: https://coveralls.io/repos/putoutjs/redput/badge.svg?branch=master&service=github
11
11
 
12
12
  CLI tool to download source of a `rule` and `fixtures` from 🐊[**Putout Editor**](https://putout.cloudcmd.io/#/gist/33a75dce299788583a567e02f29828c8/7a97049f1c88ef9e3396d43b6a64246da0093670) and generate tests from it.
13
13
 
@@ -26,7 +26,7 @@ GITHUB_TOKEN=github-token redput [putout-editor-url]
26
26
  `redput` determines where it located and does one of next things:
27
27
 
28
28
  - if it finds `index.js` - creates rule inside nested plugin;
29
- - create directory with a plugin name and fiils `lib`, `test` and `fixture`;
29
+ - creates directory with a plugin name and fills directories `lib`, `test` and `fixture`;
30
30
 
31
31
  ## License
32
32
 
@@ -3,6 +3,8 @@ import fetch from 'node-fetch';
3
3
  export const create = ({token, Octokit}) => {
4
4
  return new Octokit({
5
5
  auth: token,
6
- fetch,
6
+ request: {
7
+ fetch,
8
+ },
7
9
  });
8
10
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "redput",
3
- "version": "1.9.0",
3
+ "version": "1.10.1",
4
4
  "description": "CLI tool to convert source from 🐊Putout Editor to files",
5
5
  "main": "lib/redput.js",
6
6
  "bin": {
@@ -60,10 +60,10 @@
60
60
  "@putout/plugin-convert-esm-to-commonjs": "^6.0.0",
61
61
  "@putout/plugin-declare": "^2.0.1",
62
62
  "@putout/plugin-putout": "^14.8.0",
63
- "@putout/plugin-remove-unused-variables": "^6.0.2",
63
+ "@putout/plugin-remove-unused-variables": "^7.0.0",
64
64
  "node-fetch": "^3.3.2",
65
65
  "octokit": "^3.1.0",
66
- "putout": "^31.1.0",
66
+ "putout": "^32.0.1",
67
67
  "rendy": "^3.1.1",
68
68
  "try-to-catch": "^3.0.1"
69
69
  },