@rushstack/rush-sdk 5.61.0 → 5.61.4

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.
Files changed (2) hide show
  1. package/dist/rush-lib.d.ts +36 -36
  2. package/package.json +6 -4
@@ -938,6 +938,24 @@ declare interface IRushConfigurationProjectJson {
938
938
  publishFolder?: string;
939
939
  }
940
940
 
941
+ /**
942
+ * @internal
943
+ */
944
+ declare interface IRushConfigurationProjectOptions {
945
+ /**
946
+ * The raw JSON representation from rush.json
947
+ */
948
+ projectJson: IRushConfigurationProjectJson;
949
+ /**
950
+ * The enclosing configuration
951
+ */
952
+ rushConfiguration: RushConfiguration;
953
+ /**
954
+ * A unique string name for this project
955
+ */
956
+ tempProjectName: string;
957
+ }
958
+
941
959
  /**
942
960
  * Part of IRushConfigurationJson.
943
961
  */
@@ -1696,7 +1714,7 @@ export declare class RushConfiguration {
1696
1714
  * in the Rush common folder.
1697
1715
  * NOTE: sortedProjectJsons is sorted by the caller.
1698
1716
  */
1699
- private static _generateTempNamesForProjects;
1717
+ private static _generateTempNameForProject;
1700
1718
  /**
1701
1719
  * If someone adds a config file in the "common/rush/config" folder, it would be a bad
1702
1720
  * experience for Rush to silently ignore their file simply because they misspelled the
@@ -2109,7 +2127,6 @@ export declare class RushConfiguration {
2109
2127
  */
2110
2128
  tryGetProjectForPath(currentFolderPath: string): RushConfigurationProject | undefined;
2111
2129
  private _collectVersionsForDependencies;
2112
- private _populateDownstreamDependencies;
2113
2130
  private _getVariantConfigFolderPath;
2114
2131
  }
2115
2132
 
@@ -2119,35 +2136,27 @@ export declare class RushConfiguration {
2119
2136
  * @public
2120
2137
  */
2121
2138
  export declare class RushConfigurationProject {
2122
- private _packageName;
2123
- private _projectFolder;
2124
- private _projectRelativeFolder;
2125
- private _projectRushConfigFolder;
2126
- private _projectRushTempFolder;
2127
- private _reviewCategory;
2128
- private _packageJson;
2129
- private _packageJsonEditor;
2130
- private _tempProjectName;
2131
- private _unscopedTempProjectName;
2132
- private _cyclicDependencyProjects;
2133
- private _versionPolicyName;
2139
+ private readonly _packageName;
2140
+ private readonly _projectFolder;
2141
+ private readonly _projectRelativeFolder;
2142
+ private readonly _projectRushConfigFolder;
2143
+ private readonly _projectRushTempFolder;
2144
+ private readonly _reviewCategory;
2145
+ private readonly _packageJson;
2146
+ private readonly _packageJsonEditor;
2147
+ private readonly _tempProjectName;
2148
+ private readonly _unscopedTempProjectName;
2149
+ private readonly _cyclicDependencyProjects;
2150
+ private readonly _versionPolicyName;
2151
+ private readonly _shouldPublish;
2152
+ private readonly _skipRushCheck;
2153
+ private readonly _publishFolder;
2154
+ private readonly _rushConfiguration;
2134
2155
  private _versionPolicy;
2135
- private _shouldPublish;
2136
- private _skipRushCheck;
2137
- private _publishFolder;
2138
2156
  private _dependencyProjects;
2139
2157
  private _consumingProjects;
2140
- private readonly _rushConfiguration;
2141
- /**
2142
- * A set of projects within the Rush configuration which directly consume this package.
2143
- *
2144
- * @remarks
2145
- * Writable because it is mutated by RushConfiguration during initialization.
2146
- * @internal
2147
- */
2148
- readonly _consumingProjectNames: Set<string>;
2149
2158
  /** @internal */
2150
- constructor(projectJson: IRushConfigurationProjectJson, rushConfiguration: RushConfiguration, tempProjectName: string);
2159
+ constructor(options: IRushConfigurationProjectOptions);
2151
2160
  /**
2152
2161
  * The name of the NPM package. An error is reported if this name is not
2153
2162
  * identical to packageJson.name.
@@ -2290,15 +2299,6 @@ export declare class RushConfigurationProject {
2290
2299
  * @beta
2291
2300
  */
2292
2301
  get isMainProject(): boolean;
2293
- /**
2294
- * Compute the local rush projects that this project immediately depends on,
2295
- * according to the specific dependency group from package.json
2296
- */
2297
- private _getDependencyProjects;
2298
- /**
2299
- * Compute the local rush projects that declare this project as a dependency
2300
- */
2301
- private _getConsumingProjects;
2302
2302
  }
2303
2303
 
2304
2304
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rushstack/rush-sdk",
3
- "version": "5.61.0",
3
+ "version": "5.61.4",
4
4
  "description": "An API for interacting with the Rush engine",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,15 +17,17 @@
17
17
  "tapable": "2.2.1"
18
18
  },
19
19
  "devDependencies": {
20
- "@microsoft/rush-lib": "5.61.0",
20
+ "@microsoft/rush-lib": "5.61.4",
21
21
  "@rushstack/eslint-config": "2.5.1",
22
22
  "@rushstack/heft": "0.44.2",
23
- "@rushstack/heft-node-rig": "1.6.0",
23
+ "@rushstack/heft-node-rig": "1.7.1",
24
24
  "@types/heft-jest": "1.0.1",
25
25
  "@types/node": "12.20.24",
26
26
  "@types/semver": "7.3.5"
27
27
  },
28
28
  "scripts": {
29
- "build": "heft test --clean"
29
+ "build": "heft build --clean",
30
+ "_phase:build": "heft build --clean",
31
+ "_phase:test": "heft test --no-build"
30
32
  }
31
33
  }