@rushstack/rush-sdk 5.161.0 → 5.162.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.
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference path="../../src/npm-check-typings.d.ts" preserve="true" />
|
|
2
1
|
import type { RushConfiguration } from '../api/RushConfiguration';
|
|
3
2
|
import { type IDepsToUpgradeAnswers } from '../utilities/InteractiveUpgradeUI';
|
|
4
3
|
import type { RushConfigurationProject } from '../api/RushConfigurationProject';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import type * as NpmCheck from 'npm-check';
|
|
1
|
+
import type { INpmCheckPackageSummary } from '@rushstack/npm-check-fork';
|
|
3
2
|
import { type ITerminal } from '@rushstack/terminal';
|
|
4
3
|
import type { RushConfiguration } from '../api/RushConfiguration';
|
|
5
4
|
import { DependencyType } from '../api/PackageJsonEditor';
|
|
@@ -18,7 +17,7 @@ export interface IPackageJsonUpdaterRushUpgradeOptions {
|
|
|
18
17
|
/**
|
|
19
18
|
* The dependencies to be added.
|
|
20
19
|
*/
|
|
21
|
-
packagesToAdd:
|
|
20
|
+
packagesToAdd: INpmCheckPackageSummary[];
|
|
22
21
|
/**
|
|
23
22
|
* If specified, other packages that use this dependency will also have their package.json's updated.
|
|
24
23
|
*/
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import type * as NpmCheck from 'npm-check';
|
|
1
|
+
import type { INpmCheckPackageSummary } from '@rushstack/npm-check-fork';
|
|
3
2
|
export interface IUIGroup {
|
|
4
3
|
title: string;
|
|
5
4
|
bgColor?: string;
|
|
@@ -10,13 +9,13 @@ export interface IUIGroup {
|
|
|
10
9
|
};
|
|
11
10
|
}
|
|
12
11
|
export interface IDepsToUpgradeAnswers {
|
|
13
|
-
packages:
|
|
12
|
+
packages: INpmCheckPackageSummary[];
|
|
14
13
|
}
|
|
15
14
|
export interface IUpgradeInteractiveDepChoice {
|
|
16
|
-
value:
|
|
15
|
+
value: INpmCheckPackageSummary;
|
|
17
16
|
name: string | string[];
|
|
18
17
|
short: string;
|
|
19
18
|
}
|
|
20
19
|
export declare const UI_GROUPS: IUIGroup[];
|
|
21
|
-
export declare const upgradeInteractive: (pkgs:
|
|
20
|
+
export declare const upgradeInteractive: (pkgs: INpmCheckPackageSummary[]) => Promise<IDepsToUpgradeAnswers>;
|
|
22
21
|
//# sourceMappingURL=InteractiveUpgradeUI.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rushstack/rush-sdk",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.162.0",
|
|
4
4
|
"description": "An API for interacting with the Rush engine",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@pnpm/lockfile.types": "~1.0.3",
|
|
38
38
|
"tapable": "2.2.1",
|
|
39
|
-
"@rushstack/node-core-library": "5.17.0",
|
|
40
39
|
"@rushstack/lookup-by-path": "0.8.3",
|
|
40
|
+
"@rushstack/node-core-library": "5.17.0",
|
|
41
41
|
"@rushstack/package-deps-hash": "4.5.1",
|
|
42
42
|
"@rushstack/terminal": "0.19.1"
|
|
43
43
|
},
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"@types/webpack-env": "1.18.8",
|
|
47
47
|
"eslint": "~9.37.0",
|
|
48
48
|
"webpack": "~5.98.0",
|
|
49
|
-
"@microsoft/rush-lib": "5.161.0",
|
|
50
49
|
"@rushstack/heft": "1.1.1",
|
|
51
50
|
"@rushstack/heft-webpack5-plugin": "1.2.1",
|
|
52
|
-
"@
|
|
53
|
-
"
|
|
51
|
+
"@microsoft/rush-lib": "5.162.0",
|
|
52
|
+
"@rushstack/stream-collator": "4.1.113",
|
|
54
53
|
"@rushstack/webpack-preserve-dynamic-require-plugin": "0.11.112",
|
|
55
|
-
"@rushstack/
|
|
54
|
+
"@rushstack/ts-command-line": "5.1.1",
|
|
55
|
+
"local-node-rig": "1.0.0"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "heft build --clean",
|