clear-branches
Advanced tools
Comparing version 0.0.4 to 0.0.5
{ | ||
"name": "clear-branches", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "productivity and easy way to clear your local branches", | ||
@@ -9,4 +9,5 @@ "main": "clearBranches.js", | ||
"license": "MIT", | ||
"bin": "./clearBranches.js", | ||
"scripts": { | ||
"postinstall": "node ./clearBranches.js ." | ||
"clear-branches": "node ./clearBranches.js" | ||
}, | ||
@@ -13,0 +14,0 @@ "preferGlobal": true, |
@@ -1,13 +0,33 @@ | ||
# clear-branches | ||
Productivy and easy way to clear your local branches | ||
# Clear Branches | ||
Productivy and easy way to clear your local branches *(This library is not finished yet, it isn't working well)* | ||
## WIP | ||
- [x] Setup to run using `clear-branches` or `npx clear-branches` | ||
- [ ] Setup to run cross environment (unix or windows) platforms, [shelljs](https://github.com/shelljs/shelljs) could be a good solution | ||
- [ ] Code improvement, it's a messy today, sorry. | ||
- [ ] Security improvement using Deno. | ||
## Getting started | ||
## Peer dependency | ||
#### Peer dependency | ||
- Node equal or greater than `v14` | ||
#### Install | ||
**yarn:** `$ yarn global add clear-branches` | ||
**npm:** `$ npm i -g clear-branches` | ||
#### Install and Run | ||
**yarn:** | ||
```shell | ||
$ yarn global add clear-branches | ||
``` | ||
**npm:** | ||
```shell | ||
$ npm i -g clear-branches | ||
``` | ||
If you don't want to install globaly, you can just execute into your git project: | ||
```shell | ||
$ npx clear-branches | ||
``` | ||
#### Usage | ||
@@ -14,0 +34,0 @@ |
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
4245
41
0