CLI Commands
brand-content
Fetch production data for each brand and cache locally in the Style Guide (for mock purposes).
npm run nova brand-contentbuild
Run a Nova build. Required after some tasks such as creating or deleting components or brand defaults/styles in a component.
npm run nova buildThere are subcommands for each job within the build command (ref (opens in a new tab))
component
Deprecated.
dev
Spawns a Node instance for Next.js to use `dev (docs (opens in a new tab)).
--fast-refresh
Use npm run dev -- --fast-refresh or npm run dev:fast-refresh to watch for file changes and fake a Fast Refresh (opens in a new tab) developer experience for Nova assets and builds.
health-check
Runs a health-check on the Style Guide.
Intended for expansion in the future.
npm run nova health-checkUse the --fix flag to automatically try fixing any found issues,
npm run nova health-check --fixscaffold
Scaffold files required for a new [Nova brand](/core-tech/nova/intro/scaffold-a-brand/#create-the-brand-in-the-style-guide, component, or internal component.
Brand
npm run nova scaffold brand <brand-name>Component
npm run nova scaffold component <component-name>Internal component
See Style Guide Internals for more info. You're probably looking for just component.
npm run nova scaffold internal-component <internal-component-name>