sinonjs / sinon

Test spies, stubs and mocks for JavaScript.
https://sinonjs.org/
Other
9.63k stars 770 forks source link

Re-introduce version script #2437

Closed cincodenada closed 2 years ago

cincodenada commented 2 years ago

Purpose (TL;DR)

Because of the merge mess with #2426, the version command in package.json was reverted, so that the new version.sh script isn't being used.

Solution

This PR also puts the version.sh script back, and persists a prettier fix in a generated file back to the generation of the file, so it doesn't keep popping up.

How to verify - mandatory

The only way to really, test this is to run npm version, but if #2436 is merged first, then we'll have a way to run that without publishing a release!

Checklist for author

cincodenada commented 2 years ago

Ugh, sorry, wrong branch