rushstack
rushstack copied to clipboard
[rush-lib] Sub files for rush.json packages array
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
.