Nova
Introduction
Nova CLI

CLI Commands

brand-content

Fetch production data for each brand and cache locally in the Style Guide (for mock purposes).

npm run nova brand-content

build

Run a Nova build. Required after some tasks such as creating or deleting components or brand defaults/styles in a component.

npm run nova build

There 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-check

Use the --fix flag to automatically try fixing any found issues,

npm run nova health-check --fix

scaffold

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>