UNPKG

1.3 kBTypeScriptView Raw
1/**
2 * Represents a minimal subset of the rush.json configuration file. It provides the information necessary to
3 * decide which version of Rush should be installed/used.
4 */
5export declare class MinimalRushConfiguration {
6 private _rushVersion;
7 private _commonRushConfigFolder;
8 private constructor();
9 static loadFromDefaultLocation(): MinimalRushConfiguration | undefined;
10 private static _loadFromConfigurationFile;
11 /**
12 * The version of rush specified by the rushVersion property of the rush.json configuration file. If the
13 * rushVersion property is not specified, this falls back to the rushMinimumVersion property. This should be
14 * a semver style version number like "4.0.0"
15 */
16 readonly rushVersion: string;
17 /**
18 * The folder where Rush's additional config files are stored. This folder is always a
19 * subfolder called "config\rush" inside the common folder. (The "common\config" folder
20 * is reserved for configuration files used by other tools.) To avoid confusion or mistakes,
21 * Rush will report an error if this this folder contains any unrecognized files.
22 *
23 * Example: "C:\MyRepo\common\config\rush"
24 */
25 readonly commonRushConfigFolder: string;
26}
27//# sourceMappingURL=MinimalRushConfiguration.d.ts.map
\No newline at end of file