@salesforce/plugin-apex 1.3.0 → 1.4.0
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/LICENSE.txt +12 -0
- package/README.md +350 -12
- package/bin/dev +21 -0
- package/bin/dev.cmd +3 -0
- package/bin/run +3 -2
- package/bin/run.cmd +1 -1
- package/lib/commands/force/apex/execute.js +11 -17
- package/lib/commands/force/apex/execute.js.map +1 -1
- package/lib/commands/force/apex/log/get.js +14 -14
- package/lib/commands/force/apex/log/get.js.map +1 -1
- package/lib/commands/force/apex/log/list.js +18 -21
- package/lib/commands/force/apex/log/list.js.map +1 -1
- package/lib/commands/force/apex/log/tail.js +11 -11
- package/lib/commands/force/apex/test/report.js +18 -22
- package/lib/commands/force/apex/test/report.js.map +1 -1
- package/lib/commands/force/apex/test/run.js +31 -48
- package/lib/commands/force/apex/test/run.js.map +1 -1
- package/lib/legacyColorization.js +3 -3
- package/lib/legacyColorization.js.map +1 -1
- package/lib/reporters/jsonReporter.js +28 -36
- package/lib/reporters/jsonReporter.js.map +1 -1
- package/lib/reporters/util.d.ts +1 -0
- package/lib/reporters/util.js +14 -15
- package/lib/reporters/util.js.map +1 -1
- package/lib/utils.js +3 -5
- package/lib/utils.js.map +1 -1
- package/messages/messages.json +22 -0
- package/oclif.manifest.json +1 -1
- package/package.json +59 -45
- package/yarn.lock +3823 -1856
package/package.json
CHANGED
|
@@ -1,43 +1,56 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-apex",
|
|
3
3
|
"description": "Apex commands",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.4.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
|
-
"bugs": "https://github.com/forcedotcom/
|
|
6
|
+
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"main": "lib/index.js",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@oclif/core": "^1.16.4",
|
|
10
|
-
"@salesforce/apex-node": "1.
|
|
10
|
+
"@salesforce/apex-node": "1.6.0",
|
|
11
11
|
"@salesforce/command": "^5.1.0",
|
|
12
|
-
"@salesforce/core": "^3.
|
|
12
|
+
"@salesforce/core": "^3.32.12",
|
|
13
13
|
"chalk": "^4.1.0",
|
|
14
|
-
"tslib": "^
|
|
14
|
+
"tslib": "^2"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@oclif/plugin-command-snapshot": "^3",
|
|
17
|
+
"@oclif/plugin-command-snapshot": "^3.2.11",
|
|
18
18
|
"@oclif/plugin-help": "^5",
|
|
19
19
|
"@oclif/test": "^2.2.2",
|
|
20
20
|
"@salesforce/dev-config": "3.0.1",
|
|
21
|
+
"@salesforce/dev-scripts": "^3.1.0",
|
|
21
22
|
"@salesforce/plugin-command-reference": "^1.3.16",
|
|
23
|
+
"@salesforce/prettier-config": "^0.0.2",
|
|
22
24
|
"@salesforce/ts-sinon": "^1.1.2",
|
|
23
25
|
"@salesforce/ts-types": "1.2.2",
|
|
24
|
-
"@
|
|
26
|
+
"@swc/core": "^1.3.21",
|
|
25
27
|
"@types/mkdirp": "0.5.2",
|
|
26
|
-
"@
|
|
27
|
-
"@
|
|
28
|
-
"chai": "^4",
|
|
28
|
+
"@typescript-eslint/eslint-plugin": "^5.33.0",
|
|
29
|
+
"@typescript-eslint/parser": "^5.33.0",
|
|
30
|
+
"chai": "^4.2.0",
|
|
29
31
|
"cross-env": "7.0.2",
|
|
32
|
+
"eslint": "^8.21.0",
|
|
33
|
+
"eslint-config-prettier": "^8.5.0",
|
|
34
|
+
"eslint-config-salesforce": "^1.1.0",
|
|
35
|
+
"eslint-config-salesforce-license": "^0.1.6",
|
|
36
|
+
"eslint-config-salesforce-typescript": "^1.1.1",
|
|
37
|
+
"eslint-plugin-header": "^3.0.0",
|
|
38
|
+
"eslint-plugin-import": "^2.26.0",
|
|
39
|
+
"eslint-plugin-jsdoc": "^39.3.6",
|
|
30
40
|
"globby": "^8",
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
41
|
+
"husky": "^7.0.4",
|
|
42
|
+
"mocha": "^9.1.3",
|
|
43
|
+
"nyc": "^15.1.0",
|
|
44
|
+
"oclif": "^3.2.28",
|
|
45
|
+
"prettier": "^2.7.1",
|
|
46
|
+
"pretty-quick": "^3.1.0",
|
|
34
47
|
"shx": "^0.3.4",
|
|
35
|
-
"sinon": "
|
|
36
|
-
"ts-node": "^
|
|
48
|
+
"sinon": "10.0.0",
|
|
49
|
+
"ts-node": "^10.0.0",
|
|
37
50
|
"typescript": "4.6.4"
|
|
38
51
|
},
|
|
39
52
|
"engines": {
|
|
40
|
-
"node": ">=14.
|
|
53
|
+
"node": ">=14.0.0"
|
|
41
54
|
},
|
|
42
55
|
"files": [
|
|
43
56
|
"yarn.lock",
|
|
@@ -45,21 +58,25 @@
|
|
|
45
58
|
"/lib",
|
|
46
59
|
"/messages",
|
|
47
60
|
"/npm-shrinkwrap.json",
|
|
48
|
-
"/oclif.manifest.json"
|
|
49
|
-
"yarn.lock"
|
|
61
|
+
"/oclif.manifest.json"
|
|
50
62
|
],
|
|
51
|
-
"homepage": "https://github.com/
|
|
63
|
+
"homepage": "https://github.com/salesforcecli/plugin-apex",
|
|
52
64
|
"keywords": [
|
|
53
65
|
"force",
|
|
54
66
|
"salesforce",
|
|
55
67
|
"sfdx",
|
|
56
|
-
"salesforcedx",
|
|
57
68
|
"sfdx-plugin",
|
|
58
|
-
"
|
|
69
|
+
"sf-plugin",
|
|
70
|
+
"apex",
|
|
71
|
+
"sf"
|
|
59
72
|
],
|
|
60
73
|
"license": "BSD-3-Clause",
|
|
61
74
|
"oclif": {
|
|
62
75
|
"commands": "./lib/commands",
|
|
76
|
+
"additionalHelpFlags": [
|
|
77
|
+
"-h"
|
|
78
|
+
],
|
|
79
|
+
"bin": "sfdx",
|
|
63
80
|
"topics": {
|
|
64
81
|
"force": {
|
|
65
82
|
"external": true,
|
|
@@ -73,42 +90,39 @@
|
|
|
73
90
|
},
|
|
74
91
|
"test": {
|
|
75
92
|
"description": "run Apex tests and retrieve test reports"
|
|
76
|
-
},
|
|
77
|
-
"class": {
|
|
78
|
-
"external": true
|
|
79
|
-
},
|
|
80
|
-
"trigger": {
|
|
81
|
-
"external": true
|
|
82
93
|
}
|
|
83
94
|
}
|
|
84
95
|
}
|
|
85
96
|
}
|
|
86
97
|
}
|
|
87
98
|
},
|
|
88
|
-
"bin": "sfdx",
|
|
89
99
|
"devPlugins": [
|
|
90
100
|
"@oclif/plugin-help",
|
|
91
101
|
"@oclif/plugin-command-snapshot",
|
|
92
102
|
"@salesforce/plugin-command-reference"
|
|
93
103
|
]
|
|
94
104
|
},
|
|
95
|
-
"repository": "
|
|
105
|
+
"repository": "salesforcecli/plugin-apex",
|
|
96
106
|
"scripts": {
|
|
97
|
-
"build": "
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
107
|
+
"build": "sf-build",
|
|
108
|
+
"clean": "sf-clean",
|
|
109
|
+
"clean-all": "sf-clean all",
|
|
110
|
+
"clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json",
|
|
111
|
+
"compile": "sf-compile",
|
|
112
|
+
"docs": "sf-docs",
|
|
113
|
+
"format": "sf-format",
|
|
114
|
+
"lint": "sf-lint",
|
|
101
115
|
"postpack": "shx rm -f oclif.manifest.json",
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
"
|
|
110
|
-
|
|
111
|
-
|
|
116
|
+
"posttest": "yarn lint && yarn test:deprecation-policy && yarn test:json-schema && yarn test:command-reference",
|
|
117
|
+
"prepack": "sf-prepack",
|
|
118
|
+
"prepare": "sf-install",
|
|
119
|
+
"pretest": "sf-compile-test",
|
|
120
|
+
"test": "sf-test",
|
|
121
|
+
"test:command-reference": "./bin/dev commandreference:generate --erroronwarnings",
|
|
122
|
+
"test:deprecation-policy": "./bin/dev snapshot:compare",
|
|
123
|
+
"test:json-schema": "./bin/dev schema:compare",
|
|
124
|
+
"test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
|
|
125
|
+
"version": "oclif readme"
|
|
112
126
|
},
|
|
113
127
|
"lint-staged": {
|
|
114
128
|
"./{src,test}/**/*.{ts,js}": [
|
|
@@ -116,7 +130,7 @@
|
|
|
116
130
|
]
|
|
117
131
|
},
|
|
118
132
|
"sfdx": {
|
|
119
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/
|
|
120
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/
|
|
133
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/1.4.0.crt",
|
|
134
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/1.4.0.sig"
|
|
121
135
|
}
|
|
122
136
|
}
|