@pnpm/cli.commands 1000.0.0 → 1100.0.1
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/index.d.ts +0 -1
- package/lib/index.js +0 -1
- package/package.json +16 -16
- package/lib/doctor/doctor.d.ts +0 -7
- package/lib/doctor/doctor.js +0 -27
- package/lib/doctor/index.d.ts +0 -2
- package/lib/doctor/index.js +0 -3
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/cli.commands",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1100.0.1",
|
|
4
4
|
"description": "Commands for pnpm CLI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -29,23 +29,23 @@
|
|
|
29
29
|
"ramda": "npm:@pnpm/ramda@0.28.1",
|
|
30
30
|
"render-help": "^2.0.0",
|
|
31
31
|
"split-cmd": "^1.1.0",
|
|
32
|
-
"@pnpm/cli.command": "^
|
|
33
|
-
"@pnpm/cli.
|
|
34
|
-
"@pnpm/
|
|
35
|
-
"@pnpm/config.reader": "
|
|
36
|
-
"@pnpm/
|
|
37
|
-
"@pnpm/workspace.root-finder": "^
|
|
38
|
-
"@pnpm/
|
|
39
|
-
"@pnpm/workspace.workspace-manifest-reader": "^
|
|
32
|
+
"@pnpm/cli.command": "^1100.0.0",
|
|
33
|
+
"@pnpm/cli.parse-cli-args": "^1100.0.0",
|
|
34
|
+
"@pnpm/cli.utils": "^1100.0.1",
|
|
35
|
+
"@pnpm/config.reader": "1100.0.1",
|
|
36
|
+
"@pnpm/workspace.projects-reader": "^1100.0.1",
|
|
37
|
+
"@pnpm/workspace.root-finder": "^1100.0.0",
|
|
38
|
+
"@pnpm/error": "^1100.0.0",
|
|
39
|
+
"@pnpm/workspace.workspace-manifest-reader": "^1100.0.1"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@pnpm/logger": ">=1001.0.0 <1002.0.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@jest/globals": "30.0
|
|
46
|
-
"@types/ramda": "0.
|
|
47
|
-
"@pnpm/cli.commands": "
|
|
48
|
-
"@pnpm/logger": "
|
|
45
|
+
"@jest/globals": "30.3.0",
|
|
46
|
+
"@types/ramda": "0.31.1",
|
|
47
|
+
"@pnpm/cli.commands": "1100.0.1",
|
|
48
|
+
"@pnpm/logger": "1100.0.0"
|
|
49
49
|
},
|
|
50
50
|
"engines": {
|
|
51
51
|
"node": ">=22.13"
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
57
|
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
58
|
+
"test": "pn compile && pn .test",
|
|
59
|
+
"compile": "tsgo --build && pn lint --fix",
|
|
60
|
+
".test": "cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules --disable-warning=ExperimentalWarning --disable-warning=DEP0169\" jest"
|
|
61
61
|
}
|
|
62
62
|
}
|
package/lib/doctor/doctor.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Config } from '@pnpm/config.reader';
|
|
2
|
-
export declare const rcOptionsTypes: typeof cliOptionsTypes;
|
|
3
|
-
export declare function cliOptionsTypes(): Record<string, unknown>;
|
|
4
|
-
export declare const shorthands: {};
|
|
5
|
-
export declare const commandNames: string[];
|
|
6
|
-
export declare function help(): string;
|
|
7
|
-
export declare function handler(opts: Pick<Config, 'failedToLoadBuiltInConfig'>): Promise<void>;
|
package/lib/doctor/doctor.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { docsUrl } from '@pnpm/cli.utils';
|
|
2
|
-
import { logger } from '@pnpm/logger';
|
|
3
|
-
import { renderHelp } from 'render-help';
|
|
4
|
-
export const rcOptionsTypes = cliOptionsTypes;
|
|
5
|
-
export function cliOptionsTypes() {
|
|
6
|
-
return {};
|
|
7
|
-
}
|
|
8
|
-
export const shorthands = {};
|
|
9
|
-
export const commandNames = ['doctor'];
|
|
10
|
-
export function help() {
|
|
11
|
-
return renderHelp({
|
|
12
|
-
description: 'Checks for known common issues.',
|
|
13
|
-
url: docsUrl('doctor'),
|
|
14
|
-
usages: ['pnpm doctor [options]'],
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
export async function handler(opts) {
|
|
18
|
-
const { failedToLoadBuiltInConfig } = opts;
|
|
19
|
-
if (failedToLoadBuiltInConfig) {
|
|
20
|
-
// If true, means loading npm builtin config failed. Then there may have a prefix error, related: https://github.com/pnpm/pnpm/issues/5404
|
|
21
|
-
logger.warn({
|
|
22
|
-
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.',
|
|
23
|
-
prefix: process.cwd(),
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
//# sourceMappingURL=doctor.js.map
|
package/lib/doctor/index.d.ts
DELETED
package/lib/doctor/index.js
DELETED