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 (installed)
- npx (no install)
nova recipe package-json normalize-bundler [options]
npx --yes @cbnventures/nova@latest recipe package-json normalize-bundler [options]
Options
| Flag | Description |
|---|---|
-d, --dry-run | Preview changes without modifying files. |
-r, --replace-file | Overwrite the original file instead of creating a backup. |