Home > @microsoft/rush-lib > ApprovedPackagesConfiguration
ApprovedPackagesConfiguration class
This represents the JSON file specified via the "approvedPackagesFile" option in rush.json.
Signature:
export declare class ApprovedPackagesConfiguration
Constructors
Constructor | Modifiers | Description |
|---|---|---|
Constructs a new instance of the |
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
Methods
Method | Modifiers | Description |
|---|---|---|
Clears all the settings, returning to an empty state. | ||
Loads the configuration data from the filename that was passed to the constructor. | ||
Loads the configuration data to the filename that was passed to the constructor. | ||
If the file exists, calls loadFromFile(). |