@rushstack/rush-sdk 5.107.4 → 5.108.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.
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.37.1"
8
+ "packageVersion": "7.38.0"
9
9
  }
10
10
  ]
11
11
  }
@@ -1,8 +1,8 @@
1
1
  import type { CommandLineFlagParameter, CommandLineIntegerParameter, CommandLineStringParameter } from '@rushstack/ts-command-line';
2
+ import { type ITerminal } from '@rushstack/node-core-library';
2
3
  import { BaseRushAction, type IBaseRushActionOptions } from './BaseRushAction';
3
4
  import type { IInstallManagerOptions } from '../../logic/base/BaseInstallManagerTypes';
4
5
  import type { SelectionParameterSet } from '../parsing/SelectionParameterSet';
5
- import { type ITerminal } from '@rushstack/node-core-library';
6
6
  /**
7
7
  * This is the common base class for InstallAction and UpdateAction.
8
8
  */
@@ -16,6 +16,7 @@ export declare abstract class BaseInstallAction extends BaseRushAction {
16
16
  protected readonly _debugPackageManagerParameter: CommandLineFlagParameter;
17
17
  protected readonly _maxInstallAttempts: CommandLineIntegerParameter;
18
18
  protected readonly _ignoreHooksParameter: CommandLineFlagParameter;
19
+ protected readonly _offlineParameter: CommandLineFlagParameter;
19
20
  protected _selectionParameters?: SelectionParameterSet;
20
21
  constructor(options: IBaseRushActionOptions);
21
22
  protected abstract buildInstallOptionsAsync(): Promise<IInstallManagerOptions>;
@@ -14,7 +14,7 @@ export declare class PurgeManager {
14
14
  * Performs the AsyncRecycler.deleteAll() operation. This should be called before
15
15
  * the PurgeManager instance is disposed.
16
16
  */
17
- deleteAll(): void;
17
+ startDeleteAllAsync(): Promise<void>;
18
18
  /**
19
19
  * Delete everything from the common/temp folder
20
20
  */
@@ -40,6 +40,11 @@ export interface IInstallManagerOptions {
40
40
  * (pnpmfile.js script logic, registry changes, etc).
41
41
  */
42
42
  recheckShrinkwrap: boolean;
43
+ /**
44
+ * Do not attempt to access the network. Report an error if the required dependencies
45
+ * cannot be obtained from the local cache.
46
+ */
47
+ offline: boolean;
43
48
  /**
44
49
  * The value of the "--network-concurrency" command-line parameter, which
45
50
  * is a diagnostic option used to troubleshoot network failures.
@@ -32,7 +32,7 @@ export declare class AsyncRecycler {
32
32
  * NOTE: To avoid spawning multiple instances of the same command, moveFolder()
33
33
  * MUST NOT be called again after deleteAll() has started.
34
34
  */
35
- deleteAll(): void;
35
+ startDeleteAllAsync(): Promise<void>;
36
36
  private _renameOrRecurseInFolder;
37
37
  }
38
38
  //# sourceMappingURL=AsyncRecycler.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rushstack/rush-sdk",
3
- "version": "5.107.4",
3
+ "version": "5.108.0",
4
4
  "description": "An API for interacting with the Rush engine",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,17 +25,17 @@
25
25
  "dependencies": {
26
26
  "@types/node-fetch": "2.6.2",
27
27
  "tapable": "2.2.1",
28
- "@rushstack/node-core-library": "3.60.1"
28
+ "@rushstack/node-core-library": "3.61.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/semver": "7.5.0",
32
32
  "@types/webpack-env": "1.18.0",
33
- "@microsoft/rush-lib": "5.107.4",
34
- "@rushstack/heft": "0.61.3",
33
+ "@microsoft/rush-lib": "5.108.0",
34
+ "@rushstack/heft": "0.62.3",
35
35
  "local-node-rig": "1.0.0",
36
- "@rushstack/stream-collator": "4.1.6",
36
+ "@rushstack/stream-collator": "4.1.10",
37
37
  "@rushstack/ts-command-line": "4.16.1",
38
- "@rushstack/terminal": "0.7.5"
38
+ "@rushstack/terminal": "0.7.9"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "heft build --clean",