Skip to content
bjsion edited this page Feb 23, 2022 · 2 revisions

Welcome to the drinks-calculator wiki!

Steps to Checkout code:

From your terminal do the following:

git fetch --all --prune
git pull --rebase

Steps to Update dependencies:

From your terminal do the following:

  1. Upgrade NPM if necessary

npm install -g npm@latest

  1. Fix any security issues if necessary

npm audit fix

  1. Find any obsolete dependencies:

npm outdated

  1. Update dependencies

npm update

Release Procedure:

Once you are ready to make a release do the following.

  1. Ensure master branch is built successfully
  2. Bump the package version and tag the release (use major|minor|patch):
npm version patch 
  1. Push the change to Git
  2. Create a new release:
  3. Go to https://github.com/paneco/drinks-calculator/releases
  4. Click "Draft New Release"
  5. Select tag e.g. "v1.0.3"
  6. Publish the release
Clone this wiki locally