@oclif/plugin-which 1.0.3 → 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 CHANGED
@@ -6,7 +6,6 @@ find which plugin a command is in
6
6
  [![Version](https://img.shields.io/npm/v/@oclif/plugin-which.svg)](https://npmjs.org/package/@oclif/plugin-which)
7
7
  [![CircleCI](https://circleci.com/gh/oclif/plugin-which/tree/master.svg?style=shield)](https://circleci.com/gh/oclif/plugin-which/tree/master)
8
8
  [![Appveyor CI](https://ci.appveyor.com/api/projects/status/github/oclif/plugin-which?branch=master&svg=true)](https://ci.appveyor.com/project/oclif/plugin-which/branch/master)
9
- [![Codecov](https://codecov.io/gh/oclif/plugin-which/branch/master/graph/badge.svg)](https://codecov.io/gh/oclif/plugin-which)
10
9
  [![Downloads/week](https://img.shields.io/npm/dw/@oclif/plugin-which.svg)](https://npmjs.org/package/@oclif/plugin-which)
11
10
  [![License](https://img.shields.io/npm/l/@oclif/plugin-which.svg)](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.3 linux-x64 node-v10.12.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.3/src/commands/which.ts)_
43
+ _See code: [src/commands/which.ts](https://github.com/oclif/plugin-which/blob/v1.0.4/src/commands/which.ts)_
45
44
  <!-- commandsstop -->
@@ -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;
@@ -1 +1 @@
1
- {"version":"1.0.3","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}]}}}
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.3",
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": "^1.5.4",
9
- "@oclif/config": "^1.8.7",
10
- "cli-ux": "^4.9.1",
11
- "tslib": "^1.9.3"
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": "^1.19.1",
15
- "@oclif/plugin-help": "^2.1.2",
16
- "@oclif/test": "^1.2.1",
17
- "@oclif/tslint": "^3.1.0",
14
+ "@oclif/dev-cli": "1.26.9",
15
+ "@oclif/plugin-help": "3.2.15",
16
+ "@oclif/test": "1.2.9",
18
17
  "@types/chai": "^4.1.6",
19
- "@types/mocha": "^5.2.5",
20
- "@types/node": "^10.11.7",
18
+ "@types/mocha": "^8.0.0",
19
+ "@types/node": "^14.0.14",
21
20
  "chai": "^4.2.0",
22
- "globby": "^8",
23
- "mocha": "^5",
24
- "nyc": "^13.0.1",
25
- "ts-node": "^7.0.1",
26
- "tslint": "^5.11.0",
27
- "typescript": "^3.1.3"
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": "tsc -p test --noEmit && tslint -p test -t stylish",
52
- "prepack": "rm -rf lib && tsc && oclif-dev manifest && oclif-dev readme",
53
- "test": "nyc mocha --forbid-only \"test/**/*.test.ts\"",
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
  }
package/CHANGELOG.md DELETED
@@ -1,29 +0,0 @@
1
- ## [1.0.3](https://github.com/oclif/plugin-which/compare/v1.0.2...v1.0.3) (2018-10-13)
2
-
3
-
4
- ### Bug Fixes
5
-
6
- * remove greenkeeper badge ([281ab74](https://github.com/oclif/plugin-which/commit/281ab74))
7
-
8
- ## [1.0.2](https://github.com/oclif/plugin-which/compare/v1.0.1...v1.0.2) (2018-09-14)
9
-
10
-
11
- ### Bug Fixes
12
-
13
- * lint issue ([47b0f5b](https://github.com/oclif/plugin-which/commit/47b0f5b))
14
-
15
- <a name="1.0.1"></a>
16
- ## [1.0.1](https://github.com/oclif/plugin-which/compare/v1.0.0...v1.0.1) (2018-05-22)
17
-
18
-
19
- ### Bug Fixes
20
-
21
- * bust circle cache ([4021744](https://github.com/oclif/plugin-which/commit/4021744))
22
-
23
- <a name="1.0.0"></a>
24
- # 1.0.0 (2018-05-22)
25
-
26
-
27
- ### Features
28
-
29
- * added which command ([9a63dbd](https://github.com/oclif/plugin-which/commit/9a63dbd))