Problem: We need to upgrade an npm package


Problem: We need to upgrade an npm package. But upgrading in one PR will create a big, risky PR.

Solution:
1. Use npm package aliases. This allows running two versions of the same package.
2. Migrate to the new version one file at a time via multiple PRs.

Example:

View original on X