@sandercokart/frontend-react-components
v0.0.4
Published
React components for Innosend frontend
Downloads
5
Maintainers
Readme
Innosend Frontend React Components
Installation
pnpm add @innosend/frontend-react-components
Usage
import { Button } from '@innosend/frontend-react-components'
Development
We use pnpm which by default does not run pre- and post-scripts, first enable it using:
pnpm config set enable-pre-post-scripts true
Then install dependencies:
pnpm install
To run the storybook:
pnpm storybook
To build with tsup
pnpm build
Publishing
We streamline this process with a cli tool called @changesets/cli
.
To create a new change:
pnpm changeset
This creates a markdown file in the .changeset
folder. You can edit this file to add more information about the change.
To add it to the changelog and update the package.json
version:
pnpm changeset version
To publish the package:
pnpm changeset publish