I have an Angular library which is generated using Angular 11 version. Now I want to update it to Angular 12 but no luck using ng update command.
I have used the below command.
ng update --project my-lib
The above library is published in npm. Now I want to update it to the latest version.
According to this issue, you need to update the peerDependencies of your library yourself, so according to that info, I think it's normal that ng update doesn't update the library's package.json.
change version in dist/package.json run command ng version 0.0.2 run command
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