This is a helper object for RushConfiguration. It exposes the “approvedPackagesPolicy” feature from rush.json.
export declare class ApprovedPackagesPolicy
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the
||Packages approved for usage in a web browser. This is the stricter of the two types, so by default all new packages are added to this file.|
||Whether the feature is enabled. The feature is enabled if the “approvedPackagesPolicy” field is assigned in rush.json.|
||A list of NPM package scopes that will be excluded from review (e.g.
||Packages approved for usage everywhere *except* in a web browser.|
||A list of category names that are valid for usage as the RushConfigurationProject.reviewCategory field. This array will never be undefined.|