rushstack icon indicating copy to clipboard operation
rushstack copied to clipboard

[rush-lib] Sub files for rush.json packages array

Open breezedave opened this issue 3 years ago • 1 comments

We found that with 100+ projects in our rush.json packages array it was getting difficult to maintain.

To fix this I have added a "projectsExtended" property to rush.json that stores an array of paths. Each path in the array points to a json file that contains an array of projects (in the same format as rush.json's packages array.

In RushConfiguration._initializeAndValidateLocalProjects the contents of the json files are concatenated on to the original pacakges array

An extra unit test has been included in RushConfiguration.test.ts.

breezedave avatar Mar 02 '21 16:03 breezedave

CLA assistant check
All CLA requirements met.

ghost avatar Mar 02 '21 16:03 ghost