Skip to content

Commit

Permalink
Update dependencies (#1)
Browse files Browse the repository at this point in the history
* update dependencies

* bump version

* update release instructions

* update library name and link
  • Loading branch information
maloky authored Jul 19, 2019
1 parent fa7b5b8 commit 80d433f
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 54 deletions.
27 changes: 27 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Release instructions

These are the minimum required steps to publish the statful javascript client on npm.
Must be executed in the following order

## Locally
1. ```npm run test```
2. update version in package.json

## GitHub

### Pull Request
1. create a new pull request
2. merge pull request by selecting "squash and merge" from the dropdown selector

### New Release
1. click in the "draft new release" button on repo homepage
2. insert the version as it is in package.json
3. Add a necessary summary for the current release (optional)
4. click the "Publish Release" button

## NPM

1. login into npm in a terminal window ```npm login```
2. run ```npm publish```

Check the [statful-middleware-koa](https://www.npmjs.com/package/statful-middleware-koa) on NPM to verify that the newly created version is available.
83 changes: 30 additions & 53 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "statful-middleware-koa",
"version": "1.0.2",
"version": "1.0.3",
"description": "Koa middleware to automatically register Statful metrics.",
"main": "./src/index.js",
"scripts": {
Expand Down

0 comments on commit 80d433f

Please sign in to comment.