0.3.1 • Published 2 years ago

@gkide/standard-release v0.3.1

Weekly downloads
2
License
GPL-3.0-or-later
Repository
github
Last release
2 years ago

standard-release

node-min-version npm-version top-language-rate languages-count code-size downloads-count open-issues open-pull-requests

Commits Message Checking Rules

It is recommended to follow Conventional Commits to make the commits message human and machine readable! More details about the default rules used by standard-release can be found here

Commit Message Format

type(optional-scope): description

optional-body

optional-footer

The default type

typeChangelog GroupSkip CheckingDescription
majorIncompatiblefalseBump MAJOR, incompatible
breakIncompatiblefalseBump MAJOR, incompatible
breakingIncompatiblefalseBump MAJOR, incompatible
securitySecurityfalseBump MAJOR, incompatible
deprecatedDeprecatedfalseBump MAJOR, incompatible
minorFeaturesfalseBump MINOR, backwards-compatible
featFeaturesfalseBump MINOR, backwards-compatible
featureFeaturesfalseBump MINOR, backwards-compatible
patchFixedfalseBump PATCH, bug fixes
fixFixedfalseBump PATCH, bug fixes
bugfixFixedfalseBump PATCH, bug fixes
perfChangedfalseImproves performance
revertChangedfalseReverts commit
refactorChangedfalseno bugfix or new feature
wipPreviewfalseWork In Process(WIP) or Perview
todoPreviewfalseWork In Process(WIP) or Perview
previewPreviewfalseWork In Process(WIP) or Perview
buildDependenciesfalseUpdate build system
depsDependenciesfalseUpdate dependencies
ciNONEfalseUpdate CI configuration
docsNONEfalseUpdate documentation
testNONEfalseUpdate tests
styleNONEfalseCoding style
choreNONEfalseOther changes
srscNONEtrueNOT checking commit message
skipNONEtrueNOT checking commit message
initNONEtrueNOT checking commit message

optional-scope, description and optional-body

  • optional-scope is one word, no space of any thing, short is good
  • description can be any thing, no long then 80 chars by default
  • optional-body can be any thing

optional-footer

  • Examples for footer without trace number
[CLOSE] fix something ...

[KNOWN ISSUE] some know issues ...

[BREAKING CHANGES] this commit do breaking changes ...
  • Examples for footer with trace number
[CLOSE#123] fix something ...

[KNOWN ISSUE#58] some know issues ...

[BREAKING CHANGES#ab15a9b] this commit do breaking changes ...

Changelog Updating

An example of generated changelog is CHANGELOG.md

Customization

standard-release -i will generated .standard-release directory, which contains customized rules for message checking and changelog generating.

Generated CHANGELOG.md at the repo root directory with default logs The spec.*.js are example files, modify & rename to *.js make it enable.

  • spec.changelog.js contains rules for changelog updating
  • spec.commit.js contains rules for commit message style checking
  • spec.semver.js the same as -X, -Y, -Z, -P and -B, but cmd-line args have high priority

Developer who want to contribution

  • package.json specification for newer to JS
  • $ npm link . for local dev & preview
  • $ npm test or $ npm run test run all tests
  • $ npm run xxx run xxx test, see package.json scripts filed for details

Recommendation

It is recommendate to use standard-release together with githooks

0.3.1

2 years ago

0.3.0

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.3-rc.1

4 years ago

0.1.3-0

4 years ago

0.1.2

5 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago