DEPLOY
Ship the package, not the Portal
Product applications install @nitro-core/ui from the registry. The Portal is only documentation. Full steps: DEPLOY.md in the repository.
Install in a product app
pnpm add @nitro-core/ui @nitro-core/tokens
Use Button
import '@nitro-core/tokens/css';
import '@nitro-core/ui/styles.css';
import { Button } from '@nitro-core/ui';
export function Example() {
return <Button>Button</Button>;
}1. CI runs lint, typecheck, test, build.
2. Changesets bumps @nitro-core/ui and @nitro-core/tokens.
3. Publish those packages to the private registry.
4. Optionally deploy apps/portal/out as a static site.
5. Figma credentials stay on the server. They never go into the Portal bundle.