Normalize Artifacts
Normalize files, bin, man, directories, private, and publishConfig fields in workspace package.json files.
Summary
The normalize-artifacts recipe ensures that publish and artifact-related fields in each workspace's package.json match the conventions defined by the workspace role and policy. It handles file inclusion lists, binary entry points, man pages, directory mappings, private flags, and publish configuration.
Usage
- nova (installed)
- npx (no install)
nova recipe package-json normalize-artifacts [options]
npx --yes @cbnventures/nova@latest recipe package-json normalize-artifacts [options]
Options
| Flag | Description |
|---|---|
-d, --dry-run | Preview changes without modifying files. |
-r, --replace-file | Overwrite the original file instead of creating a backup. |