@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.
- package/README.md +1 -3
- package/lib/commands/version.js +22 -28
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -5
- package/oclif.lock +6399 -0
- package/oclif.manifest.json +22 -14
- package/package.json +35 -28
package/oclif.manifest.json
CHANGED
|
@@ -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
|
-
"
|
|
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
|
-
"
|
|
24
|
-
"
|
|
18
|
+
"allowNo": false,
|
|
19
|
+
"type": "boolean"
|
|
25
20
|
}
|
|
26
21
|
},
|
|
27
|
-
"
|
|
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": "
|
|
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": "^
|
|
8
|
+
"@oclif/core": "^3.0.4"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@commitlint/config-conventional": "^
|
|
12
|
-
"@oclif/plugin-help": "5.2.
|
|
13
|
-
"@oclif/
|
|
14
|
-
"@
|
|
15
|
-
"@types/
|
|
16
|
-
"@types/
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"eslint
|
|
21
|
-
"eslint-config-oclif
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
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": "^
|
|
32
|
+
"typescript": "^5"
|
|
29
33
|
},
|
|
30
34
|
"engines": {
|
|
31
|
-
"node": ">=
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
+
}
|