Skip to content

Reuse semver selection when updating version #98

Answered by vuki656
alxndr asked this question in Q&A
Discussion options

You must be logged in to vote

There is actually no prefixing done by the plugin itself.

It takes the name of the package you're on and runs npm install name@version (or with yarn) in the terminal.


I just tried to remove the ^ from the version and then upgraded it to the latest version and ^ was put back next to the version so I think you shouldn't do that by hand. Might be wrong tho.

Also, removing it by hand will make your .lock file out of date if you don't run yarn/npm install after it. I tested it by removing ^ from the version and then tried to update the package to the latest version by running yarn upgrade name@latest and I got the following
error Outdated lockfile. Please run yarn install and try again. info …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vuki656
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
🙏 Feature Request Feature requests not planned anywhere
2 participants