@rushstack/rush-sdk 5.83.4 → 5.85.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 +19 -5
- package/package.json +2 -2
package/dist/rush-lib.d.ts
CHANGED
|
@@ -306,7 +306,7 @@ export declare class CredentialCache {
|
|
|
306
306
|
private constructor();
|
|
307
307
|
static initializeAsync(options: ICredentialCacheOptions): Promise<CredentialCache>;
|
|
308
308
|
static usingAsync(options: ICredentialCacheOptions, doActionAsync: (credentialCache: CredentialCache) => Promise<void> | void): Promise<void>;
|
|
309
|
-
setCacheEntry(cacheId: string,
|
|
309
|
+
setCacheEntry(cacheId: string, entry: ICredentialCacheEntry): void;
|
|
310
310
|
tryGetCacheEntry(cacheId: string): ICredentialCacheEntry | undefined;
|
|
311
311
|
deleteCacheEntry(cacheId: string): void;
|
|
312
312
|
trimExpiredEntries(): void;
|
|
@@ -549,8 +549,6 @@ export declare enum EnvironmentVariableNames {
|
|
|
549
549
|
* @remarks
|
|
550
550
|
* Specify `1` to enable the build cache or `0` to disable it.
|
|
551
551
|
*
|
|
552
|
-
* If set to `0`, this is equivalent to passing the `--disable-build-cache` flag.
|
|
553
|
-
*
|
|
554
552
|
* If there is no build cache configured, then this environment variable is ignored.
|
|
555
553
|
*/
|
|
556
554
|
RUSH_BUILD_CACHE_ENABLED = "RUSH_BUILD_CACHE_ENABLED",
|
|
@@ -804,6 +802,7 @@ export declare interface ICreateOperationsContext {
|
|
|
804
802
|
export declare interface ICredentialCacheEntry {
|
|
805
803
|
expires?: Date;
|
|
806
804
|
credential: string;
|
|
805
|
+
credentialMetadata?: object;
|
|
807
806
|
}
|
|
808
807
|
|
|
809
808
|
/**
|
|
@@ -887,6 +886,11 @@ export declare interface IExperimentsJson {
|
|
|
887
886
|
* in common/config/rush/command-line.json.
|
|
888
887
|
*/
|
|
889
888
|
phasedCommands?: boolean;
|
|
889
|
+
/**
|
|
890
|
+
* If true, perform a clean install after when running `rush install` or `rush update` if the
|
|
891
|
+
* `.npmrc` file has changed since the last install.
|
|
892
|
+
*/
|
|
893
|
+
cleanInstallAfterNpmrcChanges?: boolean;
|
|
890
894
|
}
|
|
891
895
|
|
|
892
896
|
/**
|
|
@@ -989,6 +993,14 @@ declare interface ILocalBuildCacheJson extends IBaseBuildCacheJson {
|
|
|
989
993
|
readonly cacheProvider: 'local-only';
|
|
990
994
|
}
|
|
991
995
|
|
|
996
|
+
/**
|
|
997
|
+
* @internal
|
|
998
|
+
*/
|
|
999
|
+
export declare interface _ILockfileValidityCheckOptions {
|
|
1000
|
+
statePropertiesToIgnore?: string[];
|
|
1001
|
+
rushVerb?: string;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
992
1004
|
declare interface ILockStepVersionJson extends IVersionPolicyJson {
|
|
993
1005
|
version: string;
|
|
994
1006
|
nextBump?: string;
|
|
@@ -1692,14 +1704,16 @@ export declare class _LastInstallFlag {
|
|
|
1692
1704
|
/**
|
|
1693
1705
|
* Returns true if the file exists and the contents match the current state.
|
|
1694
1706
|
*/
|
|
1695
|
-
isValid(): boolean;
|
|
1707
|
+
isValid(options?: _ILockfileValidityCheckOptions): boolean;
|
|
1696
1708
|
/**
|
|
1697
1709
|
* Same as isValid(), but with an additional check: If the current state is not equal to the previous
|
|
1698
1710
|
* state, and an the current state causes an error, then throw an exception with a friendly message.
|
|
1699
1711
|
*
|
|
1700
1712
|
* @internal
|
|
1701
1713
|
*/
|
|
1702
|
-
checkValidAndReportStoreIssues(
|
|
1714
|
+
checkValidAndReportStoreIssues(options: _ILockfileValidityCheckOptions & {
|
|
1715
|
+
rushVerb: string;
|
|
1716
|
+
}): boolean;
|
|
1703
1717
|
private _isValid;
|
|
1704
1718
|
/**
|
|
1705
1719
|
* Writes the flag file to disk with the current state
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rushstack/rush-sdk",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.85.0",
|
|
4
4
|
"description": "An API for interacting with the Rush engine",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"tapable": "2.2.1"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@microsoft/rush-lib": "5.
|
|
20
|
+
"@microsoft/rush-lib": "5.85.0",
|
|
21
21
|
"@rushstack/eslint-config": "3.1.1",
|
|
22
22
|
"@rushstack/heft": "0.48.8",
|
|
23
23
|
"@rushstack/heft-node-rig": "1.11.8",
|