Open trygve-lie opened 11 years ago
Thanks for reporting the issue.
I think Reggie should follow NPM on this.
Absolutely. See also #5.
If this is a wanted feature I can take a stab at it and make a pull request.
Excellent, go for it!
Just curious what NPM would do in this scenario? Would it override?
@paolodm NPM will prompt the user with an error message saying that the version already exist. NPM does then not override.
This is source of many mistakes, it would be really good to have this implemented ... :+1:
NPM will complain if one try to publish an package with the same version number as a previously published package:
Example:
Reggie silently publishes the package and overrides the old version. In my humble opinion I think Reggie should follow NPM on this. Its very easy to forget to up a version number when publishing and if its forgotten its good that the registry complains.
If this is a wanted feature I can take a stab at it and make a pull request.