@rushstack/rush-sdk 5.117.3 → 5.117.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.
@@ -4497,12 +4497,19 @@ export declare class Subspace {
4497
4497
  private readonly _splitWorkspaceCompatibility;
4498
4498
  private _commonVersionsConfiguration;
4499
4499
  private _detail;
4500
+ private _cachedPnpmOptions;
4501
+ private _cachedPnpmOptionsInitialized;
4500
4502
  constructor(options: ISubspaceOptions);
4501
4503
  /**
4502
4504
  * Returns the list of projects belonging to this subspace.
4503
4505
  * @beta
4504
4506
  */
4505
4507
  getProjects(): RushConfigurationProject[];
4508
+ /**
4509
+ * Returns the parsed contents of the pnpm-config.json config file.
4510
+ * @beta
4511
+ */
4512
+ getPnpmOptions(): PnpmOptionsConfiguration | undefined;
4506
4513
  private _ensureDetail;
4507
4514
  /**
4508
4515
  * Returns the full path of the folder containing this subspace's configuration files such as `pnpm-lock.yaml`.
@@ -2,6 +2,7 @@ import type { RushConfiguration } from './RushConfiguration';
2
2
  import type { RushConfigurationProject } from './RushConfigurationProject';
3
3
  import { CommonVersionsConfiguration } from './CommonVersionsConfiguration';
4
4
  import { RepoStateFile } from '../logic/RepoStateFile';
5
+ import { PnpmOptionsConfiguration } from '../logic/pnpm/PnpmOptionsConfiguration';
5
6
  /**
6
7
  * @internal
7
8
  */
@@ -22,12 +23,19 @@ export declare class Subspace {
22
23
  private readonly _splitWorkspaceCompatibility;
23
24
  private _commonVersionsConfiguration;
24
25
  private _detail;
26
+ private _cachedPnpmOptions;
27
+ private _cachedPnpmOptionsInitialized;
25
28
  constructor(options: ISubspaceOptions);
26
29
  /**
27
30
  * Returns the list of projects belonging to this subspace.
28
31
  * @beta
29
32
  */
30
33
  getProjects(): RushConfigurationProject[];
34
+ /**
35
+ * Returns the parsed contents of the pnpm-config.json config file.
36
+ * @beta
37
+ */
38
+ getPnpmOptions(): PnpmOptionsConfiguration | undefined;
31
39
  private _ensureDetail;
32
40
  /**
33
41
  * Returns the full path of the folder containing this subspace's configuration files such as `pnpm-lock.yaml`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rushstack/rush-sdk",
3
- "version": "5.117.3",
3
+ "version": "5.117.4",
4
4
  "description": "An API for interacting with the Rush engine",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,10 +31,10 @@
31
31
  "devDependencies": {
32
32
  "@types/semver": "7.5.0",
33
33
  "@types/webpack-env": "1.18.0",
34
- "@microsoft/rush-lib": "5.117.3",
35
- "@rushstack/heft": "0.66.0",
36
34
  "local-node-rig": "1.0.0",
37
35
  "@rushstack/stream-collator": "4.1.38",
36
+ "@microsoft/rush-lib": "5.117.4",
37
+ "@rushstack/heft": "0.66.0",
38
38
  "@rushstack/ts-command-line": "4.19.1"
39
39
  },
40
40
  "scripts": {