@rushstack/rush-sdk 5.83.4 → 5.84.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.
Files changed (2) hide show
  1. package/dist/rush-lib.d.ts +17 -2
  2. package/package.json +2 -2
@@ -887,6 +887,11 @@ export declare interface IExperimentsJson {
887
887
  * in common/config/rush/command-line.json.
888
888
  */
889
889
  phasedCommands?: boolean;
890
+ /**
891
+ * If true, perform a clean install after when running `rush install` or `rush update` if the
892
+ * `.npmrc` file has changed since the last install.
893
+ */
894
+ cleanInstallAfterNpmrcChanges?: boolean;
890
895
  }
891
896
 
892
897
  /**
@@ -989,6 +994,14 @@ declare interface ILocalBuildCacheJson extends IBaseBuildCacheJson {
989
994
  readonly cacheProvider: 'local-only';
990
995
  }
991
996
 
997
+ /**
998
+ * @internal
999
+ */
1000
+ export declare interface _ILockfileValidityCheckOptions {
1001
+ statePropertiesToIgnore?: string[];
1002
+ rushVerb?: string;
1003
+ }
1004
+
992
1005
  declare interface ILockStepVersionJson extends IVersionPolicyJson {
993
1006
  version: string;
994
1007
  nextBump?: string;
@@ -1692,14 +1705,16 @@ export declare class _LastInstallFlag {
1692
1705
  /**
1693
1706
  * Returns true if the file exists and the contents match the current state.
1694
1707
  */
1695
- isValid(): boolean;
1708
+ isValid(options?: _ILockfileValidityCheckOptions): boolean;
1696
1709
  /**
1697
1710
  * Same as isValid(), but with an additional check: If the current state is not equal to the previous
1698
1711
  * state, and an the current state causes an error, then throw an exception with a friendly message.
1699
1712
  *
1700
1713
  * @internal
1701
1714
  */
1702
- checkValidAndReportStoreIssues(rushVerb: string): boolean;
1715
+ checkValidAndReportStoreIssues(options: _ILockfileValidityCheckOptions & {
1716
+ rushVerb: string;
1717
+ }): boolean;
1703
1718
  private _isValid;
1704
1719
  /**
1705
1720
  * 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.83.4",
3
+ "version": "5.84.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.83.4",
20
+ "@microsoft/rush-lib": "5.84.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",