Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > RushConfigurationProject > isMainProject

RushConfigurationProject.isMainProject property

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Indicate whether this project is the main project for the related version policy.

False if the project is not for publishing. True if the project is individually versioned or if its lockstep version policy does not specify main project. False if the project is lockstepped and is not the main project for its version policy.


get isMainProject(): boolean;