This plugin adds the ability to export figma assets (icons) to a github repository through a pull request.
- Make sure you have Node installed in your machine (v16.16.0 or higher)
- Make sure you have pnpm installed in you machine (v8.6.5 or higher)
- To install pnpm run the following command:
npm install -g pnpm
- To install pnpm run the following command:
About the repository:
- This repository implements a "monorepo" arquitecture using pnpm workspaces.
- There are currently two "apps" inside the monorepo:
- Core: Main business logic of the plugin that runs outside of the UI context (aka the "back-end" of the plugin).
- UI: The plugin UI that the user interacts with. (aka the "front-end" of the plugin).
Available Commands:
-
Generic:
-
Installing dependencies:
pnpm install
-
Starting the "dev servers":
pnpm dev
-
Build the plugin:
pnpm build
-
-
Targeting a specific app or package:
- Starting the "dev server" of UI app only:
pnpm ui:dev
- Building the UI app only:
Note: Pnpm allows to run any scripts defined in the package.json of the packages matched by pnpm-workspace.yaml file. You can run these scripts with the command:
pnpm ui:build
pnpm --filter <package_name> <script>
.
- Starting the "dev server" of UI app only:
Read our contribution guide for more details on how to contribute to this project.