-
Hey guys, thanks for a shiny new space for feedback 🎉
Our cases are for this are specifically related to the fact that we are managing most of our code via monorepositories, and the following cases come out:
It is obvious that we can achieve this by renaming packages, however this quite a chore (and naming is hard) plus it causes non-zero educational overhead on the rest of the engineers which actually consume these packages, so if there would be a better way to change relationship to a parent repo, it would be nice. Otherwise it would be interesting to hear rationale behind such strict package-repository lock, since other registries like NPM do not really have it. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Hi @dentuzhik, we had exactly the same problem over here. What we did: Scripting a solution using Node.js + Axios + GitHub Rest Api:
That actually helped "moving" the packages :) |
Beta Was this translation helpful? Give feedback.
-
Why they're tightly associated to any repo other than for providing a easy link to it's source seems odd to me personally. Totally understand tightly coupling to the scope they're published under but I don't feel it should go further than that personally. |
Beta Was this translation helpful? Give feedback.
-
More than 18 months later and no response. Is there a related feature request for this? |
Beta Was this translation helpful? Give feedback.
-
This is possible now by setting the repository field in package.json This is what worked for me
Maybe step 2 can be skipped |
Beta Was this translation helpful? Give feedback.
This is possible now by setting the repository field in package.json
This is what worked for me
"repository": "git://github.com/org/new-repo.git"
npm publish
)npm publish
)Maybe step 2 can be skipped