npm.io
0.1.7 • Published yesterdayCLI

@ngrdt/cli

Licence
MIT
Version
0.1.7
Deps
1
Size
2.3 MB
Vulns
0
Weekly
0

@ngrdt/cli

Scaffolds modern Angular (zoneless) projects pre-wired with @ngrdt/* packages. The Angular major version is centralised in src/util/package-versions.ts (ANGULAR_MAJOR).

Usage

npm install -g @ngrdt/cli
ngrdt create my-app

The CLI prompts for which @ngrdt/* packages to include, whether to use @ngrdt/gov, and which outlet implementations (button, text-input, …) to scaffold. The result is a runnable Angular workspace under ./my-app.

Develop

npx nx run @ngrdt/cli:build   # typecek compile → tsc → copy static assets
node @ngrdt/cli/dist/bin/ngrdt.js create test-app