grep-components
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

Komponentbibliotek

npm package Test

Komponentbibliotek for Grep. Brukes i Læreplanutvikleren og Grepadmin.

Storybook

Installation

npm i grep-components

Features

Publishing

Pushing to master or any feature-branch (feature/some-feature) will automatically run the release-workflow. This will build the package, analyze the commits to determine next version number and publish the new version to NPM and Github. Current and previous runs can be seen here.

Semantic-release will determine the next version number by looking at the commit message prefix:

Prefix Release type Example commit message
'BREAKING CHANGE: ' in commit message footer Major release revert: Reverting some changes

BREAKING CHANGE: this revert will break something
feat Minor release feat: Some minor changes
fix, perf, revert, refactor, build/chore(deps*) Patch release fix: Some fixes

If a commit contains none of these, then no release will be created / published.

The release-workflow can also be manually triggered from here, but will still only release if there is a commit with a valid prefix.

Important

  • Feature-branches have to start with feature/ to be included in the release-workflow. Example: feature/some-feature
  • Published versions from a valid feature-branch will get the branch-name, excluding the feature/ part, as a dist-tag in NPM. Example: feature/some-feature on version 0.18.0 will become 0.18.0-some-feature.1 and can be installed by running npm i grep-components@some-feature

Readme

Keywords

none

Package Sidebar

Install

npm i grep-components

Weekly Downloads

1,069

Version

2.1.0

License

none

Unpacked Size

2 MB

Total Files

149

Last publish

Collaborators

  • oddvarno
  • unehaga
  • arindal