JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 89
  • Score
    100M100P100Q68152F
  • License MIT

Simple semantic-release shareable config to publish npm packages

Package Exports

  • simple-semantic-config

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (simple-semantic-config) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

simple-semantic-config

semantic-release shareable config to publish npm packages with simple commit rules

Build Status

Why this project exists

This is a shareable config to publish npm packages with simple commit rules bases on angular preset of commit-analyzer plugin with following change: docs, chore and refactor commit types yield patch version. Thus pretty much any correctly formatted commit message yields new version.

Install

$ yarn add --dev "artemv/simple-semantic-config"

Usage

The shareable config can be configured in the semantic-release configuration file:

{
  "extends": "simple-semantic-config"
}

semantic-release-pre.sh

Figures out new version according to semantic-release configuration, and writes it to build/.version file

Example: yarn simple-semantic-release-pre

OR

ALLOW_FAILING=false BRANCH=development yarn simple-semantic-release-pre

OR

OUT_DIR=tmp yarn simple-semantic-release-pre