Reusable react ui components with build on top of Tailwind CSS and Shadcn UI. In this package, We customize the Tailwind CSS and Shadcn UI to make it more user-friendly and easy to use.
- If you are using nvm, run
nvm useto use the correct node version. - If you are not using nvm, make sure you are using node version
v20.12.2. You can check your node version by runningnode -v.
- Run
pnpm installto install all the dependencies.
- Run
pnpm buildto build the package.
- Run
pnpm storybookto start the storybook app in development mode. - Open http://localhost:6006/ to view it in the browser.
- Run
pnpm storybook:docsto start the storybook docs in development mode. - Open http://localhost:6007/ to view it in the browser.
- Run
pnpm storybook:buildto build the storybook app for production.
- Run
pnpm storybook:build:docsto build the storybook docs for production.
- Run
pnpm previewto build the storybook app for production.
- Run
pnpm preview:docsto build the storybook docs for production.
- Run
pnpm test:coverageto generate the code coverage report.
- Run
pnpm testto run the tests.
- Run
pnpm test:watchto run the tests in watch mode.
Once you are ready to publish the package, then run below command in the terminal, it will create a changeset for the package. you have select the package which you want to publish.
pnpm changesetafter the above command, commit the changes and push the changes to the remote repository. So that the CI/CD pipeline will publish the package to npm registry.
- First login to npm using
npm logincommand(If you are not logged in). - Run
pnpm changesetto create a changeset for the package. - Run
pnpm versionto bump the version of the package. - Run
pnpm releaseto publish the package to npm. - After that push the changes to the remote repository using this
git push --follow-tagscommand.
- Run
npx @eslint/migrate-config .eslintrc.cjsto migrate the eslint to v9. for more information click here