@asphalt-react/iconpack-aloha
v0.2.1
Published
Aloha Icons for Asphalt React Components
Readme
Aloha Iconpack
Aloha Iconography for Asphalt Web. Use this library for adding Aloha icons to your projects. Check the documentation for all available icons.
Usage
import { Delete } from "@asphalt-react/iconpack-aloha"
export default App = () => {
return <Delete />
}Setup
Icons are generated automatically from Aloha icon library which are published in Coffer. The automation process is handled through coffercodegen repository. The pipeline runs every Monday and will automatically create an MR to this repository. Ignore the MR if there's no changes.
Update icons
Check out the MR branch that was automatically created from the pipeline.
Ensure all icons added have the correct attributes such as height and width.
Run
npm run loomto generate icon type declaration.Commit type declaration changes with commit message
chore: update icon types declaration.Push changes to remote branch, merge the MR, and publish.
Committing your changes
- Use Conventional Commits for your commit message. Add the relevant commit types and an optional scope (directory name of the theme package). These commit messages help
release-itgenerate the changelog and figure out the next version.
<type>[optional scope]: <description>
[optional body]
[optional footer]Push the changes to remote.
Add a merge request against
masterbranch.
Publish icons
Switch to
masterbranch and pull the latest changes.Run
npm run release& follow the instructions from release-it. It will automatically propose a new version based on commit message. It will also generate Changelog for the changes.
