jaydenseric/graphql-upload

Package rename

Closed this issue ยท 4 comments

It is time to drop apollo from the apollo-upload-server package name as this package is also useful for non-Apollo GraphQL servers and clients.

Anyone have any tips for renaming a package? I have never done it before and it seems like an inherently disruptive thing to do.

I'm thinking:

  • Research and achieve compatibility with other Node.js GraphQL servers, i.e. express-graphql.
  • Rename this repo in GitHub. GitHub automatically redirects people visiting old URLs.
  • Rename the package in package.json and anywhere else the name appears.
  • Publish the the new package.
  • Deprecate the old package, advising to switch to the new package.

I'll think about it for a bit before doing it ๐Ÿ˜…

I've found this package to be compatible with:

graphql-upload-server <-- This is available npm package name, you could use it. ๐Ÿ˜„

All done ๐ŸŽ‰

I just published graphql-upload, you can see the changelog entry for a migration guide.

Here is the deprecation warning everyone sees when attempting to install apollo-upload-server:

screen shot 2018-09-18 at 3 27 21 pm

The Github short URL links to this issue.

Really happy with the change, it looks so clean and logical everywhere now ๐Ÿ˜

screen shot 2018-09-18 at 4 07 25 pm

screen shot 2018-09-18 at 4 06 33 pm