@oclif/plugin-version 1.3.10 → 2.0.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.
@@ -1,30 +1,38 @@
1
1
  {
2
- "version": "1.3.10",
3
2
  "commands": {
4
3
  "version": {
5
- "id": "version",
6
- "strict": true,
7
- "pluginName": "@oclif/plugin-version",
8
- "pluginAlias": "@oclif/plugin-version",
9
- "pluginType": "core",
10
4
  "aliases": [],
5
+ "args": {},
11
6
  "flags": {
12
7
  "json": {
13
- "name": "json",
14
- "type": "boolean",
15
8
  "description": "Format output as json.",
16
9
  "helpGroup": "GLOBAL",
17
- "allowNo": false
10
+ "name": "json",
11
+ "allowNo": false,
12
+ "type": "boolean"
18
13
  },
19
14
  "verbose": {
15
+ "description": "Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.",
20
16
  "name": "verbose",
21
- "type": "boolean",
22
17
  "summary": "Show additional information about the CLI.",
23
- "description": "Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.",
24
- "allowNo": false
18
+ "allowNo": false,
19
+ "type": "boolean"
25
20
  }
26
21
  },
27
- "args": {}
22
+ "hasDynamicHelp": false,
23
+ "id": "version",
24
+ "pluginAlias": "@oclif/plugin-version",
25
+ "pluginName": "@oclif/plugin-version",
26
+ "pluginType": "core",
27
+ "strict": true,
28
+ "enableJsonFlag": true,
29
+ "isESM": true,
30
+ "relativePath": [
31
+ "lib",
32
+ "commands",
33
+ "version.js"
34
+ ]
28
35
  }
29
- }
36
+ },
37
+ "version": "2.0.1"
30
38
  }
package/package.json CHANGED
@@ -1,37 +1,42 @@
1
1
  {
2
2
  "name": "@oclif/plugin-version",
3
3
  "description": "A command that shows the CLI version",
4
- "version": "1.3.10",
4
+ "version": "2.0.1",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/plugin-version/issues",
7
7
  "dependencies": {
8
- "@oclif/core": "^2.15.0"
8
+ "@oclif/core": "^3.0.4"
9
9
  },
10
10
  "devDependencies": {
11
- "@commitlint/config-conventional": "^12.1.4",
12
- "@oclif/plugin-help": "5.2.17",
13
- "@oclif/test": "^2.5.1",
14
- "@types/chai": "^4.3.5",
15
- "@types/mocha": "^8.0.0",
16
- "@types/node": "^16",
17
- "chai": "^4.3.8",
18
- "commitlint": "^12.1.4",
19
- "eslint": "^7.3.1",
20
- "eslint-config-oclif": "^4",
21
- "eslint-config-oclif-typescript": "^1.0.2",
22
- "fancy-test": "^2.0.37",
23
- "husky": "6",
24
- "mocha": "^8.2.1",
25
- "oclif": "^3.14.0",
11
+ "@commitlint/config-conventional": "^17.7.0",
12
+ "@oclif/plugin-help": "5.2.20",
13
+ "@oclif/prettier-config": "^0.2.1",
14
+ "@oclif/test": "^3",
15
+ "@types/chai": "^4.3.6",
16
+ "@types/mocha": "^10",
17
+ "@types/node": "^18",
18
+ "chai": "^4.3.10",
19
+ "commitlint": "^17.7.2",
20
+ "eslint": "^8.51.0",
21
+ "eslint-config-oclif": "^5",
22
+ "eslint-config-oclif-typescript": "^3",
23
+ "eslint-config-prettier": "^9.0.0",
24
+ "fancy-test": "^3",
25
+ "husky": "^8",
26
+ "lint-staged": "^14.0.1",
27
+ "mocha": "^10.2.0",
28
+ "oclif": "^4",
29
+ "prettier": "^3.0.3",
26
30
  "shx": "^0.3.4",
27
31
  "ts-node": "^10.9.1",
28
- "typescript": "^4.9.5"
32
+ "typescript": "^5"
29
33
  },
30
34
  "engines": {
31
- "node": ">=14.0.0"
35
+ "node": ">=18.0.0"
32
36
  },
33
37
  "files": [
34
38
  "oclif.manifest.json",
39
+ "oclif.lock",
35
40
  "/lib"
36
41
  ],
37
42
  "homepage": "https://github.com/oclif/plugin-version",
@@ -39,7 +44,7 @@
39
44
  "oclif-plugin"
40
45
  ],
41
46
  "license": "MIT",
42
- "main": "lib/index.js",
47
+ "exports": "./lib/index.js",
43
48
  "oclif": {
44
49
  "commands": "./lib/commands",
45
50
  "devPlugins": [
@@ -49,16 +54,18 @@
49
54
  "repository": "oclif/plugin-version",
50
55
  "scripts": {
51
56
  "build": "shx rm -rf lib && tsc",
57
+ "clean": "shx rm -f oclif.manifest.json oclif.lock",
52
58
  "commitlint": "commitlint",
53
- "clean": "shx rm -f oclif.manifest.json",
54
- "lint": "eslint . --ext .ts --config .eslintrc",
55
- "pretest": "yarn build",
56
- "test": "mocha --forbid-only \"test/**/*.test.ts\"",
57
- "posttest": "yarn lint",
58
- "prepublishOnly": "yarn run build && oclif manifest . && oclif readme",
59
+ "lint": "eslint . --ext .ts",
59
60
  "postpublish": "yarn run clean",
61
+ "posttest": "yarn lint",
62
+ "prepare": "husky install",
63
+ "prepublishOnly": "yarn run build && oclif lock && oclif manifest . && oclif readme",
64
+ "pretest": "yarn build --noEmit && tsc -p test --noEmit",
60
65
  "preversion": "yarn run clean",
66
+ "test": "mocha --forbid-only \"test/**/*.test.ts\"",
61
67
  "version": "oclif readme && git add README.md"
62
68
  },
63
- "types": "lib/index.d.ts"
64
- }
69
+ "types": "lib/index.d.ts",
70
+ "type": "module"
71
+ }