Skip to main content

Normalize Bundler

Normalize types, module, sideEffects, and esnext bundler convention fields in workspace package.json files.

Summary

The normalize-bundler recipe handles unofficial bundler convention fields in each workspace's package.json. It merges the deprecated typings field into types, and normalizes module, sideEffects, and esnext fields according to common bundler expectations.

Usage

nova recipe package-json normalize-bundler [options]

Options

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