@rushstack/rush-sdk 5.126.0 → 5.127.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.
@@ -4552,6 +4552,17 @@ export declare class RushProjectConfiguration {
4552
4552
  * why the project cannot enable the build cache for that phase, or undefined if it is safe to so do.
4553
4553
  */
4554
4554
  getCacheDisabledReason(trackedFileNames: Iterable<string>, phaseName: string, isNoOp: boolean): string | undefined;
4555
+ /**
4556
+ * Source of truth for whether a project is unable to use the build cache for a given phase.
4557
+ * As some operations may not have a rush-project.json file defined at all, but may be no-op operations
4558
+ * we'll want to ignore those completely.
4559
+ */
4560
+ static getCacheDisabledReasonForProject(options: {
4561
+ projectConfiguration: RushProjectConfiguration | undefined;
4562
+ trackedFileNames: Iterable<string>;
4563
+ phaseName: string;
4564
+ isNoOp: boolean;
4565
+ }): string | undefined;
4555
4566
  /**
4556
4567
  * Loads the rush-project.json data for the specified project.
4557
4568
  */
@@ -149,6 +149,17 @@ export declare class RushProjectConfiguration {
149
149
  * why the project cannot enable the build cache for that phase, or undefined if it is safe to so do.
150
150
  */
151
151
  getCacheDisabledReason(trackedFileNames: Iterable<string>, phaseName: string, isNoOp: boolean): string | undefined;
152
+ /**
153
+ * Source of truth for whether a project is unable to use the build cache for a given phase.
154
+ * As some operations may not have a rush-project.json file defined at all, but may be no-op operations
155
+ * we'll want to ignore those completely.
156
+ */
157
+ static getCacheDisabledReasonForProject(options: {
158
+ projectConfiguration: RushProjectConfiguration | undefined;
159
+ trackedFileNames: Iterable<string>;
160
+ phaseName: string;
161
+ isNoOp: boolean;
162
+ }): string | undefined;
152
163
  /**
153
164
  * Loads the rush-project.json data for the specified project.
154
165
  */
@@ -1,7 +1,7 @@
1
1
  import { type ITerminal } from '@rushstack/terminal';
2
2
  import { CobuildLock } from '../cobuild/CobuildLock';
3
3
  import { ProjectBuildCache } from '../buildCache/ProjectBuildCache';
4
- import type { IOperationSettings } from '../../api/RushProjectConfiguration';
4
+ import { type IOperationSettings } from '../../api/RushProjectConfiguration';
5
5
  import { ProjectLogWritable } from './ProjectLogWritable';
6
6
  import type { CobuildConfiguration } from '../../api/CobuildConfiguration';
7
7
  import { DisjointSet } from '../cobuild/DisjointSet';
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.46.2"
8
+ "packageVersion": "7.47.0"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rushstack/rush-sdk",
3
- "version": "5.126.0",
3
+ "version": "5.127.0",
4
4
  "description": "An API for interacting with the Rush engine",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,11 +31,11 @@
31
31
  "devDependencies": {
32
32
  "@types/semver": "7.5.0",
33
33
  "@types/webpack-env": "1.18.0",
34
- "@rushstack/ts-command-line": "4.22.0",
35
- "@rushstack/heft": "0.66.17",
36
- "@microsoft/rush-lib": "5.126.0",
34
+ "@rushstack/heft": "0.66.18",
35
+ "@microsoft/rush-lib": "5.127.0",
37
36
  "local-node-rig": "1.0.0",
38
- "@rushstack/stream-collator": "4.1.55"
37
+ "@rushstack/stream-collator": "4.1.56",
38
+ "@rushstack/ts-command-line": "4.22.0"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "heft build --clean",