@shelf/gh-sdk
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -17,3 +17,3 @@ "use strict"; | ||
const gh = (0, _restClient.getClient)(); | ||
const branchName = `release/v${version}`; | ||
const branchName = `refs/heads/release/v${version}`; | ||
const { | ||
@@ -20,0 +20,0 @@ data |
{ | ||
"name": "@shelf/gh-sdk", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Convenient wrapper for GitHub API for automation tasks", | ||
@@ -60,7 +60,7 @@ "license": "MIT", | ||
"@types/node": "12.12.31", | ||
"babel-jest": "25.2.3", | ||
"babel-jest": "25.2.4", | ||
"eslint": "6.8.0", | ||
"husky": "4.2.3", | ||
"jest": "25.2.3", | ||
"lint-staged": "10.0.9", | ||
"jest": "25.2.4", | ||
"lint-staged": "10.0.10", | ||
"prettier": "2.0.2", | ||
@@ -67,0 +67,0 @@ "typescript": "3.8.3" |
@@ -25,3 +25,3 @@ # gh-sdk [![CircleCI](https://circleci.com/gh/shelfio/gh-sdk/tree/master.svg?style=svg)](https://circleci.com/gh/shelfio/gh-sdk/tree/master)![](https://img.shields.io/badge/code_style-prettier-ff69b4.svg) | ||
deleteBranch({owner: 'shelf', repo: 'api', ref: 'dev'}); | ||
createReleaseBranch({owner:'shelf', repo: 'api', version: '1.2.3', sha: 'dev'}) // => ref 'release/v1.2.3` | ||
createReleaseBranch({owner:'shelf', repo: 'api', version: '1.2.3', sha: 'dev'}) // => ref 'refs/heads/release/v1.2.3` (refs/heads - for git link) | ||
createReleasePR({owner:'shelf', repo: 'api', version: '1.2.3', releaseTitle: 'Good stuff'}) //=> ref: 'release/v1.2.3`, title: Release v1.2.3: Good stuff | ||
@@ -33,4 +33,11 @@ getLatestBranchCommit({owner: 'shelf', repo: 'api', branch: 'dev'}); | ||
## Publish | ||
```sh | ||
$ yarn version | ||
$ yarn publish | ||
``` | ||
## License | ||
MIT © [Shelf](https://shelf.io) |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
16104
42