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 use
to 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 install
to install all the dependencies.
- Run
pnpm build
to build the package.
- Run
pnpm storybook
to start the storybook app in development mode. - Open http://localhost:6006/ to view it in the browser.
- Run
pnpm storybook:docs
to start the storybook docs in development mode. - Open http://localhost:6007/ to view it in the browser.
- Run
pnpm storybook:build
to build the storybook app for production.
- Run
pnpm storybook:build:docs
to build the storybook docs for production.
- Run
pnpm preview
to build the storybook app for production.
- Run
pnpm preview:docs
to build the storybook docs for production.
- Run
pnpm test:coverage
to generate the code coverage report.
- Run
pnpm test
to run the tests.
- Run
pnpm test:watch
to 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 changeset
after 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 login
command(If you are not logged in). - Run
pnpm changeset
to create a changeset for the package. - Run
pnpm version
to bump the version of the package. - Run
pnpm release
to publish the package to npm. - After that push the changes to the remote repository using this
git push --follow-tags
command.
- Run
npx @eslint/migrate-config .eslintrc.cjs
to migrate the eslint to v9. for more information click here