@rushstack/rush-sdk 5.75.0 → 5.76.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.
- package/dist/rush-lib.d.ts +28 -8
- package/package.json +9 -9
package/dist/rush-lib.d.ts
CHANGED
|
@@ -1240,6 +1240,11 @@ export declare interface _IPnpmOptionsJson extends IPackageManagerOptionsJsonBas
|
|
|
1240
1240
|
useWorkspaces?: boolean;
|
|
1241
1241
|
}
|
|
1242
1242
|
|
|
1243
|
+
declare interface IRawRepoState {
|
|
1244
|
+
projectState: Map<RushConfigurationProject, Map<string, string>> | undefined;
|
|
1245
|
+
rootDir: string;
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1243
1248
|
/**
|
|
1244
1249
|
* Information about the currently executing command provided to plugins.
|
|
1245
1250
|
* @beta
|
|
@@ -1288,7 +1293,8 @@ declare interface IRushConfigurationProjectJson {
|
|
|
1288
1293
|
packageName: string;
|
|
1289
1294
|
projectFolder: string;
|
|
1290
1295
|
reviewCategory?: string;
|
|
1291
|
-
|
|
1296
|
+
decoupledLocalDependencies: string[];
|
|
1297
|
+
cyclicDependencyProjects?: string[];
|
|
1292
1298
|
versionPolicyName?: string;
|
|
1293
1299
|
shouldPublish?: boolean;
|
|
1294
1300
|
skipRushCheck?: boolean;
|
|
@@ -1373,8 +1379,8 @@ declare interface IRushRepositoryJsonMultipleUrls extends IRushRepositoryJsonBas
|
|
|
1373
1379
|
/**
|
|
1374
1380
|
* Remote url(s) of the repository. If a value is provided, \"rush change\" will
|
|
1375
1381
|
* use one of these to find the right remote to compare against. Specifying multiple URLs
|
|
1376
|
-
* is useful if a GitHub repository is renamed or for
|
|
1377
|
-
*
|
|
1382
|
+
* is useful if a GitHub repository is renamed or for `<projectName>.visualstudio.com` versus
|
|
1383
|
+
* `dev.azure.com/<projectName>` URLs.
|
|
1378
1384
|
*/
|
|
1379
1385
|
urls?: string[];
|
|
1380
1386
|
}
|
|
@@ -2050,6 +2056,10 @@ export declare class ProjectChangeAnalyzer {
|
|
|
2050
2056
|
* @internal
|
|
2051
2057
|
*/
|
|
2052
2058
|
_tryGetProjectDependenciesAsync(project: RushConfigurationProject, terminal: ITerminal): Promise<Map<string, string> | undefined>;
|
|
2059
|
+
/**
|
|
2060
|
+
* @internal
|
|
2061
|
+
*/
|
|
2062
|
+
_ensureInitialized(terminal: ITerminal): IRawRepoState | undefined;
|
|
2053
2063
|
/**
|
|
2054
2064
|
* The project state hash is calculated in the following way:
|
|
2055
2065
|
* - Project dependencies are collected (see ProjectChangeAnalyzer.getPackageDeps)
|
|
@@ -2442,14 +2452,14 @@ export declare class RushConfiguration {
|
|
|
2442
2452
|
* The minimum allowable folder depth for the projectFolder field in the rush.json file.
|
|
2443
2453
|
* This setting provides a way for repository maintainers to discourage nesting of project folders
|
|
2444
2454
|
* that makes the directory tree more difficult to navigate. The default value is 2,
|
|
2445
|
-
* which implements a standard 2-level hierarchy of
|
|
2455
|
+
* which implements a standard 2-level hierarchy of `<categoryFolder>/<projectFolder>/package.json`.
|
|
2446
2456
|
*/
|
|
2447
2457
|
get projectFolderMinDepth(): number;
|
|
2448
2458
|
/**
|
|
2449
2459
|
* The maximum allowable folder depth for the projectFolder field in the rush.json file.
|
|
2450
2460
|
* This setting provides a way for repository maintainers to discourage nesting of project folders
|
|
2451
2461
|
* that makes the directory tree more difficult to navigate. The default value is 2,
|
|
2452
|
-
* which implements on a standard convention of
|
|
2462
|
+
* which implements on a standard convention of `<categoryFolder>/<projectFolder>/package.json`.
|
|
2453
2463
|
*/
|
|
2454
2464
|
get projectFolderMaxDepth(): number;
|
|
2455
2465
|
/**
|
|
@@ -2506,8 +2516,8 @@ export declare class RushConfiguration {
|
|
|
2506
2516
|
/**
|
|
2507
2517
|
* Remote URL(s) of the repository. If a value is provided, \"rush change\" will
|
|
2508
2518
|
* use one of these to find the right remote to compare against. Specifying multiple URLs
|
|
2509
|
-
* is useful if a GitHub repository is renamed or for
|
|
2510
|
-
*
|
|
2519
|
+
* is useful if a GitHub repository is renamed or for `<projectName>.visualstudio.com` versus
|
|
2520
|
+
* `dev.azure.com/<projectName>` URLs.
|
|
2511
2521
|
*/
|
|
2512
2522
|
get repositoryUrls(): string[];
|
|
2513
2523
|
/**
|
|
@@ -2702,7 +2712,7 @@ export declare class RushConfigurationProject {
|
|
|
2702
2712
|
private readonly _packageJsonEditor;
|
|
2703
2713
|
private readonly _tempProjectName;
|
|
2704
2714
|
private readonly _unscopedTempProjectName;
|
|
2705
|
-
private readonly
|
|
2715
|
+
private readonly _decoupledLocalDependencies;
|
|
2706
2716
|
private readonly _versionPolicyName;
|
|
2707
2717
|
private readonly _shouldPublish;
|
|
2708
2718
|
private readonly _skipRushCheck;
|
|
@@ -2761,6 +2771,16 @@ export declare class RushConfigurationProject {
|
|
|
2761
2771
|
*
|
|
2762
2772
|
* These are package names that would be found by RushConfiguration.getProjectByName().
|
|
2763
2773
|
*/
|
|
2774
|
+
get decoupledLocalDependencies(): Set<string>;
|
|
2775
|
+
/**
|
|
2776
|
+
* A list of local projects that appear as devDependencies for this project, but cannot be
|
|
2777
|
+
* locally linked because it would create a cyclic dependency; instead, the last published
|
|
2778
|
+
* version will be installed in the Common folder.
|
|
2779
|
+
*
|
|
2780
|
+
* These are package names that would be found by RushConfiguration.getProjectByName().
|
|
2781
|
+
*
|
|
2782
|
+
* @deprecated Use `decoupledLocalDependencies` instead, as it better describes the purpose of the data.
|
|
2783
|
+
*/
|
|
2764
2784
|
get cyclicDependencyProjects(): Set<string>;
|
|
2765
2785
|
/**
|
|
2766
2786
|
* An array of projects within the Rush configuration which directly depend on this package.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rushstack/rush-sdk",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.76.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.
|
|
15
|
+
"@rushstack/node-core-library": "3.50.1",
|
|
16
16
|
"@types/node-fetch": "1.6.9",
|
|
17
17
|
"tapable": "2.2.1"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@microsoft/rush-lib": "5.
|
|
21
|
-
"@rushstack/eslint-config": "
|
|
22
|
-
"@rushstack/heft": "0.
|
|
23
|
-
"@rushstack/heft-node-rig": "1.
|
|
24
|
-
"@rushstack/stream-collator": "4.0.
|
|
25
|
-
"@rushstack/ts-command-line": "4.12.
|
|
26
|
-
"@rushstack/terminal": "0.3.
|
|
20
|
+
"@microsoft/rush-lib": "5.76.0",
|
|
21
|
+
"@rushstack/eslint-config": "3.0.0",
|
|
22
|
+
"@rushstack/heft": "0.47.0",
|
|
23
|
+
"@rushstack/heft-node-rig": "1.10.0",
|
|
24
|
+
"@rushstack/stream-collator": "4.0.193",
|
|
25
|
+
"@rushstack/ts-command-line": "4.12.2",
|
|
26
|
+
"@rushstack/terminal": "0.3.62",
|
|
27
27
|
"@types/heft-jest": "1.0.1",
|
|
28
28
|
"@types/semver": "7.3.5",
|
|
29
29
|
"@types/webpack-env": "1.13.0"
|