@rushstack/rush-sdk 5.57.1 → 5.58.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 +41 -16
- package/package.json +5 -5
package/dist/rush-lib.d.ts
CHANGED
|
@@ -736,6 +736,16 @@ export declare interface IGetChangedProjectsOptions {
|
|
|
736
736
|
targetBranchName: string;
|
|
737
737
|
terminal: ITerminal;
|
|
738
738
|
shouldFetch?: boolean;
|
|
739
|
+
/**
|
|
740
|
+
* If set to `true`, consider a project's external dependency installation layout as defined in the
|
|
741
|
+
* package manager lockfile when determining if it has changed.
|
|
742
|
+
*/
|
|
743
|
+
includeExternalDependencies: boolean;
|
|
744
|
+
/**
|
|
745
|
+
* If set to `true` apply the `incrementalBuildIgnoredGlobs` property in a project's `rush-project.json`
|
|
746
|
+
* and exclude matched files from change detection.
|
|
747
|
+
*/
|
|
748
|
+
enableFiltering: boolean;
|
|
739
749
|
}
|
|
740
750
|
|
|
741
751
|
declare interface IIndividualVersionJson extends IVersionPolicyJson {
|
|
@@ -948,14 +958,12 @@ declare interface IRushPluginsConfigurationJson {
|
|
|
948
958
|
plugins: IRushPluginConfiguration[];
|
|
949
959
|
}
|
|
950
960
|
|
|
961
|
+
declare type IRushRepositoryJson = IRushRepositoryJsonSingleUrl | IRushRepositoryJsonMultipleUrls;
|
|
962
|
+
|
|
951
963
|
/**
|
|
952
964
|
* Part of IRushConfigurationJson.
|
|
953
965
|
*/
|
|
954
|
-
declare interface
|
|
955
|
-
/**
|
|
956
|
-
* The remote url of the repository. This helps "rush change" find the right remote to compare against.
|
|
957
|
-
*/
|
|
958
|
-
url?: string;
|
|
966
|
+
declare interface IRushRepositoryJsonBase {
|
|
959
967
|
/**
|
|
960
968
|
* The default branch name. This tells "rush change" which remote branch to compare against.
|
|
961
969
|
*/
|
|
@@ -967,6 +975,26 @@ declare interface IRushRepositoryJson {
|
|
|
967
975
|
defaultRemote?: string;
|
|
968
976
|
}
|
|
969
977
|
|
|
978
|
+
declare interface IRushRepositoryJsonMultipleUrls extends IRushRepositoryJsonBase {
|
|
979
|
+
/**
|
|
980
|
+
* Remote url(s) of the repository. If a value is provided, \"rush change\" will
|
|
981
|
+
* use one of these to find the right remote to compare against. Specifying multiple URLs
|
|
982
|
+
* is useful if a GitHub repository is renamed or for "<projectName>.visualstudio.com" vs
|
|
983
|
+
* "dev.azure.com/<projectName>" URLs.
|
|
984
|
+
*/
|
|
985
|
+
urls?: string[];
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
declare interface IRushRepositoryJsonSingleUrl extends IRushRepositoryJsonBase {
|
|
989
|
+
/**
|
|
990
|
+
* The remote url of the repository. If a value is provided,
|
|
991
|
+
* \"rush change\" will use it to find the right remote to compare against.
|
|
992
|
+
*
|
|
993
|
+
* @deprecated Use "urls" instead.
|
|
994
|
+
*/
|
|
995
|
+
url?: string;
|
|
996
|
+
}
|
|
997
|
+
|
|
970
998
|
/**
|
|
971
999
|
* @beta
|
|
972
1000
|
*/
|
|
@@ -1459,16 +1487,10 @@ export declare class ProjectChangeAnalyzer {
|
|
|
1459
1487
|
_filterProjectDataAsync<T>(project: RushConfigurationProject, unfilteredProjectData: Map<string, T>, rootDir: string, terminal: ITerminal): Promise<Map<string, T>>;
|
|
1460
1488
|
/**
|
|
1461
1489
|
* Gets a list of projects that have changed in the current state of the repo
|
|
1462
|
-
* when compared to the specified branch
|
|
1463
|
-
*/
|
|
1464
|
-
getProjectsWithChangesAsync(options: IGetChangedProjectsOptions): Promise<Set<RushConfigurationProject>>;
|
|
1465
|
-
/**
|
|
1466
|
-
* Gets a list of projects that have changed in the current state of the repo
|
|
1467
|
-
* when compared to the specified branch, taking the shrinkwrap and settings in
|
|
1490
|
+
* when compared to the specified branch, optionally taking the shrinkwrap and settings in
|
|
1468
1491
|
* the rush-project.json file into consideration.
|
|
1469
1492
|
*/
|
|
1470
|
-
|
|
1471
|
-
private _getChangedProjectsInternalAsync;
|
|
1493
|
+
getChangedProjectsAsync(options: IGetChangedProjectsOptions): Promise<Set<RushConfigurationProject>>;
|
|
1472
1494
|
private _getData;
|
|
1473
1495
|
private _getIgnoreMatcherForProjectAsync;
|
|
1474
1496
|
private _getRepoDeps;
|
|
@@ -1620,7 +1642,7 @@ export declare class RushConfiguration {
|
|
|
1620
1642
|
private _gitChangeLogUpdateCommitMessage;
|
|
1621
1643
|
private _gitTagSeparator;
|
|
1622
1644
|
private _hotfixChangeEnabled;
|
|
1623
|
-
private
|
|
1645
|
+
private _repositoryUrls;
|
|
1624
1646
|
private _repositoryDefaultBranch;
|
|
1625
1647
|
private _repositoryDefaultRemote;
|
|
1626
1648
|
private _npmOptions;
|
|
@@ -1898,9 +1920,12 @@ export declare class RushConfiguration {
|
|
|
1898
1920
|
*/
|
|
1899
1921
|
get hotfixChangeEnabled(): boolean;
|
|
1900
1922
|
/**
|
|
1901
|
-
*
|
|
1923
|
+
* Remote URL(s) of the repository. If a value is provided, \"rush change\" will
|
|
1924
|
+
* use one of these to find the right remote to compare against. Specifying multiple URLs
|
|
1925
|
+
* is useful if a GitHub repository is renamed or for "<projectName>.visualstudio.com" vs
|
|
1926
|
+
* "dev.azure.com/<projectName>" URLs.
|
|
1902
1927
|
*/
|
|
1903
|
-
get
|
|
1928
|
+
get repositoryUrls(): string[];
|
|
1904
1929
|
/**
|
|
1905
1930
|
* The default branch name. This tells "rush change" which remote branch to compare against.
|
|
1906
1931
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rushstack/rush-sdk",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.58.0",
|
|
4
4
|
"description": "An API for interacting with the Rush engine",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
"typings": "dist/rush-lib.d.ts",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@rushstack/node-core-library": "3.44.
|
|
15
|
+
"@rushstack/node-core-library": "3.44.2",
|
|
16
16
|
"@types/node-fetch": "1.6.9",
|
|
17
17
|
"tapable": "2.2.1"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@microsoft/rush-lib": "5.
|
|
20
|
+
"@microsoft/rush-lib": "5.58.0",
|
|
21
21
|
"@rushstack/eslint-config": "2.5.0",
|
|
22
|
-
"@rushstack/heft": "0.
|
|
23
|
-
"@rushstack/heft-node-rig": "1.
|
|
22
|
+
"@rushstack/heft": "0.44.0",
|
|
23
|
+
"@rushstack/heft-node-rig": "1.5.0",
|
|
24
24
|
"@types/heft-jest": "1.0.1",
|
|
25
25
|
"@types/node": "12.20.24",
|
|
26
26
|
"@types/semver": "7.3.5"
|