@pnpm/deps.inspection.commands 1100.3.3 → 1100.3.5
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/view/index.js +19 -0
- package/package.json +29 -26
package/lib/view/index.js
CHANGED
|
@@ -97,10 +97,29 @@ export async function handler(opts, params) {
|
|
|
97
97
|
if (info.homepage) {
|
|
98
98
|
lines.push(chalk.underline.blue(info.homepage));
|
|
99
99
|
}
|
|
100
|
+
if (info.deprecated) {
|
|
101
|
+
lines.push('');
|
|
102
|
+
lines.push(`${chalk.red('DEPRECATED!')} - ${info.deprecated}`);
|
|
103
|
+
}
|
|
100
104
|
if (info.keywords && info.keywords.length > 0) {
|
|
101
105
|
lines.push('');
|
|
102
106
|
lines.push(`keywords: ${chalk.cyan(info.keywords.join(', '))}`);
|
|
103
107
|
}
|
|
108
|
+
if (info.bin) {
|
|
109
|
+
let bins = [];
|
|
110
|
+
if (typeof info.bin === 'string') {
|
|
111
|
+
if (info.bin.length > 0 && info.name) {
|
|
112
|
+
bins = [info.name[0] === '@' ? info.name.slice(info.name.indexOf('/') + 1) : info.name];
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
else {
|
|
116
|
+
bins = Object.keys(info.bin);
|
|
117
|
+
}
|
|
118
|
+
if (bins.length > 0) {
|
|
119
|
+
lines.push('');
|
|
120
|
+
lines.push(`bin: ${chalk.cyan(bins.join(', '))}`);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
104
123
|
if (info.dist) {
|
|
105
124
|
lines.push('');
|
|
106
125
|
lines.push(chalk.bold('dist'));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/deps.inspection.commands",
|
|
3
|
-
"version": "1100.3.
|
|
3
|
+
"version": "1100.3.5",
|
|
4
4
|
"description": "The list, ll, why, and outdated commands of pnpm",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -8,7 +8,10 @@
|
|
|
8
8
|
],
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"funding": "https://opencollective.com/pnpm",
|
|
11
|
-
"repository":
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/pnpm/pnpm/tree/main/deps/inspection/commands"
|
|
14
|
+
},
|
|
12
15
|
"homepage": "https://github.com/pnpm/pnpm/tree/main/deps/inspection/commands#readme",
|
|
13
16
|
"bugs": {
|
|
14
17
|
"url": "https://github.com/pnpm/pnpm/issues"
|
|
@@ -33,28 +36,28 @@
|
|
|
33
36
|
"open": "^7.4.2",
|
|
34
37
|
"ramda": "npm:@pnpm/ramda@0.28.1",
|
|
35
38
|
"render-help": "^2.0.0",
|
|
39
|
+
"@pnpm/cli.common-cli-options-help": "1100.0.2",
|
|
36
40
|
"@pnpm/cli.command": "1100.0.1",
|
|
41
|
+
"@pnpm/cli.utils": "1101.0.10",
|
|
42
|
+
"@pnpm/config.reader": "1101.7.0",
|
|
37
43
|
"@pnpm/config.matcher": "1100.0.1",
|
|
38
|
-
"@pnpm/deps.inspection.
|
|
39
|
-
"@pnpm/deps.inspection.
|
|
40
|
-
"@pnpm/
|
|
41
|
-
"@pnpm/
|
|
42
|
-
"@pnpm/deps.inspection.
|
|
43
|
-
"@pnpm/
|
|
44
|
+
"@pnpm/deps.inspection.peers-checker": "1100.0.13",
|
|
45
|
+
"@pnpm/deps.inspection.list": "1100.0.16",
|
|
46
|
+
"@pnpm/config.pick-registry-for-package": "1100.0.8",
|
|
47
|
+
"@pnpm/deps.inspection.peers-issues-renderer": "1100.0.5",
|
|
48
|
+
"@pnpm/deps.inspection.outdated": "1100.1.6",
|
|
49
|
+
"@pnpm/network.auth-header": "1101.1.1",
|
|
50
|
+
"@pnpm/global.packages": "1100.0.7",
|
|
51
|
+
"@pnpm/global.commands": "1100.0.26",
|
|
52
|
+
"@pnpm/installing.modules-yaml": "1100.0.8",
|
|
44
53
|
"@pnpm/error": "1100.0.0",
|
|
45
|
-
"@pnpm/cli.utils": "1101.0.8",
|
|
46
|
-
"@pnpm/global.packages": "1100.0.5",
|
|
47
|
-
"@pnpm/lockfile.fs": "1100.1.2",
|
|
48
|
-
"@pnpm/config.pick-registry-for-package": "1100.0.6",
|
|
49
|
-
"@pnpm/network.auth-header": "1101.0.0",
|
|
50
|
-
"@pnpm/installing.modules-yaml": "1100.0.6",
|
|
51
|
-
"@pnpm/resolving.default-resolver": "1100.3.4",
|
|
52
|
-
"@pnpm/network.fetch": "1100.0.8",
|
|
53
|
-
"@pnpm/resolving.registry.types": "1100.1.0",
|
|
54
|
-
"@pnpm/resolving.npm-resolver": "1101.4.0",
|
|
55
|
-
"@pnpm/global.commands": "1100.0.24",
|
|
56
54
|
"@pnpm/store.path": "1100.0.1",
|
|
57
|
-
"@pnpm/
|
|
55
|
+
"@pnpm/resolving.npm-resolver": "1101.5.1",
|
|
56
|
+
"@pnpm/types": "1101.3.1",
|
|
57
|
+
"@pnpm/resolving.default-resolver": "1100.3.6",
|
|
58
|
+
"@pnpm/network.fetch": "1100.1.1",
|
|
59
|
+
"@pnpm/resolving.registry.types": "1100.1.2",
|
|
60
|
+
"@pnpm/lockfile.fs": "1100.1.4"
|
|
58
61
|
},
|
|
59
62
|
"peerDependencies": {
|
|
60
63
|
"@pnpm/logger": "^1001.0.1"
|
|
@@ -68,13 +71,13 @@
|
|
|
68
71
|
"symlink-dir": "^10.0.1",
|
|
69
72
|
"write-yaml-file": "^6.0.0",
|
|
70
73
|
"@pnpm/constants": "1100.0.0",
|
|
71
|
-
"@pnpm/
|
|
72
|
-
"@pnpm/
|
|
74
|
+
"@pnpm/installing.commands": "1100.7.3",
|
|
75
|
+
"@pnpm/deps.inspection.commands": "1100.3.5",
|
|
76
|
+
"@pnpm/testing.registry-mock": "1100.0.4",
|
|
73
77
|
"@pnpm/test-fixtures": "1100.0.0",
|
|
74
|
-
"@pnpm/
|
|
75
|
-
"@pnpm/
|
|
76
|
-
"@pnpm/
|
|
77
|
-
"@pnpm/installing.commands": "1100.7.1"
|
|
78
|
+
"@pnpm/prepare": "1100.0.14",
|
|
79
|
+
"@pnpm/testing.command-defaults": "1100.0.4",
|
|
80
|
+
"@pnpm/workspace.projects-filter": "1100.0.19"
|
|
78
81
|
},
|
|
79
82
|
"engines": {
|
|
80
83
|
"node": ">=22.13"
|