Skip to content

Commit 2dbd453

Browse files
committed
Rename package
1 parent ba4916e commit 2dbd453

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
# open-pr
1+
# create-pull-request
22

3-
open-pr is a CLI that allows you to open the URL to create a pull request pointing to the base branch in Github.
3+
create-pull-request is a CLI that allows you to open the URL to create a pull request pointing to the base branch in Github.
44

55
## Installation
66

7-
Use npm or yarn to install open-pr.
7+
Use npm or yarn to install create-pull-request.
88

99
```bash
1010
# npm
11-
npm install @dannyfeliz/open-pr --global
11+
npm install create-pull-request --global
1212

1313
# yarn
14-
yarn add @dannyfeliz/open-pr --global
14+
yarn add create-pull-request --global
1515
```
1616

1717
## Usage
1818

1919
```
2020
// in the terminal in your project folder
21-
open-pr
21+
create-pull-request
2222
```
2323

2424
It will open an URL to create a new pull request pointing to the base branch.
2525

2626
e.g.
27-
if you have the `linux` project and you're working in a cool feature like `my-cool-feature` and the project origin url is `[email protected]:torvalds/linux.git` if you run `open-pr` it will open this URL
27+
if you have the `linux` project and you're working in a cool feature like `my-cool-feature` and the project origin url is `[email protected]:torvalds/linux.git` if you run `create-pull-request` it will open this URL
2828

2929
```bash
3030
https://github.com/torvalds/linux/compare/my-cool-feature?expand=1
File renamed without changes.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@dannyfeliz/open-pr",
2+
"name": "create-pull-request",
33
"version": "1.0.0",
44
"description": "Allow to open the URL to create a pull request pointing to the base branch",
55
"keywords": [
@@ -21,9 +21,9 @@
2121
"node": ">=8"
2222
},
2323
"files": [
24-
"open-pr.js"
24+
"create-pull-request.js"
2525
],
2626
"bin": {
27-
"open-pr": "./script.js"
27+
"create-pull-request": "./script.js"
2828
}
2929
}

0 commit comments

Comments
 (0)