Setup
Foundation Nova supports two starting paths. Use the runner for a one-off. Install into project for configs you can commit.
Requirements
- Node.js LTS
- npm
Quick Check
Run this command below to check the installed versions of your Node.js, npm, operating system, installed browsers, and other dev tools directly:
npx @cbnventures/foundation-nova@latest version --all
Choose Your Path
Choose Run once (npx) to try Nova or make a one-off change, or Install into project to use preset configs and run commands any time.
- Run once (npx)
- Install into project
View the built-in help from the command below, or see CLI.
npx @cbnventures/foundation-nova@latest
First, Install Nova.
npm i -D @cbnventures/foundation-nova@latest
Second, configure TypeScript though the tsconfig.json
file. See TSConfig best practices.
{
"extends": [
"./src/presets/tsconfig/dx-essentials.json",
"./src/presets/tsconfig/dx-strict.json"
]
}
Third, configure ESLint through the eslint.config.mts
file. See ESLint best practices.
import { dxCodeStyle, scopeIgnores } from '@cbnventures/foundation-nova/eslint';
export default [
...scopeIgnores,
...dxCodeStyle,
];
Optionally, you can use the shorthand command for the CLI:
nova
Next Steps
- See CLI for generators and project scaffolding.
- See Configuration to choose ESLint and TypeScript scenarios.
- See Examples for sample configurations and layouts.