@rushstack/rush-sdk 5.127.1 → 5.128.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -872,8 +872,6 @@ export declare class EventHooks {
872
872
  * @public
873
873
  */
874
874
  export declare class ExperimentsConfiguration {
875
- private static _jsonSchema;
876
- private _jsonFileName;
877
875
  /**
878
876
  * Get the experiments configuration.
879
877
  * @beta
@@ -882,7 +880,7 @@ export declare class ExperimentsConfiguration {
882
880
  /**
883
881
  * @internal
884
882
  */
885
- constructor(jsonFileName: string);
883
+ constructor(jsonFilePath: string);
886
884
  }
887
885
 
888
886
  /**
@@ -1381,11 +1379,6 @@ export declare interface IExperimentsJson {
1381
1379
  * This will not replay warnings from the skipped build.
1382
1380
  */
1383
1381
  buildSkipWithAllowWarningsInSuccessfulBuild?: boolean;
1384
- /**
1385
- * If true, the phased commands feature is enabled. To use this feature, create a "phased" command
1386
- * in common/config/rush/command-line.json.
1387
- */
1388
- phasedCommands?: boolean;
1389
1382
  /**
1390
1383
  * If true, perform a clean install after when running `rush install` or `rush update` if the
1391
1384
  * `.npmrc` file has changed since the last install.
@@ -41,11 +41,6 @@ export interface IExperimentsJson {
41
41
  * This will not replay warnings from the skipped build.
42
42
  */
43
43
  buildSkipWithAllowWarningsInSuccessfulBuild?: boolean;
44
- /**
45
- * If true, the phased commands feature is enabled. To use this feature, create a "phased" command
46
- * in common/config/rush/command-line.json.
47
- */
48
- phasedCommands?: boolean;
49
44
  /**
50
45
  * If true, perform a clean install after when running `rush install` or `rush update` if the
51
46
  * `.npmrc` file has changed since the last install.
@@ -88,8 +83,6 @@ export interface IExperimentsJson {
88
83
  * @public
89
84
  */
90
85
  export declare class ExperimentsConfiguration {
91
- private static _jsonSchema;
92
- private _jsonFileName;
93
86
  /**
94
87
  * Get the experiments configuration.
95
88
  * @beta
@@ -98,6 +91,6 @@ export declare class ExperimentsConfiguration {
98
91
  /**
99
92
  * @internal
100
93
  */
101
- constructor(jsonFileName: string);
94
+ constructor(jsonFilePath: string);
102
95
  }
103
96
  //# sourceMappingURL=ExperimentsConfiguration.d.ts.map
@@ -91,11 +91,17 @@ export declare class Git {
91
91
  * `git@github.com:ExampleOrg/ExampleProject.git` --> `https://github.com/ExampleOrg/ExampleProject`
92
92
  */
93
93
  static normalizeGitUrlForComparison(gitUrl: string): string;
94
+ /**
95
+ * This will throw errors only if we cannot find Git commandline.
96
+ * If git email didn't configure, this will return undefined; otherwise,
97
+ * returns user.email config
98
+ */
99
+ tryGetGitEmailAsync(): Promise<string | undefined>;
94
100
  /**
95
101
  * Returns an object containing either the result of the `git config user.email`
96
102
  * command or an error.
97
103
  */
98
- tryGetGitEmailAsync(): Promise<string | undefined>;
104
+ private _tryGetGitEmailAsync;
99
105
  private _tryGetGitHooksPathAsync;
100
106
  private _tryFetchRemoteBranch;
101
107
  private _fetchRemoteBranch;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rushstack/rush-sdk",
3
- "version": "5.127.1",
3
+ "version": "5.128.1",
4
4
  "description": "An API for interacting with the Rush engine",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,17 +25,17 @@
25
25
  "dependencies": {
26
26
  "@types/node-fetch": "2.6.2",
27
27
  "tapable": "2.2.1",
28
- "@rushstack/node-core-library": "5.4.1",
29
- "@rushstack/terminal": "0.13.0"
28
+ "@rushstack/terminal": "0.13.0",
29
+ "@rushstack/node-core-library": "5.4.1"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/semver": "7.5.0",
33
33
  "@types/webpack-env": "1.18.0",
34
- "@microsoft/rush-lib": "5.127.1",
35
- "local-node-rig": "1.0.0",
36
- "@rushstack/heft": "0.66.18",
34
+ "@microsoft/rush-lib": "5.128.1",
37
35
  "@rushstack/stream-collator": "4.1.56",
38
- "@rushstack/ts-command-line": "4.22.0"
36
+ "@rushstack/heft": "0.66.18",
37
+ "@rushstack/ts-command-line": "4.22.0",
38
+ "local-node-rig": "1.0.0"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "heft build --clean",