redput 1.0.0 β†’ 1.0.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 ADDED
@@ -0,0 +1,4 @@
1
+ 2023.08.02, v1.0.1
2
+
3
+ feature:
4
+ - 41b83f5 redput: node v16 support: fetch
package/README.md CHANGED
@@ -2,14 +2,14 @@
2
2
 
3
3
  [NPMURL]: https://npmjs.org/package/redput "npm"
4
4
  [NPMIMGURL]: https://img.shields.io/npm/v/redput.svg?style=flat
5
- [BuildStatusURL]: https://github.com/coderaiser/redput/actions?query=workflow%3A%22Node+CI%22 "Build Status"
6
- [BuildStatusIMGURL]: https://github.com/coderaiser/redput/workflows/Node%20CI/badge.svg
5
+ [BuildStatusURL]: https://github.com/putoutjs/redput/actions/workflows/nodejs.yml "Build Status"
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
9
  [CoverageURL]: https://coveralls.io/github/coderaiser/redput?branch=master
10
10
  [CoverageIMGURL]: https://coveralls.io/repos/coderaiser/redput/badge.svg?branch=master&service=github
11
11
 
12
- CLI tool to download rule and fixture from 🐊**Putout Editor**.
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
 
14
14
  ## Install
15
15
 
@@ -1,5 +1,8 @@
1
+ import fetch from 'node-fetch';
2
+
1
3
  export const create = ({token, Octokit}) => {
2
4
  return new Octokit({
3
5
  auth: token,
6
+ fetch,
4
7
  });
5
8
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "redput",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "CLI tool to convert source from 🐊Putout Editor to files",
5
5
  "main": "lib/redput.js",
6
6
  "bin": {
@@ -55,6 +55,7 @@
55
55
  "node": ">=16"
56
56
  },
57
57
  "dependencies": {
58
+ "node-fetch": "^3.3.2",
58
59
  "octokit": "^3.1.0",
59
60
  "putout": "^30.7.0",
60
61
  "rendy": "^3.1.1",