File tree Expand file tree Collapse file tree 1 file changed +9
-25
lines changed Expand file tree Collapse file tree 1 file changed +9
-25
lines changed Original file line number Diff line number Diff line change 8
8
library that provides programmatic access to the guts of the npm CLI's `npm
9
9
team` command and its various subcommands.
10
10
11
- ## Example
12
-
13
- ``` javascript
14
- const team = require (' libnpmteam' )
15
-
16
- // List all teams for the @npm org.
17
- console .log (await team .lsTeams (' npm' ))
18
- ```
19
-
20
- ## Publishing
21
- 1 . Manually create CHANGELOG.md file
22
- 1 . Commit changes to CHANGELOG.md
23
- ``` bash
24
- $ git commit -m " chore: updated CHANGELOG.md"
25
- ```
26
- 1. Run ` npm version {newVersion}`
27
- ` ` ` bash
28
- # Example
29
- $ npm version patch
30
- # 1. Runs `coverage` and `lint` scripts
31
- # 2. Bumps package version; and **create commit/tag**
32
- # 3. Runs `npm publish`; publishing directory with **unpushed commit**
33
- # 4. Runs `git push origin --follow-tags`
34
- ` ` `
35
-
36
11
## Table of Contents
37
12
38
13
* [ Installing] ( #install )
@@ -52,6 +27,15 @@ console.log(await team.lsTeams('npm'))
52
27
53
28
` $ npm install libnpmteam `
54
29
30
+ ### Example
31
+
32
+ ``` javascript
33
+ const team = require (' libnpmteam' )
34
+
35
+ // List all teams for the @npm org.
36
+ console .log (await team .lsTeams (' npm' ))
37
+ ```
38
+
55
39
### API
56
40
57
41
#### <a name =" opts " ></a > ` opts ` for ` libnpmteam ` commands
You can’t perform that action at this time.
0 commit comments