@oclif/plugin-help 5.2.20 → 6.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,30 +1,42 @@
1
1
  {
2
- "version": "5.2.20",
3
2
  "commands": {
4
3
  "help": {
5
- "id": "help",
6
- "description": "Display help for <%= config.bin %>.",
7
- "strict": false,
8
- "pluginName": "@oclif/plugin-help",
9
- "pluginAlias": "@oclif/plugin-help",
10
- "pluginType": "core",
11
4
  "aliases": [],
5
+ "args": {
6
+ "commands": {
7
+ "description": "Command to show help for.",
8
+ "name": "commands",
9
+ "required": false
10
+ }
11
+ },
12
+ "description": "Display help for <%= config.bin %>.",
12
13
  "flags": {
13
14
  "nested-commands": {
14
- "name": "nested-commands",
15
- "type": "boolean",
16
15
  "char": "n",
17
16
  "description": "Include all nested commands in the output.",
18
- "allowNo": false
17
+ "name": "nested-commands",
18
+ "allowNo": false,
19
+ "type": "boolean"
19
20
  }
20
21
  },
21
- "args": {
22
- "commands": {
23
- "name": "commands",
24
- "description": "Command to show help for.",
25
- "required": false
26
- }
27
- }
22
+ "hasDynamicHelp": false,
23
+ "id": "help",
24
+ "pluginAlias": "@oclif/plugin-help",
25
+ "pluginName": "@oclif/plugin-help",
26
+ "pluginType": "core",
27
+ "strict": false,
28
+ "enableJsonFlag": false,
29
+ "isESM": true,
30
+ "relativePath": [
31
+ "lib",
32
+ "commands",
33
+ "help.js"
34
+ ],
35
+ "aliasPermutations": [],
36
+ "permutations": [
37
+ "help"
38
+ ]
28
39
  }
29
- }
40
+ },
41
+ "version": "6.0.2"
30
42
  }
package/package.json CHANGED
@@ -1,56 +1,65 @@
1
1
  {
2
2
  "name": "@oclif/plugin-help",
3
3
  "description": "Standard help for oclif.",
4
- "version": "5.2.20",
4
+ "version": "6.0.2",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/plugin-help/issues",
7
7
  "dependencies": {
8
- "@oclif/core": "^2.15.0"
8
+ "@oclif/core": "^3.0.9"
9
9
  },
10
10
  "devDependencies": {
11
- "@oclif/plugin-plugins": "^2.4.7",
12
- "@oclif/test": "^2.1.0",
11
+ "@commitlint/config-conventional": "^17.7.0",
12
+ "@oclif/prettier-config": "^0.2.1",
13
+ "@oclif/test": "^3.0.2",
13
14
  "@types/chai": "^4.3.6",
14
- "@types/mocha": "^9.1.0",
15
- "chai": "^4.3.8",
16
- "eslint": "^7.3.1",
17
- "eslint-config-oclif": "^4.0.0",
18
- "eslint-config-oclif-typescript": "^1.0.3",
19
- "mocha": "^9.2.2",
20
- "oclif": "^3.17.1",
15
+ "@types/mocha": "^10.0.2",
16
+ "@types/node": "^18",
17
+ "chai": "^4.3.10",
18
+ "commitlint": "^17.7.2",
19
+ "eslint": "^8.51.0",
20
+ "eslint-config-oclif": "^5.0.0",
21
+ "eslint-config-oclif-typescript": "^3.0.5",
22
+ "eslint-config-prettier": "^9.0.0",
23
+ "husky": "^8.0.3",
24
+ "lint-staged": "^14.0.1",
25
+ "mocha": "^10.2.0",
26
+ "oclif": "^4.0.2",
27
+ "prettier": "^3.0.3",
21
28
  "shx": "^0.3.4",
22
- "ts-node": "^9.1.1",
23
- "typescript": "^4.6.3"
29
+ "ts-node": "^10.9.1",
30
+ "typescript": "^5.2.2"
24
31
  },
25
32
  "engines": {
26
- "node": ">=12.0.0"
33
+ "node": ">=18.0.0"
27
34
  },
35
+ "exports": "./lib/index.js",
28
36
  "files": [
29
37
  "oclif.manifest.json",
30
- "/lib"
38
+ "/lib",
39
+ "/oclif.lock"
31
40
  ],
32
41
  "homepage": "https://github.com/oclif/plugin-help",
33
42
  "keywords": [
34
43
  "oclif-plugin"
35
44
  ],
36
45
  "license": "MIT",
37
- "main": "./lib/index.js",
38
46
  "oclif": {
39
47
  "commands": "./lib/commands",
40
48
  "bin": "oclif",
41
- "devPlugins": [
42
- "@oclif/plugin-plugins"
43
- ]
49
+ "flexibleTaxonomy": true,
50
+ "topicSeparator": " "
44
51
  },
45
52
  "repository": "oclif/plugin-help",
46
53
  "scripts": {
47
54
  "build": "shx rm -rf lib && tsc",
48
- "lint": "eslint . --ext .ts --config .eslintrc",
49
- "pretest": "yarn build && tsc --noEmit",
50
- "test": "mocha --forbid-only \"test/**/*.test.ts\"",
55
+ "lint": "eslint . --ext .ts",
56
+ "postpack": "shx rm oclif.manifest.json oclif.lock",
51
57
  "posttest": "yarn lint",
52
- "prepack": "yarn run build && oclif manifest .",
53
- "postpack": "shx rm oclif.manifest.json"
58
+ "prepack": "yarn run build && oclif manifest . && oclif lock",
59
+ "prepare": "husky install",
60
+ "pretest": "yarn build && tsc --noEmit",
61
+ "test": "mocha --forbid-only \"test/**/*.test.ts\""
54
62
  },
63
+ "type": "module",
55
64
  "types": "./lib/index.d.ts"
56
- }
65
+ }