@oclif/plugin-which 2.2.34 → 3.0.2

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.
@@ -1,22 +1,34 @@
1
1
  {
2
- "version": "2.2.34",
3
2
  "commands": {
4
3
  "which": {
5
- "id": "which",
6
- "description": "Show which plugin a command is in.",
7
- "strict": false,
8
- "pluginName": "@oclif/plugin-which",
9
- "pluginAlias": "@oclif/plugin-which",
10
- "pluginType": "core",
11
4
  "aliases": [],
5
+ "args": {},
6
+ "description": "Show which plugin a command is in.",
12
7
  "examples": [
13
8
  {
14
- "description": "See which plugin the `help` command is in:",
15
- "command": "<%= config.bin %> <%= command.id %> help"
9
+ "command": "<%= config.bin %> <%= command.id %> help",
10
+ "description": "See which plugin the `help` command is in:"
16
11
  }
17
12
  ],
18
13
  "flags": {},
19
- "args": {}
14
+ "hasDynamicHelp": false,
15
+ "id": "which",
16
+ "pluginAlias": "@oclif/plugin-which",
17
+ "pluginName": "@oclif/plugin-which",
18
+ "pluginType": "core",
19
+ "strict": false,
20
+ "enableJsonFlag": false,
21
+ "isESM": true,
22
+ "relativePath": [
23
+ "lib",
24
+ "commands",
25
+ "which.js"
26
+ ],
27
+ "aliasPermutations": [],
28
+ "permutations": [
29
+ "which"
30
+ ]
20
31
  }
21
- }
32
+ },
33
+ "version": "3.0.2"
22
34
  }
package/package.json CHANGED
@@ -1,37 +1,45 @@
1
1
  {
2
2
  "name": "@oclif/plugin-which",
3
3
  "description": "find which plugin a command is in",
4
- "version": "2.2.34",
4
+ "version": "3.0.2",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/plugin-which/issues",
7
7
  "dependencies": {
8
- "@oclif/core": "^2.11.10",
9
- "tslib": "^2.6.2"
8
+ "@oclif/core": "^3.0.9"
10
9
  },
11
10
  "devDependencies": {
11
+ "@commitlint/config-conventional": "^17.7.0",
12
12
  "@oclif/plugin-help": "^5.2.20",
13
- "@oclif/test": "^2.5.6",
13
+ "@oclif/prettier-config": "^0.2.1",
14
+ "@oclif/test": "^3.0.2",
14
15
  "@types/chai": "^4.3.6",
15
- "@types/mocha": "^9",
16
- "@types/node": "^14.18.63",
16
+ "@types/mocha": "^10.0.2",
17
+ "@types/node": "^18",
17
18
  "chai": "^4.3.10",
18
- "eslint": "^7.32.0",
19
- "eslint-config-oclif": "^4.0.0",
20
- "eslint-config-oclif-typescript": "^1.0.3",
19
+ "commitlint": "^17.7.2",
20
+ "eslint": "^8.51.0",
21
+ "eslint-config-oclif": "^5.0.0",
22
+ "eslint-config-oclif-typescript": "^3.0.5",
23
+ "eslint-config-prettier": "^9.0.0",
21
24
  "globby": "^11",
22
- "mocha": "^9",
25
+ "husky": "^8.0.3",
26
+ "lint-staged": "^14.0.1",
27
+ "mocha": "^10.2.0",
23
28
  "nyc": "^15.1.0",
24
- "oclif": "^3.17.1",
29
+ "oclif": "^4.0.2",
30
+ "prettier": "^3.0.3",
25
31
  "shx": "^0.3.4",
26
- "ts-node": "^9.0.0",
27
- "typescript": "4.6.4"
32
+ "ts-node": "^10.9.1",
33
+ "typescript": "^5.2.2"
28
34
  },
29
35
  "engines": {
30
- "node": ">=12.0.0"
36
+ "node": ">=18.0.0"
31
37
  },
38
+ "exports": "././lib/index.js",
32
39
  "files": [
33
40
  "/lib",
34
- "/oclif.manifest.json"
41
+ "/oclif.manifest.json",
42
+ "/oclif.lock"
35
43
  ],
36
44
  "homepage": "https://github.com/oclif/plugin-which",
37
45
  "keywords": [
@@ -43,18 +51,21 @@
43
51
  "bin": "oclif-example",
44
52
  "devPlugins": [
45
53
  "@oclif/plugin-help"
46
- ]
54
+ ],
55
+ "flexibleTaxonomy": true,
56
+ "topicSeparator": " "
47
57
  },
48
58
  "repository": "oclif/plugin-which",
49
59
  "scripts": {
50
- "postpack": "shx rm -f oclif.manifest.json",
60
+ "build": "shx rm -rf lib && tsc",
61
+ "lint": "eslint . --ext .ts",
62
+ "postpack": "shx rm -f oclif.manifest.json oclif.lock",
51
63
  "posttest": "yarn lint",
52
- "prepack": "yarn build && oclif manifest . && oclif readme",
53
- "test": "mocha --forbid-only \"test/**/*.test.ts\"",
54
- "version": "oclif readme && git add README.md",
55
- "lint": "eslint . --ext .ts --config .eslintrc",
64
+ "prepack": "yarn build && oclif lock && oclif manifest . && oclif readme",
65
+ "prepare": "husky install",
56
66
  "pretest": "yarn build && tsc -p test --noEmit",
57
- "build": "shx rm -rf lib && tsc"
67
+ "test": "mocha --forbid-only \"test/**/*.test.ts\"",
68
+ "version": "oclif readme && git add README.md"
58
69
  },
59
- "main": "lib/index.js"
60
- }
70
+ "type": "module"
71
+ }