@rushstack/rush-sdk 5.77.2 → 5.78.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 +16 -0
  2. package/package.json +9 -9
@@ -341,6 +341,7 @@ export declare class EnvironmentConfiguration {
341
341
  private static _allowUnsupportedNodeVersion;
342
342
  private static _allowWarningsInSuccessfulBuild;
343
343
  private static _pnpmStorePathOverride;
344
+ private static _pnpmVerifyStoreIntegrity;
344
345
  private static _rushGlobalFolderOverride;
345
346
  private static _buildCacheCredential;
346
347
  private static _buildCacheEnabled;
@@ -375,6 +376,11 @@ export declare class EnvironmentConfiguration {
375
376
  * See {@link EnvironmentVariableNames.RUSH_PNPM_STORE_PATH}
376
377
  */
377
378
  static get pnpmStorePathOverride(): string | undefined;
379
+ /**
380
+ * If specified, enables or disables integrity verification of the pnpm store during install.
381
+ * See {@link EnvironmentVariableNames.RUSH_PNPM_VERIFY_STORE_INTEGRITY}
382
+ */
383
+ static get pnpmVerifyStoreIntegrity(): boolean | undefined;
378
384
  /**
379
385
  * Overrides the location of the `~/.rush` global folder where Rush stores temporary files.
380
386
  * See {@link EnvironmentVariableNames.RUSH_GLOBAL_FOLDER}
@@ -494,6 +500,12 @@ export declare enum EnvironmentVariableNames {
494
500
  * current working directory. An absolute path is recommended.
495
501
  */
496
502
  RUSH_PNPM_STORE_PATH = "RUSH_PNPM_STORE_PATH",
503
+ /**
504
+ * When using PNPM as the package manager, this variable can be used to control whether or not PNPM
505
+ * validates the integrity of the PNPM store during installation. The value of this environment variable must be
506
+ * `1` (for true) or `0` (for false). If not specified, defaults to the value in .npmrc.
507
+ */
508
+ RUSH_PNPM_VERIFY_STORE_INTEGRITY = "RUSH_PNPM_VERIFY_STORE_INTEGRITY",
497
509
  /**
498
510
  * This environment variable can be used to specify the `--target-folder` parameter
499
511
  * for the "rush deploy" command.
@@ -3218,6 +3230,10 @@ export declare class RushLifecycleHooks {
3218
3230
  * A hook map to allow plugins to hook specific named phased commands (defined in command-line.json) before execution.
3219
3231
  */
3220
3232
  runPhasedCommand: HookMap<AsyncSeriesHook<IPhasedCommand>>;
3233
+ /**
3234
+ * The hook to run between preparing the common/temp folder and invoking the package manager during "rush install" or "rush update".
3235
+ */
3236
+ beforeInstall: AsyncSeriesHook<IGlobalCommand>;
3221
3237
  /**
3222
3238
  * A hook to allow plugins to hook custom logic to process telemetry data.
3223
3239
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rushstack/rush-sdk",
3
- "version": "5.77.2",
3
+ "version": "5.78.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.51.1",
15
+ "@rushstack/node-core-library": "3.51.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.77.2",
21
- "@rushstack/eslint-config": "3.0.0",
22
- "@rushstack/heft": "0.47.5",
23
- "@rushstack/heft-node-rig": "1.10.6",
24
- "@rushstack/stream-collator": "4.0.199",
25
- "@rushstack/ts-command-line": "4.12.2",
26
- "@rushstack/terminal": "0.3.68",
20
+ "@microsoft/rush-lib": "5.78.0",
21
+ "@rushstack/eslint-config": "3.0.1",
22
+ "@rushstack/heft": "0.47.9",
23
+ "@rushstack/heft-node-rig": "1.10.11",
24
+ "@rushstack/stream-collator": "4.0.204",
25
+ "@rushstack/ts-command-line": "4.12.3",
26
+ "@rushstack/terminal": "0.3.73",
27
27
  "@types/heft-jest": "1.0.1",
28
28
  "@types/semver": "7.3.5",
29
29
  "@types/webpack-env": "1.13.0"