@provartesting/provardx-cli 1.2.0 → 1.2.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.
- package/README.md +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
- package/scripts/postInstall.js +7 -5
package/README.md
CHANGED
|
@@ -269,7 +269,7 @@ Retrieve test cases related to the provided user stories (issues) or metadata co
|
|
|
269
269
|
|
|
270
270
|
```
|
|
271
271
|
USAGE
|
|
272
|
-
$ sf provar
|
|
272
|
+
$ sf provar manager testcase retrieve -p <value> -t Apex|ProvarAutomation [--json] [--flags-dir <value>] [-m <value>] [-f <value>] [-i <value>] [-o <value>] [-n <value>]
|
|
273
273
|
|
|
274
274
|
FLAGS
|
|
275
275
|
-f, --metadata-file=<value> Path to a text file that contains the list of metadata components in source format.
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@provartesting/provardx-cli",
|
|
3
3
|
"description": "A plugin for the Salesforce CLI to orchestrate testing activities and report quality metrics to Provar Manager",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.2",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@oclif/core": "^3.26.2",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"fast-xml-parser": "^4.3.6",
|
|
15
15
|
"jsonschema": "^1.4.1",
|
|
16
16
|
"node-stream-zip": "^1.15.0",
|
|
17
|
-
"@provartesting/provardx-plugins-utils": "0.0
|
|
17
|
+
"@provartesting/provardx-plugins-utils": "1.0.0",
|
|
18
18
|
"sync-request": "^6.1.0",
|
|
19
19
|
"xml-js": "^1.6.11"
|
|
20
20
|
},
|
package/scripts/postInstall.js
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { execSync } from 'node:child_process';
|
|
2
2
|
|
|
3
|
-
const commandToInstallAutomationPlugin = 'echo y |
|
|
4
|
-
const commandToInstallManagerPlugin = 'echo y |
|
|
3
|
+
const commandToInstallAutomationPlugin = 'echo y | sf plugins install @provartesting/provardx-plugins-automation';
|
|
4
|
+
const commandToInstallManagerPlugin = 'echo y | sf plugins install @provartesting/provardx-plugins-manager';
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
console.log('starting postInstall');
|
|
7
|
+
|
|
8
|
+
execSync(commandToInstallAutomationPlugin, (error) => {
|
|
7
9
|
if (error) {
|
|
8
10
|
console.error(`Error: ${error.message}`);
|
|
9
11
|
return;
|
|
10
12
|
}
|
|
11
13
|
});
|
|
12
14
|
|
|
13
|
-
|
|
15
|
+
execSync(commandToInstallManagerPlugin, (error) => {
|
|
14
16
|
if (error) {
|
|
15
17
|
console.error(`Error: ${error.message}`);
|
|
16
18
|
return;
|