@rushstack/rush-sdk 5.128.0 → 5.128.2
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
|
@@ -3383,6 +3383,7 @@ export declare class RepoStateFile {
|
|
|
3383
3383
|
private static _jsonSchema;
|
|
3384
3384
|
private _pnpmShrinkwrapHash;
|
|
3385
3385
|
private _preferredVersionsHash;
|
|
3386
|
+
private _packageJsonInjectedDependenciesHash;
|
|
3386
3387
|
private _isValid;
|
|
3387
3388
|
private _modified;
|
|
3388
3389
|
/**
|
|
@@ -3398,6 +3399,10 @@ export declare class RepoStateFile {
|
|
|
3398
3399
|
* The hash of all preferred versions at the end of the last update.
|
|
3399
3400
|
*/
|
|
3400
3401
|
get preferredVersionsHash(): string | undefined;
|
|
3402
|
+
/**
|
|
3403
|
+
* The hash of all preferred versions at the end of the last update.
|
|
3404
|
+
*/
|
|
3405
|
+
get packageJsonInjectedDependenciesHash(): string | undefined;
|
|
3401
3406
|
/**
|
|
3402
3407
|
* If false, the repo-state.json file is not valid and its values cannot be relied upon
|
|
3403
3408
|
*/
|
|
@@ -4734,6 +4739,11 @@ export declare class Subspace {
|
|
|
4734
4739
|
contains(project: RushConfigurationProject): boolean;
|
|
4735
4740
|
/** @internal */
|
|
4736
4741
|
_addProject(project: RushConfigurationProject): void;
|
|
4742
|
+
/**
|
|
4743
|
+
* Returns hash value of injected dependencies in related package.json.
|
|
4744
|
+
* @beta
|
|
4745
|
+
*/
|
|
4746
|
+
getPackageJsonInjectedDependenciesHash(): string | undefined;
|
|
4737
4747
|
}
|
|
4738
4748
|
|
|
4739
4749
|
/**
|
package/lib/api/Subspace.d.ts
CHANGED
|
@@ -124,5 +124,10 @@ export declare class Subspace {
|
|
|
124
124
|
contains(project: RushConfigurationProject): boolean;
|
|
125
125
|
/** @internal */
|
|
126
126
|
_addProject(project: RushConfigurationProject): void;
|
|
127
|
+
/**
|
|
128
|
+
* Returns hash value of injected dependencies in related package.json.
|
|
129
|
+
* @beta
|
|
130
|
+
*/
|
|
131
|
+
getPackageJsonInjectedDependenciesHash(): string | undefined;
|
|
127
132
|
}
|
|
128
133
|
//# sourceMappingURL=Subspace.d.ts.map
|
package/lib/logic/Git.d.ts
CHANGED
|
@@ -91,11 +91,17 @@ export declare class Git {
|
|
|
91
91
|
* `git@github.com:ExampleOrg/ExampleProject.git` --> `https://github.com/ExampleOrg/ExampleProject`
|
|
92
92
|
*/
|
|
93
93
|
static normalizeGitUrlForComparison(gitUrl: string): string;
|
|
94
|
+
/**
|
|
95
|
+
* This will throw errors only if we cannot find Git commandline.
|
|
96
|
+
* If git email didn't configure, this will return undefined; otherwise,
|
|
97
|
+
* returns user.email config
|
|
98
|
+
*/
|
|
99
|
+
tryGetGitEmailAsync(): Promise<string | undefined>;
|
|
94
100
|
/**
|
|
95
101
|
* Returns an object containing either the result of the `git config user.email`
|
|
96
102
|
* command or an error.
|
|
97
103
|
*/
|
|
98
|
-
|
|
104
|
+
private _tryGetGitEmailAsync;
|
|
99
105
|
private _tryGetGitHooksPathAsync;
|
|
100
106
|
private _tryFetchRemoteBranch;
|
|
101
107
|
private _fetchRemoteBranch;
|
|
@@ -10,6 +10,7 @@ export declare class RepoStateFile {
|
|
|
10
10
|
private static _jsonSchema;
|
|
11
11
|
private _pnpmShrinkwrapHash;
|
|
12
12
|
private _preferredVersionsHash;
|
|
13
|
+
private _packageJsonInjectedDependenciesHash;
|
|
13
14
|
private _isValid;
|
|
14
15
|
private _modified;
|
|
15
16
|
/**
|
|
@@ -25,6 +26,10 @@ export declare class RepoStateFile {
|
|
|
25
26
|
* The hash of all preferred versions at the end of the last update.
|
|
26
27
|
*/
|
|
27
28
|
get preferredVersionsHash(): string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* The hash of all preferred versions at the end of the last update.
|
|
31
|
+
*/
|
|
32
|
+
get packageJsonInjectedDependenciesHash(): string | undefined;
|
|
28
33
|
/**
|
|
29
34
|
* If false, the repo-state.json file is not valid and its values cannot be relied upon
|
|
30
35
|
*/
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ISubspacePnpmfileShimSettings } from './IPnpmfile';
|
|
2
|
+
import type { RushConfiguration } from '../../api/RushConfiguration';
|
|
3
|
+
import type { Subspace } from '../../api/Subspace';
|
|
4
|
+
/**
|
|
5
|
+
* Loads PNPM's pnpmfile.js configuration, and invokes it to preprocess package.json files,
|
|
6
|
+
* optionally utilizing a pnpmfile shim to inject preferred versions.
|
|
7
|
+
*/
|
|
8
|
+
export declare class SubspacePnpmfileConfiguration {
|
|
9
|
+
/**
|
|
10
|
+
* Split workspace use global pnpmfile, because in split workspace, user may set `shared-workspace-lockfile=false`.
|
|
11
|
+
* That means each project owns their individual pnpmfile under project folder. While the global pnpmfile could be
|
|
12
|
+
* under the common/temp-split/ folder and be used by all split workspace projects.
|
|
13
|
+
*/
|
|
14
|
+
static writeCommonTempSubspaceGlobalPnpmfileAsync(rushConfiguration: RushConfiguration, subspace: Subspace): Promise<void>;
|
|
15
|
+
static getSubspacePnpmfileShimSettings(rushConfiguration: RushConfiguration, subspace: Subspace): ISubspacePnpmfileShimSettings;
|
|
16
|
+
private static _getProjectNameToInjectedDependenciesMap;
|
|
17
|
+
private static _processDependenciesForTransitiveInjectedInstall;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=SubspacePnpmfileConfiguration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../../../lib-shim/index")._rushSdk_loadInternalModule("logic/pnpm/SubspacePnpmfileConfiguration");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rushstack/rush-sdk",
|
|
3
|
-
"version": "5.128.
|
|
3
|
+
"version": "5.128.2",
|
|
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
|
-
"@microsoft/rush-lib": "5.128.
|
|
35
|
-
"@rushstack/heft": "0.66.18",
|
|
36
|
-
"@rushstack/stream-collator": "4.1.56",
|
|
34
|
+
"@microsoft/rush-lib": "5.128.2",
|
|
37
35
|
"local-node-rig": "1.0.0",
|
|
38
|
-
"@rushstack/
|
|
36
|
+
"@rushstack/stream-collator": "4.1.56",
|
|
37
|
+
"@rushstack/ts-command-line": "4.22.0",
|
|
38
|
+
"@rushstack/heft": "0.66.18"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "heft build --clean",
|