@provartesting/provardx-cli 1.2.5 → 1.2.7-vbeta
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 +2 -1
- package/oclif.manifest.json +1 -1
- package/package.json +10 -7
- package/scripts/postInstall.js +0 -13
package/README.md
CHANGED
|
@@ -269,11 +269,12 @@ Retrieve test cases related to the provided user stories (issues) or metadata co
|
|
|
269
269
|
|
|
270
270
|
```
|
|
271
271
|
USAGE
|
|
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>]
|
|
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>] [-l <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.
|
|
276
276
|
-i, --issues=<value> A comma-separated list of issue IDs, keys, or external IDs.
|
|
277
|
+
-l, --test-plan=<value> Test Plan Name. Use if you want to retrieve test instance file paths.
|
|
277
278
|
-m, --metadata-components=<value> Semicolon-separated list of metadata components, grouped and prefixed by their metadata type.
|
|
278
279
|
-n, --ignore-metadata=<value> Semicolon-separated list of metadata types to ignore from METADATA-COMPONENTS or METADATA-FILE.
|
|
279
280
|
-o, --output=<value> Output to a specific file instead of stdout.
|
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.7-vbeta",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
6
|
"plugins": [
|
|
7
7
|
"@provartesting/provardx-plugins-automation",
|
|
@@ -18,7 +18,9 @@
|
|
|
18
18
|
"fast-xml-parser": "^4.3.6",
|
|
19
19
|
"jsonschema": "^1.4.1",
|
|
20
20
|
"node-stream-zip": "^1.15.0",
|
|
21
|
-
"@provartesting/provardx-plugins-utils": "1.0.
|
|
21
|
+
"@provartesting/provardx-plugins-utils": "1.0.1",
|
|
22
|
+
"@provartesting/provardx-plugins-automation": "1.0.0",
|
|
23
|
+
"@provartesting/provardx-plugins-manager": "1.0.3",
|
|
22
24
|
"sync-request": "^6.1.0",
|
|
23
25
|
"xml-js": "^1.6.11"
|
|
24
26
|
},
|
|
@@ -42,8 +44,7 @@
|
|
|
42
44
|
"files": [
|
|
43
45
|
"/lib",
|
|
44
46
|
"/messages",
|
|
45
|
-
"/oclif.manifest.json"
|
|
46
|
-
"/scripts"
|
|
47
|
+
"/oclif.manifest.json"
|
|
47
48
|
],
|
|
48
49
|
"keywords": [
|
|
49
50
|
"force",
|
|
@@ -61,6 +62,10 @@
|
|
|
61
62
|
"devPlugins": [
|
|
62
63
|
"@oclif/plugin-help"
|
|
63
64
|
],
|
|
65
|
+
"plugins": [
|
|
66
|
+
"@provartesting/provardx-plugins-automation",
|
|
67
|
+
"@provartesting/provardx-plugins-manager"
|
|
68
|
+
],
|
|
64
69
|
"topics": {
|
|
65
70
|
"provar": {
|
|
66
71
|
"description": "CLI commands to interact with Provar.",
|
|
@@ -98,7 +103,6 @@
|
|
|
98
103
|
"docs": "sf-docs",
|
|
99
104
|
"format": "wireit",
|
|
100
105
|
"lint": "wireit",
|
|
101
|
-
"postinstall": "node ./scripts/postInstall.js",
|
|
102
106
|
"postpack": "shx rm -f oclif.manifest.json",
|
|
103
107
|
"prepack": "sf-prepack",
|
|
104
108
|
"test": "wireit",
|
|
@@ -121,8 +125,7 @@
|
|
|
121
125
|
"files": [
|
|
122
126
|
"src/**/*.ts",
|
|
123
127
|
"**/tsconfig.json",
|
|
124
|
-
"messages/**"
|
|
125
|
-
"/scripts"
|
|
128
|
+
"messages/**"
|
|
126
129
|
],
|
|
127
130
|
"output": [
|
|
128
131
|
"lib/**",
|
package/scripts/postInstall.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { execSync } from 'node:child_process';
|
|
2
|
-
|
|
3
|
-
const commandToInstallAutomationPlugin = 'echo y | sf plugins install @provartesting/provardx-plugins-automation';
|
|
4
|
-
|
|
5
|
-
console.log('starting postInstall');
|
|
6
|
-
|
|
7
|
-
execSync(commandToInstallAutomationPlugin, (error) => {
|
|
8
|
-
if (error) {
|
|
9
|
-
const errormessage = error.message ? error.message.toString('utf-8') : 'Unknown error';
|
|
10
|
-
console.error(`Error: ${errormessage}`);
|
|
11
|
-
return;
|
|
12
|
-
}
|
|
13
|
-
});
|