docs-prune-reports
Preview or delete expired repository report records
When to use it
Preview expired reports first. The confirm option permits deletion; review retention policy and the exact records before using it.
Usage
Configure an Nx target on the owning project, then invoke it with npm exec -- nx run <project>:<target>. The executor identifier is not a standalone CLI command.
{
"targets": {
"reviewed-action": {
"executor": "@megamono/plugin:docs-prune-reports",
"options": {}
}
}
}This target is a configuration example. Supply required values and review side effects before invoking it.
Options
Use these options with @megamono/plugin:docs-prune-reports. Nx uses the camelCase names shown here; the CLI reference describes command-line aliases. Some options are required only for particular choices.
| Option | Required | Type | Default | Description |
|---|---|---|---|---|
confirm | No | boolean | false | Delete listed reports instead of previewing them. |
now | No | string | — | Clock override for deterministic automation and tests. |
config | No | string | "megamono.json" | — |
docsRoot | No | string | — | — |
Next steps
Review changed files and run the affected project's checks. For options that accept structured values, run the generator's --help or consult the schema in the installed package.