I want to downgrade a package version from 3.0.1 to 3.0.0 ? I've tried yarn upgrade @ ...Also tried with --dev, but it didn't work. I wasn't able to find the answer.
You can add the desired verion number to the back of the package name like so:
yarn add packagename@3.0.0
Edit:
If wanting to add to devDependencies instead:
yarn add -D packagename@3.0.0