You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Proposal to change npm module name to 'cloudevents' #242
Currently the module is named cloudevents-sdk, however Grant has proposed changing this to simply cloudevents and has provided the cloudevents namespace on NPM. We have an upcoming 3.0.0 release which would be the appropriate time to make this change if voted on and approved.
Because there is no way to just change a module name and have things "just work", changing the name of the module would be a breaking change, requiring users to modify their existing package.json files. There are a couple of things that would need to happen in addition to simply renaming and publishing the module to npm.
Deprecate all current versions with a warning so that when they are installed by existing projects. npm deprecate cloudevents-sdk@2.0.2 "WARNING: This module has been renamed to 'cloudevents'. Please install it instead. See https://cloudevents/sdk-javascript for more information."
Update README with this same information
For votes in favor of renaming, please react to this issue description with 👍. Those opposed, please react to this issue with 👎.
Only votes on the issue description itself are counted. Please use additional comments to discuss pros/cons/concerns/etc. Thanks!
Reacted by Helio Frota, Grant Timmerman, Averi Kitsch, Adam Ross, Curtis Mason, Daniel Bevenius, Remi Cattiau, David Hladky, Sidharth Vinod and Dan Blackhall
Reacted by Lucas Holmquist, Francesco Guardiani and Lance Ball
Activity
[-]Proposal to Change npm Module Name to 'cloudevents'[/-][+]Proposal to change npm module name to 'cloudevents'[/+]helio-frota commentedon Jul 7, 2020
Additional comments:
loopingz commentedon Jul 10, 2020
If we rename the module, I think it would be good to provide script to use with jscodeshift.
So either reuse stuff like this: https://github.com/jurassix/refactoring-codemods
or custom jscodeshift template, so people can just run
npx jscodeshift -t cloudevents-sdk-2.0-3.0This is a draft not final version, I can work on it if we think it is a good idea
lance commentedon Jul 13, 2020
@loopingz this is good - but since the API has also changed, I wonder how tricky it will be
grant commentedon Jul 23, 2020
I think the votes are in, thanks for organizing @lance 👍
9 👍
3 👎
as of July 23, 2020.
Want to close this and resume in #215? I've created a PR.
lance commentedon Jul 24, 2020
Closing. Fixed in #260