@pnpm/plugin-commands-doctor 2.0.35 → 3.0.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/lib/doctor.d.ts +1 -1
- package/lib/doctor.js +1 -1
- package/lib/doctor.js.map +1 -1
- package/package.json +6 -6
package/lib/doctor.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Config } from '@pnpm/config';
|
|
2
2
|
export declare const rcOptionsTypes: typeof cliOptionsTypes;
|
|
3
|
-
export declare function cliOptionsTypes():
|
|
3
|
+
export declare function cliOptionsTypes(): Record<string, unknown>;
|
|
4
4
|
export declare const shorthands: {};
|
|
5
5
|
export declare const commandNames: string[];
|
|
6
6
|
export declare function help(): string;
|
package/lib/doctor.js
CHANGED
|
@@ -27,7 +27,7 @@ async function handler(opts) {
|
|
|
27
27
|
if (failedToLoadBuiltInConfig) {
|
|
28
28
|
// If true, means loading npm builtin config failed. Then there may have a prefix error, related: https://github.com/pnpm/pnpm/issues/5404
|
|
29
29
|
logger_1.logger.warn({
|
|
30
|
-
message: 'Load npm builtin configs failed. If the prefix builtin config does not work, you can use "pnpm config
|
|
30
|
+
message: 'Load npm builtin configs failed. If the prefix builtin config does not work, you can use "pnpm config list" to show builtin configs. And then use "pnpm config --global set <key> <value>" to migrate configs from builtin to global.',
|
|
31
31
|
prefix: process.cwd(),
|
|
32
32
|
});
|
|
33
33
|
}
|
package/lib/doctor.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor.js","sourceRoot":"","sources":["../src/doctor.ts"],"names":[],"mappings":";;;;;;AAAA,8DAAoC;AACpC,+CAAyC;AACzC,yCAAqC;AAGxB,QAAA,cAAc,GAAG,eAAe,CAAA;AAE7C,SAAgB,eAAe;IAC7B,OAAO,EAAE,CAAA;AACX,CAAC;AAFD,0CAEC;AAEY,QAAA,UAAU,GAAG,EAAE,CAAA;AAEf,QAAA,YAAY,GAAG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AXD,0BAWC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/plugin-commands-doctor",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Commands for checks of known common issues ",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
"!*.map"
|
|
10
10
|
],
|
|
11
11
|
"engines": {
|
|
12
|
-
"node": ">=
|
|
12
|
+
"node": ">=18.12"
|
|
13
13
|
},
|
|
14
14
|
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/plugin-commands-doctor",
|
|
15
15
|
"keywords": [
|
|
16
|
-
"
|
|
16
|
+
"pnpm9",
|
|
17
17
|
"pnpm",
|
|
18
18
|
"doctor"
|
|
19
19
|
],
|
|
@@ -24,14 +24,14 @@
|
|
|
24
24
|
"homepage": "https://github.com/pnpm/pnpm/blob/main/packages/plugin-commands-doctor#readme",
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"render-help": "^1.0.3",
|
|
27
|
-
"@pnpm/cli-utils": "
|
|
28
|
-
"@pnpm/config": "
|
|
27
|
+
"@pnpm/cli-utils": "3.0.0",
|
|
28
|
+
"@pnpm/config": "21.0.0"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"@pnpm/logger": "^5.0.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@pnpm/plugin-commands-doctor": "
|
|
34
|
+
"@pnpm/plugin-commands-doctor": "3.0.0"
|
|
35
35
|
},
|
|
36
36
|
"funding": "https://opencollective.com/pnpm",
|
|
37
37
|
"exports": {
|