ng-checkup
v2.4.1Angular and AngularJS modernization checkup: findings, grades and the upgrade plan of a workspace.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
checkup
Grades an Angular codebase in twelve areas (Angular version, deprecated APIs, third-party compatibility, zoneless readiness, components, state, architecture, testing, type safety, security, circular dependencies, bundle size), lists missing translation keys, accessibility defects and code that breaks server rendering beside them, and returns the report as Markdown: score, grade per area, every finding with its files. Start here for "how modern is this app" or "what should we fix first".
| Parameter | Type | Description |
|---|---|---|
online | boolean | Ask the npm registry for the latest Angular and osv.dev for vulnerabilities. Default false: offline is faster and needs no network. |
only | array | Keep only these areas. |
path | string | Folder of the Angular workspace or repository, absolute or relative to where the server was started. Default: that folder. |
project | string | One project of a multi-project workspace, by its name in angular.json or project.json. |
since | string | A git ref (origin/main): keep only findings in files changed since its merge base with HEAD, as a pull request would. |
findings
Lists findings as JSON (area, severity, message, detail, files with lines), filtered by area, minimum severity or file. Use it for "what is wrong with src/app/x.component.ts" (file), "what blocks the next upgrade" (severity high) or "which subscriptions leak" (area components).
| Parameter | Type | Description |
|---|---|---|
check | string | Only this area. |
file | string | Only findings that name this file, relative to path. |
online | boolean | As for checkup. Default false. |
path | string | Folder of the Angular workspace or repository, absolute or relative to where the server was started. Default: that folder. |
severity | string | Only findings at least this severe. |
upgrade_plan
The step-by-step plan from the installed Angular to the latest major, one major at a time, with what to fix before each step and the ng update commands, as Markdown; for AngularJS code, the migration plan instead.
| Parameter | Type | Description |
|---|---|---|
online | boolean | Ask the npm registry for the latest Angular. Default false. |
path | string | Folder of the Angular workspace or repository, absolute or relative to where the server was started. Default: that folder. |