Detect breaking upgrades automatically with `--doctor` mode
mainThe --doctor mode iteratively installs and tests each upgrade to isolate which one causes a breaking change. This requires the -u (upgrade) flag. It is recommended to use this on a clean git tree as it modifies node_modules and lockfiles.
ncu --doctor -u