![Node.js CI](https://github.com/duda-co/duda-ui/workflows/Node.js%20CI/badge.svg)
![npm](https://img.shields.io/npm/v/@dudadev/duda-ui)
![npm](https://img.shields.io/npm/dw/@dudadev/duda-ui)
![Snyk Vulnerabilities for npm package](https://img.shields.io/snyk/vulnerabilities/npm/@dudadev/duda-ui)

# The Duda UI Catalog

## Storybook
https://duda-co.github.io/duda-ui/

## Installation

Run the following command:
`npm install @dudadev/duda-ui`

## Development

-   Run `npm install`
-   Run `npm run storybook`

## Development
-   Start by adding a story (can copy from `ExampleStory`)

Use `npm run commit` (alternatives: [IntelliJ plugin](https://plugins.jetbrains.com/plugin/9861-git-commit-template) or [VS Code plugin](https://marketplace.visualstudio.com/items?itemName=KnisterPeter.vscode-commitizen)) to commit your changes

### Publishing

Releases are managed by [semantic-release](https://github.com/semantic-release/semantic-release).

Semantic-release is a tool that parses commit messages to progress semantic versions automatically.

Once you're ready to commit, use `npm run commit` to open a wizard to help you build a semantic commit message.

Alternatively, you can use the [IntelliJ plugin](https://plugins.jetbrains.com/plugin/9861-git-commit-template) or [VS Code plugin](https://marketplace.visualstudio.com/items?itemName=KnisterPeter.vscode-commitizen)

When pushed to master, the build will run and publish a new version.
