-
Notifications
You must be signed in to change notification settings - Fork 683
[rush] "rush add" should be able to add unpublished locally-linked projects #991
Copy link
Copy link
Closed
Labels
bugSomething isn't working as intendedSomething isn't working as intendedeffort: easyProbably a quick fix. Want to contribute? :-)Probably a quick fix. Want to contribute? :-)help wantedIf you're looking to contribute, this issue is a good place to start!If you're looking to contribute, this issue is a good place to start!needs more infoWe can't proceed because we need a better repro or an answer to a questionWe can't proceed because we need a better repro or an answer to a question
Milestone
Metadata
Metadata
Assignees
Labels
bugSomething isn't working as intendedSomething isn't working as intendedeffort: easyProbably a quick fix. Want to contribute? :-)Probably a quick fix. Want to contribute? :-)help wantedIf you're looking to contribute, this issue is a good place to start!If you're looking to contribute, this issue is a good place to start!needs more infoWe can't proceed because we need a better repro or an answer to a questionWe can't proceed because we need a better repro or an answer to a question
Type
Projects
Status
Closed
I come from the lerna world, and I can't get my head round the fact that you can't
add -p <package>when that package is internal and has not been published yet.When you do
lerna addit will first check the npm registry, and if none available it will check if it's one of the packages in the monorepo.For now, I'm adding a line in the package.json of each file. But this forces me to do
rush update -p --fulleach time, which is cumbersome.How does one link dependencies within the monorepo itself with Rush? If there's a way I'd love to know. If not, I'd love something like lerna even more
The only information I could find about linking packages is this issue and the solution does not seem to be supported in rushjs 5.