Only developers in the QueryPie Frontend Team can update this QueryPie Icon repository.
This document provides instructions on how to update the icons.
In QueryPie, icons are managed on Figma. Before starting development, access this Figma page.
Once ready, export the required icon SVG files from the Figma page.
The exported resources serve as the base for generated React Components. The generator will read the icons
directory, so move the resources there.
Run Storybook to review the changes.
npm run storybook
After reviewing, prepare to deploy a new version. Edit the version field in package.json
.
The repository follows SemVer versioning. To update the version, increment the patch value by 1 in the previous version, for example, changing from 0.0.15
to 0.0.16
.
Then, install to apply the new version.
npm install
Now you are ready to deploy the new version of QueryPie Icon.
Run the following npm script.
npm run deploy
If done without problems, deploy the new Storybook page using GitHub Pages and the new qp-icon
on the npm registry.
Commit all changes and create a new pull request.