@oclif/plugin-which 2.0.5 → 2.1.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/CHANGELOG.md +7 -0
- package/README.md +2 -2
- package/lib/commands/which.js +2 -3
- package/oclif.manifest.json +1 -1
- package/package.json +3 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [2.1.0](https://github.com/oclif/plugin-which/compare/v2.0.5...v2.1.0) (2022-01-28)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* remove cli-ux ([4eaa693](https://github.com/oclif/plugin-which/commit/4eaa6933815cce5e3de0c2b1e602f0e2d81c25e7))
|
|
11
|
+
|
|
5
12
|
### [2.0.5](https://github.com/oclif/plugin-which/compare/v2.0.4...v2.0.5) (2022-01-06)
|
|
6
13
|
|
|
7
14
|
|
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ $ npm install -g @oclif/plugin-which
|
|
|
20
20
|
$ oclif-example COMMAND
|
|
21
21
|
running command...
|
|
22
22
|
$ oclif-example (--version)
|
|
23
|
-
@oclif/plugin-which/2.0
|
|
23
|
+
@oclif/plugin-which/2.1.0 linux-x64 node-v12.22.9
|
|
24
24
|
$ oclif-example --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ oclif-example COMMAND
|
|
@@ -43,5 +43,5 @@ DESCRIPTION
|
|
|
43
43
|
Show which plugin a command is in.
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
_See code: [src/commands/which.ts](https://github.com/oclif/plugin-which/blob/v2.0
|
|
46
|
+
_See code: [src/commands/which.ts](https://github.com/oclif/plugin-which/blob/v2.1.0/src/commands/which.ts)_
|
|
47
47
|
<!-- commandsstop -->
|
package/lib/commands/which.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const core_1 = require("@oclif/core");
|
|
4
|
-
const cli_ux_1 = require("cli-ux");
|
|
5
4
|
class Which extends core_1.Command {
|
|
6
5
|
async run() {
|
|
7
6
|
const { argv } = await this.parse(Which);
|
|
8
7
|
const cmd = this.config.findCommand(argv.join(':'), { must: true });
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
core_1.CliUx.ux.styledHeader(cmd.id);
|
|
9
|
+
core_1.CliUx.ux.styledObject({
|
|
11
10
|
plugin: cmd.pluginName,
|
|
12
11
|
}, ['plugin']);
|
|
13
12
|
}
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"2.0
|
|
1
|
+
{"version":"2.1.0","commands":{"which":{"id":"which","description":"Show which plugin a command is in.","strict":false,"pluginName":"@oclif/plugin-which","pluginAlias":"@oclif/plugin-which","pluginType":"core","aliases":[],"flags":{},"args":[]}}}
|
package/package.json
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oclif/plugin-which",
|
|
3
3
|
"description": "find which plugin a command is in",
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.1.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/oclif/plugin-which/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@oclif/core": "^1.0
|
|
9
|
-
"cli-ux": "^6.0.6",
|
|
8
|
+
"@oclif/core": "^1.2.0",
|
|
10
9
|
"tslib": "^2.0.0"
|
|
11
10
|
},
|
|
12
11
|
"devDependencies": {
|
|
@@ -22,7 +21,7 @@
|
|
|
22
21
|
"globby": "^11",
|
|
23
22
|
"mocha": "^9",
|
|
24
23
|
"nyc": "^15.1.0",
|
|
25
|
-
"oclif": "2.0
|
|
24
|
+
"oclif": "^2.3.0",
|
|
26
25
|
"ts-node": "^9.0.0",
|
|
27
26
|
"typescript": "4.4.3"
|
|
28
27
|
},
|