Skip to content

Commit

Permalink
chore(npm): publish to next channel by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrowhurstram committed Dec 31, 2016
1 parent cac6e50 commit b49593c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,24 @@ to fully automate publishing library updates to npm.

All you need to do is ensure you follow the [contributing](CONTRIBUTING.md) guidelines.

### NPM dist-tags

By default this new package version will be published with a [dist-tag](https://docs.npmjs.com/cli/dist-tag#purpose) of `next`

Implications:

* To install this version: `npm install ng-table@next --save`
* To make this version available via `npm install ng-table --save`, a dist-tag of `latest` must be manually added (see steps below)

#### Adding the `latest` dist-tag

1. Open a command line
2. Change directory: `cd path/to/ng-table`
3. Login: `npm adduser`
4. Add dist-tag: `npm dist-tag add [email protected] latest`
* where `n.n.n` is the version of the package that you now want to make the latest


## Documentation

To publish updates to the library documentation site:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}
},
"publishConfig": {
"tag": "latest"
"tag": "next"
},
"devDependencies": {
"@types/angular-mocks": "^1.5.4",
Expand Down

0 comments on commit b49593c

Please sign in to comment.