rushstack icon indicating copy to clipboard operation
rushstack copied to clipboard

Project dependencies

Open fuocor opened this issue 9 years ago • 2 comments

It's not at all clear how to get project dependencies to work.

If I create ProjextA and ProjectB (dependency of A) at the same time how do I get B linked to A? Adding B to the project.json of A result in "rush generate" failing and "cyclicDependencyProjects" in rush.json does not seem to have any effect.

thanks, rich

fuocor avatar Jun 15 '17 17:06 fuocor

You can use a lower/published version of B in project.json of A. Then A is built with a slightly older version of B. One project has to be built first with all available dependencies.

qz2017 avatar Jun 15 '17 17:06 qz2017

I thought I did that ( a few times ...) to have the rush generate fail I tried again ...and... I guess doing on a Friday morning at 5:30 fixed the problem ;). Yesterday must have been a really bad karma day for me

thanks.

fuocor avatar Jun 16 '17 09:06 fuocor