npm-ci-demo

an exercise about continuous delivery of npm module

Usage no npm install needed!

<script type="module">
  import npmCiDemo from 'https://cdn.skypack.dev/npm-ci-demo';
</script>

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 by npm install -g semantic-release

You should have all these tools installed before doing exercise. And, you should have accounts on:

Start Up

  1. 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
    
  2. Initiate the repository's root direction as an NPM project.

    cd npm-ci-demo
    npm init
    # Then to fill out as prompted.
    
  3. ... to be continued ...

References

tools, protocols and standards:

others: