Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

old package webxdc-types needs to be deprecated / yanked from npm #11

Open
Simon-Laux opened this issue Nov 30, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Simon-Laux
Copy link
Contributor

Simon-Laux commented Nov 30, 2024

https://www.npmjs.com/package/webxdc-types still exists and can be mistaken for the new name https://www.npmjs.com/package/@webxdc/types package.

This is a problem because webxdc-types is not updated anymore.

So we should upload one last version of webxdc-types with the following changes:

  • mention that it is deprecated and users should instead use the new @webxdc/types
  • add install script that logs a deprecation warning upon install (informing user of the new location)
  • ?maybe? replace code by failing typescript code that tells user to update (like at place of the failing statement is a comment telling the user to update) - so if they update it is broken until they update to the new package
    • maybe npm has some better built-in way for this case to show the new package? look into docs of package.json format, maybe there is something better
@Simon-Laux Simon-Laux added the bug Something isn't working label Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant