Skip to content

Commit 6ec99e3

Browse files
authoredJan 14, 2020
More friendly README
2 parents bcc5b1d + 2b214db commit 6ec99e3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

‎README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -40,27 +40,27 @@ According to the instruction, we need to authenticate to the GitHub Packages wit
4040

4141
1. Create a personal access token
4242

43-
Follow personal "Settings" -> "Developer settings" -> "Personal access tokens" -> "Generate new token" path, the "Select scopes" must select "repo" and "read:packages" at least.
43+
Follow personal ["Settings" -> "Developer settings" -> "Personal access tokens" -> "Generate new token"](https://github.com/settings/tokens/new) path, the "Select scopes" must select "repo" and "read:packages" at least.
4444

45-
1. Edit the ~/.npmrc, add a new line by the following content
45+
1. Edit `~/.npmrc`, add a new line by the following content
4646

4747
```
4848
//npm.pkg.github.com/:_authToken=[YOUR_PERSONAL_ACCESS_TOKEN]
4949
```
5050

51-
1. Create or edit another .npmrc inside your project folder, in the same directory as the `package.json`, to include the following line specifying GitHub Packages and the account owner
51+
1. For project owner: Create or edit `.npmrc` **inside your project folder**, in the same directory as the `package.json`, to include the following line specifying GitHub Packages and the account owner
5252

5353
```
5454
registry=https://npm.pkg.github.com/pingcap-incubator
5555
```
5656

57-
If you use yarn, create .yarnrc instead of the .npmrc, fill with following content:
57+
If you use yarn, create `.yarnrc` instead of the `.npmrc`, fill with following content:
5858

5959
```
6060
"@pingcap-incubator:registry" "https://npm.pkg.github.com"
6161
```
6262

63-
1. Install the @pingcap-incubator/pd-client-js for your project
63+
1. For project owner: Install the `@pingcap-incubator/pd-client-js` for your project
6464

6565
```sh
6666
$ npm install @pingcap-incubator/pd-client-js

0 commit comments

Comments
 (0)
Please sign in to comment.