Install the VS Code extension to work with the Supernova platform directly in your Microsoft VS Code environment. It can be installed from the VS Code extension marketplace.
A "build" in Supernova represents a single run of a specific exporter that points to a specific design system and version.
We recommend you use the VS Code extension to run exporters and obtain production code. If you are unable to, or would prefer not to use the extension, you can use the Supernova Cloud interface.
You can run any installed exporter manually from the Cloud environment.
Note -> The recommended method is using the VS Code extension
- Navigate to Code Integration → Builds
- To request a new build, click on the + New button
- Select the exporter to build with (the currently selected design system and version will be used)
- If brands are enabled, select the design system brand as well
- Click Next
- Choose a delivery method from the list — view a detailed explanation of delivery options here
- If you have not yet authorized the delivery destination (eg. GitHub) you will need to sign in to the service with OAuth or with a personal access token. See Integrations
If you select a pull request delivery option:
- Select the connection (for example, which access token you would like to use)
- Depending on the service (eg. GitHub, Bitbucket, Azure DevOps, etc.), the options below may appear differently depending on the service's configuration
- Organization / Group / Workspace
- Branch -> We will open a new or append an existing pull request on a branch called supernova/[exporter-name]. Make sure there are no conflicting branch names before running the build.
- Relative path (optional) -> Path relative to the repository root to which code will be exported
- Click Run to run the build
When you run a build, it will be queued on our CI/CD servers and will generate the code on your behalf. You can stay on the same page — it will automatically refresh when the code is ready.