@rushstack/rush-sdk 5.68.0 → 5.69.0

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 +19 -12
  2. package/package.json +8 -8
@@ -225,7 +225,6 @@ export declare class CommonVersionsConfiguration {
225
225
  private _filePath;
226
226
  private _preferredVersions;
227
227
  private _implicitlyPreferredVersions;
228
- private _xstitchPreferredVersions;
229
228
  private _allowedAlternativeVersions;
230
229
  private _modified;
231
230
  private constructor();
@@ -272,15 +271,6 @@ export declare class CommonVersionsConfiguration {
272
271
  * If the value is `undefined`, then the default value is `true`.
273
272
  */
274
273
  get implicitlyPreferredVersions(): boolean | undefined;
275
- /**
276
- * A table of specifies preferred versions maintained by the XStitch tool.
277
- *
278
- * @remarks
279
- * This property has the same behavior as the "preferredVersions" property, except these entries
280
- * are automatically managed by the XStitch tool. It is an error for the same dependency name
281
- * to appear in both tables.
282
- */
283
- get xstitchPreferredVersions(): Map<string, string>;
284
274
  /**
285
275
  * A table that stores, for a given dependency, a list of SemVer ranges that will be accepted
286
276
  * by "rush check" in addition to the normal version range.
@@ -295,7 +285,7 @@ export declare class CommonVersionsConfiguration {
295
285
  */
296
286
  get allowedAlternativeVersions(): Map<string, ReadonlyArray<string>>;
297
287
  /**
298
- * Returns the union of preferredVersions and xstitchPreferredVersions.
288
+ * Returns preferredVersions.
299
289
  */
300
290
  getAllPreferredVersions(): Map<string, string>;
301
291
  private _onSetPreferredVersions;
@@ -779,6 +769,11 @@ export declare interface ICreateOperationsContext {
779
769
  * The set of Rush projects selected for the current command execution.
780
770
  */
781
771
  readonly projectSelection: ReadonlySet<RushConfigurationProject>;
772
+ /**
773
+ * The set of Rush projects that have not been built in the current process since they were last modified.
774
+ * When `isInitial` is true, this will be an exact match of `projectSelection`.
775
+ */
776
+ readonly projectsInUnknownState: ReadonlySet<RushConfigurationProject>;
782
777
  /**
783
778
  * The Rush configuration
784
779
  */
@@ -1671,10 +1666,14 @@ export declare class Operation {
1671
1666
  * The Rush project associated with this Operation, if any
1672
1667
  */
1673
1668
  readonly associatedProject: RushConfigurationProject | undefined;
1669
+ /**
1670
+ * A set of all operations which depend on this operation.
1671
+ */
1672
+ readonly consumers: ReadonlySet<Operation>;
1674
1673
  /**
1675
1674
  * A set of all dependencies which must be executed before this operation is complete.
1676
1675
  */
1677
- readonly dependencies: Set<Operation>;
1676
+ readonly dependencies: ReadonlySet<Operation>;
1678
1677
  /**
1679
1678
  * When the scheduler is ready to process this `Operation`, the `runner` implements the actual work of
1680
1679
  * running the operation.
@@ -1697,6 +1696,14 @@ export declare class Operation {
1697
1696
  * The name of this operation, for logging.
1698
1697
  */
1699
1698
  get name(): string | undefined;
1699
+ /**
1700
+ * Adds the specified operation as a dependency and updates the consumer list.
1701
+ */
1702
+ addDependency(dependency: Operation): void;
1703
+ /**
1704
+ * Deletes the specified operation as a dependency and updates the consumer list.
1705
+ */
1706
+ deleteDependency(dependency: Operation): void;
1700
1707
  }
1701
1708
 
1702
1709
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rushstack/rush-sdk",
3
- "version": "5.68.0",
3
+ "version": "5.69.0",
4
4
  "description": "An API for interacting with the Rush engine",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,18 +12,18 @@
12
12
  "typings": "dist/rush-lib.d.ts",
13
13
  "license": "MIT",
14
14
  "dependencies": {
15
- "@rushstack/node-core-library": "3.45.4",
15
+ "@rushstack/node-core-library": "3.45.5",
16
16
  "@types/node-fetch": "1.6.9",
17
17
  "tapable": "2.2.1"
18
18
  },
19
19
  "devDependencies": {
20
- "@microsoft/rush-lib": "5.68.0",
20
+ "@microsoft/rush-lib": "5.69.0",
21
21
  "@rushstack/eslint-config": "2.6.0",
22
- "@rushstack/heft": "0.45.0",
23
- "@rushstack/heft-node-rig": "1.9.1",
24
- "@rushstack/stream-collator": "4.0.170",
25
- "@rushstack/ts-command-line": "4.10.10",
26
- "@rushstack/terminal": "0.3.39",
22
+ "@rushstack/heft": "0.45.2",
23
+ "@rushstack/heft-node-rig": "1.9.3",
24
+ "@rushstack/stream-collator": "4.0.172",
25
+ "@rushstack/ts-command-line": "4.11.0",
26
+ "@rushstack/terminal": "0.3.41",
27
27
  "@types/heft-jest": "1.0.1",
28
28
  "@types/semver": "7.3.5",
29
29
  "@types/webpack-env": "1.13.0"