Skip to main content

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 recipe package-json normalize-artifacts [options]

Options

FlagDescription
-d, --dry-runPreview changes without modifying files.
-r, --replace-fileOverwrite the original file instead of creating a backup.