### Storybook
npm install @progressteaching/lightning-componentsRun in terminal:
``bash`
npm run storybook
To Build the library, run:
`bash`
npm run build
This command creates a folder in root directory called lib. This folder is used as distribute folder for components.
To publish the library to npm, run:
`bash`
npm publish
Please only use components from the following places only (in the following order):
- TailwindUI (https://tailwindui.com/components)
- Shadcn (https://ui.shadcn.com/)
- Flowbite (https://flowbite.com/)
- NextUI (https://nextui.org/docs/components)
Change logs must be added for every single PR. You should always add it under a unreleased header.
For example:
`Unreleased
* The name of PR here (PR #123)[https://github.com/ProgressTeaching/lightning-components/pull/123]
* The name of PR here (PR #124)[https://github.com/ProgressTeaching/lightning-components/pull/124]
* The name of PR here (PR #125)[https://github.com/ProgressTeaching/lightning-components/pull/125]
`
Example PR of how to do this: https://github.com/ProgressTeaching/lightning-components/pull/10
1. Update the package.json with new versionnpm install
2. Run to generate new package-lock.json
3. Update (CHANGELOG.md)[/CHANGELOG.md] with the new version number
`1.2.0
* The name of PR here (PR #123)[https://github.com/ProgressTeaching/lightning-components/pull/123]
* The name of PR here (PR #124)[https://github.com/ProgressTeaching/lightning-components/pull/124]
* The name of PR here (PR #125)[https://github.com/ProgressTeaching/lightning-components/pull/125]
``
4. Commit and make PR