1.9.3 • Published 4 years ago

@figedi/ci-toolkit v1.9.3

Weekly downloads
2
License
SEE LICENSE IN li...
Repository
github
Last release
4 years ago

ci-toolkit

This tool is a small wrapper around standard-version to bump projects correctly (release-branches create pre-releases and master-branches create stable-releases)

Usage

Execute the module with npx. See available-commands for a list of supported commands npx @figedi/ci-toolkit:<version> <command> <path>

Available Commands

NameParametersIntention
npm-publish (1st arg)directory (2nd arg)npm publish with dist tag support.
bump (1st arg)directory (2nd arg)Changelog and git tag generation.

Supported env-variables

TICKET_PREFIX. This is optional and falls-back to SHTL. Example usage:

TICKET_PREFIX=DEV npx @figedi/ci-toolkit npm-publish /path/to/repository

TAG_PREFIX. This is optional and falls-back to v. Example usage:

TAG_PREFIX=reponame-v npx @figedi/ci-toolkit npm-publish /path/to/repository

Semantic Commit Messages

Breaking Changes:

You can create a breaking change with every message type. You just need to add one \n after your title of the commit message. This should normally be two new lines. If fixed its two new lines.


Message types

MessageNew VersionExample
chore:chore(build): add build script
docs:docs: added feature for xy SHTL-3122
feat:Minorfeat(commandClass): added new command SHTL-1233
fix:Patchfix(persisterClass): fixed headache SHTL-123123
refactor:refactor(main.ts): share logic between 4d3d3d3 and flarhgunnstow
style:style: fixed indendation
test:test(myClass): added unit tests for xyz

Branch-Management

Branchmasterreleasefix/chore/feature/feat/docs/test
Release Trackstablebetanone
Testsyesyesyes
Publish image/publish npmyesyesno