@oclif/plugin-which 1.0.0 → 1.0.4
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/README.md +2 -3
- package/lib/commands/which.js +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +27 -23
- package/CHANGELOG.md +0 -7
package/README.md
CHANGED
|
@@ -6,7 +6,6 @@ find which plugin a command is in
|
|
|
6
6
|
[](https://npmjs.org/package/@oclif/plugin-which)
|
|
7
7
|
[](https://circleci.com/gh/oclif/plugin-which/tree/master)
|
|
8
8
|
[](https://ci.appveyor.com/project/oclif/plugin-which/branch/master)
|
|
9
|
-
[](https://codecov.io/gh/oclif/plugin-which)
|
|
10
9
|
[](https://npmjs.org/package/@oclif/plugin-which)
|
|
11
10
|
[](https://github.com/oclif/plugin-which/blob/master/package.json)
|
|
12
11
|
|
|
@@ -21,7 +20,7 @@ $ npm install -g @oclif/plugin-which
|
|
|
21
20
|
$ oclif-example COMMAND
|
|
22
21
|
running command...
|
|
23
22
|
$ oclif-example (-v|--version|version)
|
|
24
|
-
@oclif/plugin-which/1.0.
|
|
23
|
+
@oclif/plugin-which/1.0.4 linux-x64 node-v17.2.0
|
|
25
24
|
$ oclif-example --help [COMMAND]
|
|
26
25
|
USAGE
|
|
27
26
|
$ oclif-example COMMAND
|
|
@@ -41,5 +40,5 @@ USAGE
|
|
|
41
40
|
$ oclif-example which COMMAND
|
|
42
41
|
```
|
|
43
42
|
|
|
44
|
-
_See code: [src/commands/which.ts](https://github.com/oclif/plugin-which/blob/v1.0.
|
|
43
|
+
_See code: [src/commands/which.ts](https://github.com/oclif/plugin-which/blob/v1.0.4/src/commands/which.ts)_
|
|
45
44
|
<!-- commandsstop -->
|
package/lib/commands/which.js
CHANGED
|
@@ -8,10 +8,10 @@ class Which extends command_1.Command {
|
|
|
8
8
|
const cmd = this.config.findCommand(args.command, { must: true });
|
|
9
9
|
cli_ux_1.default.styledHeader(cmd.id);
|
|
10
10
|
cli_ux_1.default.styledObject({
|
|
11
|
-
plugin: cmd.pluginName
|
|
11
|
+
plugin: cmd.pluginName,
|
|
12
12
|
}, ['plugin']);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
+
exports.default = Which;
|
|
15
16
|
Which.description = 'show which plugin a command is in';
|
|
16
17
|
Which.args = [{ name: 'command', required: true }];
|
|
17
|
-
exports.default = Which;
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"1.0.
|
|
1
|
+
{"version":"1.0.4","commands":{"which":{"id":"which","description":"show which plugin a command is in","pluginName":"@oclif/plugin-which","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"command","required":true}]}}}
|
package/package.json
CHANGED
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oclif/plugin-which",
|
|
3
3
|
"description": "find which plugin a command is in",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.4",
|
|
5
5
|
"author": "Jeff Dickey @jdxcode",
|
|
6
6
|
"bugs": "https://github.com/oclif/plugin-which/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@oclif/command": "
|
|
9
|
-
"@oclif/config": "
|
|
10
|
-
"cli-ux": "
|
|
11
|
-
"tslib": "^
|
|
8
|
+
"@oclif/command": "1.8.11",
|
|
9
|
+
"@oclif/config": "1.18.2",
|
|
10
|
+
"cli-ux": "5.6.6",
|
|
11
|
+
"tslib": "^2.0.0"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@oclif/dev-cli": "
|
|
15
|
-
"@oclif/plugin-help": "
|
|
16
|
-
"@oclif/test": "
|
|
17
|
-
"@
|
|
18
|
-
"@types/
|
|
19
|
-
"@types/
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
14
|
+
"@oclif/dev-cli": "1.26.9",
|
|
15
|
+
"@oclif/plugin-help": "3.2.15",
|
|
16
|
+
"@oclif/test": "1.2.9",
|
|
17
|
+
"@types/chai": "^4.1.6",
|
|
18
|
+
"@types/mocha": "^8.0.0",
|
|
19
|
+
"@types/node": "^14.0.14",
|
|
20
|
+
"chai": "^4.2.0",
|
|
21
|
+
"eslint": "^7.3.1",
|
|
22
|
+
"eslint-config-oclif": "^3.1.0",
|
|
23
|
+
"eslint-config-oclif-typescript": "^0.2.0",
|
|
24
|
+
"globby": "^11",
|
|
25
|
+
"mocha": "^8",
|
|
26
|
+
"nyc": "^15.1.0",
|
|
27
|
+
"ts-node": "^9.0.0",
|
|
28
|
+
"typescript": "3.8.3"
|
|
28
29
|
},
|
|
29
30
|
"engines": {
|
|
30
31
|
"node": ">=8.0.0"
|
|
@@ -48,9 +49,12 @@
|
|
|
48
49
|
"repository": "oclif/plugin-which",
|
|
49
50
|
"scripts": {
|
|
50
51
|
"postpack": "rm -f oclif.manifest.json",
|
|
51
|
-
"posttest": "
|
|
52
|
-
"prepack": "
|
|
53
|
-
"test": "
|
|
54
|
-
"version": "oclif-dev readme && git add README.md"
|
|
52
|
+
"posttest": "yarn lint",
|
|
53
|
+
"prepack": "yarn build && oclif-dev manifest && oclif-dev readme",
|
|
54
|
+
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
|
|
55
|
+
"version": "oclif-dev readme && git add README.md",
|
|
56
|
+
"lint": "eslint . --ext .ts --config .eslintrc",
|
|
57
|
+
"pretest": "yarn build --noEmit && tsc -p test --noEmit",
|
|
58
|
+
"build": "rm -rf lib && tsc"
|
|
55
59
|
}
|
|
56
60
|
}
|