I have packages from my internal npm registry that I need to be saved in package.json with a
~ prefix, so that only patch updates will apply.
However, the default for public npm dependencies is to have a
^ prefix, so that minor version updates will apply, which I’d like to keep.
I am aware of how to set a save-prefix, but this will apply to all packages, and I can’t seem to find a way to specify a save-prefix for internal packages. This means I need to manually roll back package.json every time
npm update is run.
Does anyone have any pointers for me?