### Install

Add `.nmprc` file with following content into the root directory of your project:

```
registry = https://artifacts.apollo.stream/repository/npm-group/
``` 

#### Yarn

* run ```yarn add frontend-shared-theme@1.0.1```

#### NPM 

* run ```npm install frontend-shared-theme@1.0.1```

#### package.json

* add ```"frontend-shared-theme": "1.0.1"```

### First release

* `git init`

* `git remote add origin git@github.com:filter/frontend-shared-theme.git`

* `git add .`

* `git commit -m "Initial"`

After commit

* `git tag -a v1.0.0 -m "Description of the release..."`

* `git push --set-upstream origin master`

* `git push --tags`

### Upgrade repository

* Do some changes

* `git add .`

* `git commit -m "Description of commit: e.g. Add colors"`

* After the commit create a new tag with a new version [Git-Basics-Tagging](https://git-scm.com/book/en/v2/Git-Basics-Tagging)

* `npm version patch` to increment the app version and add a new tag automatically or update package.json manually 
  but manual update will enforce you to create a new tag by yourself
  
  * If you didn't use `npm version patch` then run → 
  * `git tag -a v1.0.1 -m "Description of changes in the release...`

* `git push && git push --tags`
