You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
next-codemod(upgrade): warn peer dependencies not met (#71693)
### Why?
After the upgrade, there might be an incompatibility with the
`peerDependencies` of the existing dependencies. Therefore, we run a
check for it to warn the user at the end of the upgrade.
## Testing Plan
### Unmet Peer Dependencies with Range and Prerelease
```
pnpm test:upgrade-fixture bin/__testfixtures__/peer-dep-out-of-range
```
CLI output includes:
```
⚠ Found 2 dependencies that seem incompatible with the upgraded package versions.
You may have to update these packages to their latest version or file an issue to ask for support of the upgraded libraries.
unmet-prerelease 0.0.1
├── incompatible with [email protected]
└── incompatible with [email protected]
unmet-range 0.0.1
├── incompatible with [email protected]
└── incompatible with [email protected]
```
Closes NDX-382
---------
Co-authored-by: Sebastian "Sebbie" Silbermann <[email protected]>
0 commit comments