Skip to content
This repository was archived by the owner on Jan 19, 2022. It is now read-only.

Commit a3d9380

Browse files
author
Michael Perrotte
committedFeb 27, 2020
docs: updated README with publish instructions
1 parent 938c8a4 commit a3d9380

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
 

‎README.md

+16
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,22 @@ const access = require('libnpmteam')
1818
console.log(await team.lsTeams('npm'))
1919
```
2020

21+
## Publishing
22+
1. Manually create CHANGELOG.md file
23+
1. Commit changes to CHANGELOG.md
24+
```bash
25+
$ git commit -m "chore: updated CHANGELOG.md"
26+
```
27+
1. Run `npm version {newVersion}`
28+
```bash
29+
# Example
30+
$ npm version patch
31+
# 1. Runs `coverage` and `lint` scripts
32+
# 2. Bumps package version; and **create commit/tag**
33+
# 3. Runs `npm publish`; publishing directory with **unpushed commit**
34+
# 4. Runs `git push origin --follow-tags`
35+
```
36+
2137
## Table of Contents
2238

2339
* [Installing](#install)

0 commit comments

Comments
 (0)
This repository has been archived.