# tsi-component-library

> ![build](https://github.com/niusoff/tsi-components/workflows/build/badge.svg?branch=main)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)&nbsp;[![latest](https://img.shie

Latest version **6.0.0** (published 2021-01-26) · ISC license · 0 weekly downloads

## Install

```sh
npm install tsi-component-library
pnpm add tsi-component-library
yarn add tsi-component-library
bun add tsi-component-library
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 6.0.0 |
| Published | 2021-01-26 |
| First published | 2021-01-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 10.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | leothedog |

## Links

- npm: https://www.npmjs.com/package/tsi-component-library
- npm.io page: https://npm.io/package/tsi-component-library

## Dependencies (3)

- [react](https://npm.io/package/react.md) ^17.0.1
- [react-dom](https://npm.io/package/react-dom.md) ^17.0.1
- [tsiclient](https://npm.io/package/tsiclient.md) ^1.4.8

## Recent versions

- 6.0.0 (latest) — 2021-01-26
- 6.1.0-beta.2 (beta) — 2021-02-02
- 6.0.2 (next) — 2021-02-01
- 6.1.0-beta.1 — 2021-02-02
- 6.0.1 — 2021-01-27
- 6.0.1-beta.1 — 2021-01-27
- 6.0.0-beta.3 — 2021-01-26
- 6.0.0-beta.2 — 2021-01-26
- 6.0.0-beta.1 — 2021-01-26
- 5.0.1-beta.1 — 2021-01-26
- 4.0.0-beta.6 — 2021-01-26
- 5.0.0 — 2021-01-26
- 4.0.0-beta.5 — 2021-01-26
- 4.0.0-beta.4 — 2021-01-25
- 4.0.0-beta.3 — 2021-01-25
- … 16 more at https://npm.io/package/tsi-component-library/versions

## README

![build](https://github.com/niusoff/tsi-components/workflows/build/badge.svg?branch=main)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)&nbsp;[![latest](https://img.shields.io/npm/v/tsi-component-library/latest)](https://www.npmjs.com/package/tsi-component-library)&nbsp;[![beta](https://img.shields.io/npm/v/tsi-component-library/beta)](https://www.npmjs.com/package/tsi-component-library)&nbsp;

## Merge guidelines
### Main branch @beta
All pull requests merged into the `main` branch should be done so using a **squash and merge** commit.  If you're the contributor who approves the squash and merge, be sure to author a commit message using these [these guidelines](https://www.conventionalcommits.org/en/v1.0.0/#summary).  The merge message will be parsed in order to determine the next semantic version.

Each squash and merge commit message will represent one change in the release notes. &nbsp; `<type>(optional scope): <description>`

#### `<type>`
These types will bump the semantic version

- `fix:` Patches a bug in your codebase (this correlates with `PATCH` in semantic versioning).
- `feat:` Introduces a new feature to the codebase (this correlates with `MINOR` in semantic versioning).
- `perf:`: A code change that improves performance (this correlates with `PATCH` in semantic versioning).
- `!`: Appending an ! after the type/scope, introduces a breaking API change (correlating with `MAJOR` in semantic versioning). A BREAKING CHANGE can be part of commits of any type.

*Note: If the type is `feat`, `fix` or `perf`, the semantic version will change. BREAKING CHANGES denoted by any type followed by `!` will result in a major version bump.*

These types will not change the semantic version, but will be included in the release notes of the next semantic version change.

- `chore:` Changes to the build process or auxiliary tools and libraries such as documentation generation
- `docs:` Documentation only changes
- `style:` Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
- `refactor:` A code change that neither fixes a bug nor adds a feature
- `test:` Adding missing or correcting existing tests

#### `(optional scope)`
A scope may be provided to a commit’s type, to provide additional contextual information and is contained within parenthesis, e.g., feat(parser): add ability to parse arrays. The scope could be anything specifying place of the commit change. For example `tools`,
`adapters`, `Linechart`, `Models`, etc...

#### `<description>`
Contains succinct description of the change:

* use the imperative, present tense: "change" not "changed" nor "changes"
* don't capitalize first letter
* no dot (.) at the end

### Release branch @latest
All releases should be triggered by opening a pull request from `main` into `release`.  Releases should use traditional merge commits (**not** squash and merge).  This will ensure the semantic version number for the release is automatically determined based on the previously squashed commits merged into `main`.

## Recommended VS Code extensions
We recommend you install the following vs-code extensions to streamline the code quality and linting process.
|Name|Purpose|
|----|-------|
|Prettier - Code formatter| Enforces a [consistent style](https://prettier.io/docs/en/why-prettier.html) by parsing your code and re-printing it. To ensure that this extension is used over other extensions you may have installed, be sure to set it as the [default formatter](https://github.com/prettier/prettier-vscode#default-formatter) in your VS Code settings. This setting can be set for all languages or by a specific language. To allow for auto-linting on file save, you must have the default formatter set as `prettier-vscode` and have `Editor: format on save` checked.  These settings can be changed in your VS Code preferences. A JavaScript comment of `// prettier-ignore || {/* prettier-ignore */} || <!-- prettier-ignore --> || /* prettier-ignore */` will exclude the next node in the abstract syntax tree from formatting.|
|ESLint| Integrates ESLint into VS Code. If you are new to ESLint check the [documentation](https://eslint.org/).|
|stylelint| A Visual Studio Code extension to lint CSS/SCSS/Less with [stylelint](https://stylelint.io/)|

## Important NPM commands
|Command (prefix with `npm run`)|Effect|
|----|-------|
|`build`|Bundles library with rollup.js|
|`storybook`|Starts Storybook UI component explorer|
|`test`| Run jest test suite|
|`test:watch`| Run tests in hot-reloading *watch* mode|
|`lint`| Formats code to conform to *prettier* and *stylelint* format|
|`lint:check`| Checks for *eslint*, *prettier*, and *stylelint* formatting errors/warnings.|
|`generate [componentName]`| Creates template files for new component named [componentName] |

---
_Source: https://npm.io/package/tsi-component-library · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
