Angular CLI: 11.0.3
Angular: 11.0.9
Node: 14.20.1
Ivy Workspace: Yes
I need package A, it requires package B, which requires package C.
The package B -> C dependency is expressed as ^2.0.12
I'd like to lock that dependency to 2.0.10
Can I add this to package-lock.json to achieve this?
In the package.json you can use
resolutions part for thisoverrides part for thisin package A with yarn :
"resolutions": {
"C": "2.0.10"
}
in package A with npm :
"overrides": {
"C": "2.0.10"
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With