@rushstack/rush-sdk 5.117.3 → 5.117.5
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.
package/dist/rush-lib.d.ts
CHANGED
|
@@ -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`.
|
|
@@ -4627,13 +4634,6 @@ export declare class SubspacesConfiguration {
|
|
|
4627
4634
|
static requireValidSubspaceName(subspaceName: string, splitWorkspaceCompatibility?: boolean): void;
|
|
4628
4635
|
static tryLoadFromConfigurationFile(subspaceJsonFilePath: string): SubspacesConfiguration | undefined;
|
|
4629
4636
|
static tryLoadFromDefaultLocation(rushConfiguration: RushConfiguration): SubspacesConfiguration | undefined;
|
|
4630
|
-
/**
|
|
4631
|
-
* Returns a name of the form `_RUSH_SUBSPACE_XYZ_TEMP_FOLDER` where `XYZ` is
|
|
4632
|
-
* derived from the subspace name.
|
|
4633
|
-
*
|
|
4634
|
-
* @internal
|
|
4635
|
-
*/
|
|
4636
|
-
static _convertNameToEnvironmentVariable(subspaceName: string, splitWorkspaceCompatibility: boolean): string;
|
|
4637
4637
|
}
|
|
4638
4638
|
|
|
4639
4639
|
declare enum VersionFormatForCommit {
|
package/lib/api/Subspace.d.ts
CHANGED
|
@@ -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`.
|
|
@@ -48,12 +48,5 @@ export declare class SubspacesConfiguration {
|
|
|
48
48
|
static requireValidSubspaceName(subspaceName: string, splitWorkspaceCompatibility?: boolean): void;
|
|
49
49
|
static tryLoadFromConfigurationFile(subspaceJsonFilePath: string): SubspacesConfiguration | undefined;
|
|
50
50
|
static tryLoadFromDefaultLocation(rushConfiguration: RushConfiguration): SubspacesConfiguration | undefined;
|
|
51
|
-
/**
|
|
52
|
-
* Returns a name of the form `_RUSH_SUBSPACE_XYZ_TEMP_FOLDER` where `XYZ` is
|
|
53
|
-
* derived from the subspace name.
|
|
54
|
-
*
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
static _convertNameToEnvironmentVariable(subspaceName: string, splitWorkspaceCompatibility: boolean): string;
|
|
58
51
|
}
|
|
59
52
|
//# sourceMappingURL=SubspacesConfiguration.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rushstack/rush-sdk",
|
|
3
|
-
"version": "5.117.
|
|
3
|
+
"version": "5.117.5",
|
|
4
4
|
"description": "An API for interacting with the Rush engine",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/semver": "7.5.0",
|
|
33
33
|
"@types/webpack-env": "1.18.0",
|
|
34
|
-
"@microsoft/rush-lib": "5.117.
|
|
34
|
+
"@microsoft/rush-lib": "5.117.5",
|
|
35
35
|
"@rushstack/heft": "0.66.0",
|
|
36
36
|
"local-node-rig": "1.0.0",
|
|
37
37
|
"@rushstack/stream-collator": "4.1.38",
|