npm-ci-demo
v1.0.0
Published
an exercise about continuous delivery of npm module
Downloads
5
Readme
NPM CI Demo
This is an exercise about continuous delivery of NPM library or software.
Terms
By Semantic Versioning 2.0.0, a version number is in format of MAJOR.MINOR.PATCH. However, by semantic-release, they are also called Breaking, Feature and Patch.
Preparation
The following tools are used in our exercise:
- git
- npm
- semantic-release
may be installed bynpm install -g semantic-release
You should have all these tools installed before doing exercise. And, you should have accounts on:
Start Up
Create a new repository on github.com, then clone it into your local store:
# Suppose the repository is YounGoat/npm-ci-demo git clone https://github.com/YounGoat/npm-ci-demo.git
Initiate the repository's root direction as an NPM project.
cd npm-ci-demo npm init # Then to fill out as prompted.
... to be continued ...
References
tools, protocols and standards:
- Semantic Versioning 2.0.0
- Sentimental Versioning, Version One dot Oh, Erm...
- npm-dist-tag, Modify package distribution tags
- semantic-release
- semantic-release-cli
- AngularJS Git Commit Message Conventions
others: