How to migrate NPM package to an organization @scope

后端 未结 2 448
旧巷少年郎
旧巷少年郎 2021-02-05 02:32

NPM has recently introduced @scopes / organizations for the modules. Is there a good way to migrate existing modules to the organization? Are there any tools for automating it

2条回答
  •  名媛妹妹
    2021-02-05 02:57

    Another way to do this that doesn't involve renaming the package, is to go to the team settings in your organization on the npm website (there's a default team called "developers"). There's a button there to add an existing package to the team.

    This way you actually transfer the package, instead of republishing it under a different name.

提交回复
热议问题