@rodri-oliveira-dev/angular-template
v1.2.0
Published
Angular Schematics collection for the Rodri production-ready Angular template.
Maintainers
Readme
@rodri-oliveira-dev/angular-template Schematics
This directory owns the standalone npm distribution for the Angular template. It compiles to
schematics/dist and contains only generation-time code and assets. The application in the
repository root remains the private, executable reference template; it is not a runtime library
and is not imported by consumers.
Local development
npm run schematics:install
npm run schematics:build
npm run schematics:testsrc/collection.json exposes the ng-new entry point. Package metadata points Angular CLI to the
compiled dist/collection.json; the build copies JSON assets next to the compiled JavaScript.
Validate the exact npm artifact and its clean installation with:
npm run schematics:package:validate
npm run schematics:integrationPackage versions follow template releases (v1.2.0 publishes package 1.2.0). Publishing is only
triggered by an exact matching Git tag through .github/workflows/publish-schematics.yml. The npm
package must trust that workflow for rodri-oliveira-dev/angular-template; GitHub OIDC then supplies
short-lived credentials and npm attaches provenance without a committed token. The npm GitHub
environment should require maintainer approval. The first package must be claimed by the owner of
the @rodri scope before trusted publishing can be configured.
Stable generation options
| Option | Default | Semantics |
| ------------------- | ----------------------- | ------------------------------------------------------------- |
| name | required | Workspace, Angular project, and npm package name |
| directory | generated project name | Output directory |
| style | scss | scss or plain css global/component styles |
| routing | true | Router shell and lazy reference route |
| apiMode | mock | Default development API path: mock or bff |
| bffProxyTarget | http://localhost:5000 | HTTP(S) target used by the BFF dev-server proxy |
| observability | true | Enable the local telemetry and performance providers |
| e2e | true | Include Playwright configuration, tests, scripts, and CI gate |
| coverageThreshold | 85 | Per-metric unit coverage threshold from 0 through 100 |
| skipGit | false | Skip Angular CLI Git initialization |
| skipInstall | false | Skip Angular CLI dependency installation |
The BFF target must be an absolute http: or https: URL without embedded credentials. Invalid
values fail before any generated tree is committed.
