99x / github-manager

:rocket: Manage GitHub repositories with ease
MIT License
17 stars 16 forks source link

#17 project and npm package rename #18

Closed wiewioraseb closed 7 years ago

wiewioraseb commented 7 years ago

To rename a project and npm package, you have to do the following steps:

$ git remote set-url origin git@github.com:99xt/github-manager-cli

or if you are using HTTPS instead of SSH:

$ git remote set-url origin https://github.com/99xt/github-manager-cli.git

You can't really do it. You have to create a new one. But first you have to label the old one with 'deprecated' notification:

$ npm deprecate github-label-maker@1.0.0 "WARNING: This module has been renamed to github-manager-cli. Please install it instead. See https://github.com/99xt/github-manager-cli for more information."

After this, accept my pull request with package name change to github-manager-cli and execute: $ npm publish