Execute the platform compatibility phase.
Scans all package.json files in the workspace for platform-specific
script issues and patches them on Windows. Also emits a heap size
advisory for Node >= 24.
Platform compat input with directory, detected OS, and emitter.
List of patched files and whether cross-env was added.
Phase F — Detects and patches cross-platform incompatibilities in npm scripts.
Example