Skip to content

Commit 4db2bf1

Browse files
authored
1.0.0-beta.4 (#429)
* bump version * update how to * update how to * update package-lock
1 parent f6cc2db commit 4db2bf1

File tree

3 files changed

+1362
-6922
lines changed

3 files changed

+1362
-6922
lines changed

HOW_TO_PUBLISH.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# How to publish
2+
3+
```bash
4+
nvm use
5+
6+
git checkout master
7+
8+
git pull
9+
10+
npm i
11+
12+
npm run test:all
13+
```
14+
15+
- Bump the version in the package.json file
16+
17+
- Create a branch with the name of the new version number e.g.: `git checkout -b 1.0.0-beta.4`
18+
19+
```bash
20+
git add .
21+
22+
git commit -m 'bump version'
23+
24+
git push
25+
```
26+
27+
- Once the PR is merged then `git checkout master` and `git pull`
28+
29+
- Uncomment the first line of the `.npmrc` file and comment the second line
30+
31+
- Then publish the package using the following command: `NPM_TOKEN=${NPM_TOKEN} npm publish`
32+
33+
> N.B.: you need to replace `${NPM_TOKEN}` with a valid npm token

0 commit comments

Comments
 (0)