Skip to content

Commit

Permalink
update development.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LJKaski committed Apr 18, 2023
1 parent b79e0ef commit 85ac7e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Adding new icons

1. Add the new icon file(s) under the correct folder under `assets`
2. Add the icon name in the correct array in `utils/createComponents`.
2. Add the icon name in the correct array in `src/IconLists`.
3. Run `yarn svgr` to generate the underlying icon components.
4. Run `yarn generate` to regenerate the icon components with added logic. The new icon will be included in the correct iconset and the corresponding index.
5. Build and publish as minor version upgrade
Expand All @@ -14,7 +14,7 @@ The icon components are built by the `createComponents.js` script, so making cha

## Publishing

**IMPORTANT!** Make sure to publish the `dist` folder, not the root, as in `npm publish ./dist`
**IMPORTANT!** Make sure to publish the `dist` folder instead of the root, as in `npm publish ./dist`

## Semantic versioning

Expand Down

0 comments on commit 85ac7e1

Please sign in to comment.