@pnpm/deps.inspection.commands 1100.3.4 → 1100.3.6
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 +26 -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.6",
|
|
4
4
|
"description": "The list, ll, why, and outdated commands of pnpm",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -36,28 +36,28 @@
|
|
|
36
36
|
"open": "^7.4.2",
|
|
37
37
|
"ramda": "npm:@pnpm/ramda@0.28.1",
|
|
38
38
|
"render-help": "^2.0.0",
|
|
39
|
-
"@pnpm/cli.common-cli-options-help": "1100.0.1",
|
|
40
|
-
"@pnpm/cli.utils": "1101.0.9",
|
|
41
39
|
"@pnpm/cli.command": "1100.0.1",
|
|
42
|
-
"@pnpm/
|
|
43
|
-
"@pnpm/
|
|
44
|
-
"@pnpm/config.reader": "1101.6.0",
|
|
45
|
-
"@pnpm/deps.inspection.outdated": "1100.1.5",
|
|
46
|
-
"@pnpm/error": "1100.0.0",
|
|
47
|
-
"@pnpm/global.commands": "1100.0.25",
|
|
48
|
-
"@pnpm/deps.inspection.peers-issues-renderer": "1100.0.4",
|
|
49
|
-
"@pnpm/global.packages": "1100.0.6",
|
|
50
|
-
"@pnpm/network.fetch": "1100.1.0",
|
|
40
|
+
"@pnpm/cli.common-cli-options-help": "1100.0.2",
|
|
41
|
+
"@pnpm/cli.utils": "1101.0.11",
|
|
51
42
|
"@pnpm/config.matcher": "1100.0.1",
|
|
52
|
-
"@pnpm/
|
|
53
|
-
"@pnpm/
|
|
54
|
-
"@pnpm/deps.inspection.list": "1100.0.
|
|
55
|
-
"@pnpm/
|
|
56
|
-
"@pnpm/
|
|
57
|
-
"@pnpm/
|
|
58
|
-
"@pnpm/
|
|
43
|
+
"@pnpm/config.pick-registry-for-package": "1100.0.8",
|
|
44
|
+
"@pnpm/config.reader": "1101.8.0",
|
|
45
|
+
"@pnpm/deps.inspection.list": "1100.0.17",
|
|
46
|
+
"@pnpm/deps.inspection.outdated": "1100.1.7",
|
|
47
|
+
"@pnpm/deps.inspection.peers-checker": "1100.0.13",
|
|
48
|
+
"@pnpm/deps.inspection.peers-issues-renderer": "1100.0.5",
|
|
49
|
+
"@pnpm/error": "1100.0.0",
|
|
50
|
+
"@pnpm/global.commands": "1100.0.27",
|
|
51
|
+
"@pnpm/global.packages": "1100.0.7",
|
|
52
|
+
"@pnpm/installing.modules-yaml": "1100.0.8",
|
|
53
|
+
"@pnpm/lockfile.fs": "1100.1.4",
|
|
54
|
+
"@pnpm/network.auth-header": "1101.1.1",
|
|
55
|
+
"@pnpm/network.fetch": "1100.1.2",
|
|
56
|
+
"@pnpm/resolving.default-resolver": "1100.3.7",
|
|
57
|
+
"@pnpm/resolving.npm-resolver": "1101.5.2",
|
|
58
|
+
"@pnpm/resolving.registry.types": "1100.1.2",
|
|
59
59
|
"@pnpm/store.path": "1100.0.1",
|
|
60
|
-
"@pnpm/
|
|
60
|
+
"@pnpm/types": "1101.3.1"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"@pnpm/logger": "^1001.0.1"
|
|
@@ -71,13 +71,13 @@
|
|
|
71
71
|
"symlink-dir": "^10.0.1",
|
|
72
72
|
"write-yaml-file": "^6.0.0",
|
|
73
73
|
"@pnpm/constants": "1100.0.0",
|
|
74
|
-
"@pnpm/deps.inspection.commands": "1100.3.
|
|
75
|
-
"@pnpm/
|
|
76
|
-
"@pnpm/
|
|
74
|
+
"@pnpm/deps.inspection.commands": "1100.3.6",
|
|
75
|
+
"@pnpm/installing.commands": "1100.8.0",
|
|
76
|
+
"@pnpm/prepare": "1100.0.15",
|
|
77
77
|
"@pnpm/test-fixtures": "1100.0.0",
|
|
78
|
-
"@pnpm/
|
|
79
|
-
"@pnpm/
|
|
80
|
-
"@pnpm/
|
|
78
|
+
"@pnpm/testing.command-defaults": "1100.0.5",
|
|
79
|
+
"@pnpm/testing.registry-mock": "1100.0.5",
|
|
80
|
+
"@pnpm/workspace.projects-filter": "1100.0.20"
|
|
81
81
|
},
|
|
82
82
|
"engines": {
|
|
83
83
|
"node": ">=22.13"
|