@progressteaching/lightning-components
v1.17.0
Published
### Storybook
Downloads
207
Keywords
Readme
Lightning-components
Storybook
Run in terminal:
npm run storybook
Build & publish
To Build the library, run:
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:
npm publish
Component library dependency order
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)
Changelog
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]
Publishing a new version of the component
Example PR of how to do this: https://github.com/ProgressTeaching/lightning-components/pull/10
- Update the
package.json
with new version - Run
npm install
to generate newpackage-lock.json
- 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]
- Commit and make PR