speedskater / babel-plugin-rewire

A babel plugin adding the ability to rewire module dependencies. This enables to mock modules for testing purposes.
842 stars 90 forks source link

Should RC (release candidate) version be published to NPM with a specific tag? #160

Closed yvele closed 8 years ago

yvele commented 8 years ago

The latest babel-plugin-rewire is a RC version : 1.0.0-rc-7.

Release candidates (and beta) versions should be published to NPM with a specific tag : prerelease for example. Wich makes npm install only install the lateststable release.

https://docs.npmjs.com/cli/dist-tag https://docs.npmjs.com/cli/version


By the way, 0.1.22 is the latest stable release, right? 1.0.0-rc-7 is not working, I have an error that looks like https://github.com/speedskater/babel-plugin-rewire/issues/133

speedskater commented 8 years ago

@yvele you are right this is not correct version schema. And i will switch to semantic versioning ASAP, but I cannot give you a timeline. The 0.1.22 is only stable if you consider babel 5. In case of babel 6 use rc-7. Regarding your issue, Please create a minimal sample reproducing your issue and open a new issue.

speedskater commented 8 years ago

It took quite a long time. But i just pumped version number to 1.0.0. Any further issues will be resolved according to semver versioning. And beta versions will be tagged with prereleases in the future.

yvele commented 8 years ago

@speedskater Good news! Pump up the version! :dancers:

yvele commented 8 years ago

By the way @speedskater I think you should also make a Github releases (git tags) for each new.. release.

The Github release page can then behave as a changelog page (you can add md release notes)

https://github.com/speedskater/babel-plugin-rewire/releases