'How to determine which node module packages are compatible with others?
I inherited an Angular application from somebody who is no longer available to answer questions.
The application hasn't been updated in several years, and is behind in node module package versions.
I don't yet want to upgrade to the latest versions of all packages.
My question is: How can I ensure that all of the packages that I upgrade are compatible with each other?
For example, let's say that I start with a specific version of @angular/cli. Then I want to know which versions of typescript are compatible with it. Then I want to do the same for @schematics/package-update, ng2-semantic, webpack, and on and on.
Do I have to manually research each and every package, and try to figure out which releases are compatible with other packages?
Or is there some way I can run npm install --save <package_name>, and have npm determine and install, based on dependencies, a version of the package that is compatible with other packages that are already installed?
Are there any other methods/suggestions?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
