@oclif/plugin-which 2.0.5 → 2.1.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/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.5 linux-x64 node-v12.22.8
23
+ @oclif/plugin-which/2.1.1 linux-x64 node-v16.17.1
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.5/src/commands/which.ts)_
46
+ _See code: [src/commands/which.ts](https://github.com/oclif/plugin-which/blob/v2.1.1/src/commands/which.ts)_
47
47
  <!-- commandsstop -->
@@ -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
- cli_ux_1.default.styledHeader(cmd.id);
10
- cli_ux_1.default.styledObject({
8
+ core_1.CliUx.ux.styledHeader(cmd.id);
9
+ core_1.CliUx.ux.styledObject({
11
10
  plugin: cmd.pluginName,
12
11
  }, ['plugin']);
13
12
  }
@@ -1 +1 @@
1
- {"version":"2.0.5","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":[]}}}
1
+ {"version":"2.1.1","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,30 +1,29 @@
1
1
  {
2
2
  "name": "@oclif/plugin-which",
3
3
  "description": "find which plugin a command is in",
4
- "version": "2.0.5",
4
+ "version": "2.1.1",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/plugin-which/issues",
7
7
  "dependencies": {
8
- "@oclif/core": "^1.0.10",
9
- "cli-ux": "^6.0.6",
10
- "tslib": "^2.0.0"
8
+ "@oclif/core": "^1.18.0",
9
+ "tslib": "^2.4.0"
11
10
  },
12
11
  "devDependencies": {
13
- "@oclif/plugin-help": "^5.1.10",
14
- "@oclif/test": "^2.0.3",
15
- "@types/chai": "^4.1.6",
12
+ "@oclif/plugin-help": "^5.1.15",
13
+ "@oclif/test": "^2.2.3",
14
+ "@types/chai": "^4.3.1",
16
15
  "@types/mocha": "^9",
17
- "@types/node": "^14.18.3",
16
+ "@types/node": "^14.18.32",
18
17
  "chai": "^4.2.0",
19
18
  "eslint": "^7.32.0",
20
19
  "eslint-config-oclif": "^4.0.0",
21
- "eslint-config-oclif-typescript": "^1.0.2",
20
+ "eslint-config-oclif-typescript": "^1.0.3",
22
21
  "globby": "^11",
23
22
  "mocha": "^9",
24
23
  "nyc": "^15.1.0",
25
- "oclif": "2.0.1",
24
+ "oclif": "^2.6.3",
26
25
  "ts-node": "^9.0.0",
27
- "typescript": "4.4.3"
26
+ "typescript": "4.6.4"
28
27
  },
29
28
  "engines": {
30
29
  "node": ">=12.0.0"
@@ -57,4 +56,4 @@
57
56
  "build": "rm -rf lib && tsc"
58
57
  },
59
58
  "main": "lib/index.js"
60
- }
59
+ }
package/CHANGELOG.md DELETED
@@ -1,65 +0,0 @@
1
- # Changelog
2
-
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
-
5
- ### [2.0.5](https://github.com/oclif/plugin-which/compare/v2.0.4...v2.0.5) (2022-01-06)
6
-
7
-
8
- ### Bug Fixes
9
-
10
- * add main to package.json ([#212](https://github.com/oclif/plugin-which/issues/212)) ([bff22f0](https://github.com/oclif/plugin-which/commit/bff22f062c0fef6fb9f4679e09f8ab9c48255977))
11
-
12
- ### [2.0.4](https://github.com/oclif/plugin-which/compare/v2.0.3...v2.0.4) (2021-12-17)
13
-
14
-
15
- ### Bug Fixes
16
-
17
- * bump deps ([0a1c4d9](https://github.com/oclif/plugin-which/commit/0a1c4d9b385d692dc7ec98c3ac85ebb7b0693542))
18
-
19
- ### [2.0.3](https://github.com/oclif/plugin-which/compare/v2.0.2...v2.0.3) (2021-12-17)
20
-
21
- ### [2.0.2](https://github.com/oclif/plugin-which/compare/v2.0.1...v2.0.2) (2021-12-02)
22
-
23
-
24
- ### Bug Fixes
25
-
26
- * allow commands with spaces ([7b1910a](https://github.com/oclif/plugin-which/commit/7b1910aa314cb98dd7d0ae44e195eccd94d25669))
27
-
28
- ### [2.0.1](https://github.com/oclif/plugin-which/compare/v2.0.0...v2.0.1) (2021-12-02)
29
-
30
-
31
- ### Bug Fixes
32
-
33
- * bump core version ([49edb83](https://github.com/oclif/plugin-which/commit/49edb83b744e2de27fc0a0ed16447b75368c4086))
34
- * get deps aligned ([9396b57](https://github.com/oclif/plugin-which/commit/9396b5768f946286c97d9239120bd5fb58defdbf))
35
- * pin oclif ([377c6fa](https://github.com/oclif/plugin-which/commit/377c6fa2d3a175cd8ffa52552bb266c2ef7ebf85))
36
-
37
- ## [1.0.3](https://github.com/oclif/plugin-which/compare/v1.0.2...v1.0.3) (2018-10-13)
38
-
39
-
40
- ### Bug Fixes
41
-
42
- * remove greenkeeper badge ([281ab74](https://github.com/oclif/plugin-which/commit/281ab74))
43
-
44
- ## [1.0.2](https://github.com/oclif/plugin-which/compare/v1.0.1...v1.0.2) (2018-09-14)
45
-
46
-
47
- ### Bug Fixes
48
-
49
- * lint issue ([47b0f5b](https://github.com/oclif/plugin-which/commit/47b0f5b))
50
-
51
- <a name="1.0.1"></a>
52
- ## [1.0.1](https://github.com/oclif/plugin-which/compare/v1.0.0...v1.0.1) (2018-05-22)
53
-
54
-
55
- ### Bug Fixes
56
-
57
- * bust circle cache ([4021744](https://github.com/oclif/plugin-which/commit/4021744))
58
-
59
- <a name="1.0.0"></a>
60
- # 1.0.0 (2018-05-22)
61
-
62
-
63
- ### Features
64
-
65
- * added which command ([9a63dbd](https://github.com/oclif/plugin-which/commit/9a63dbd))