@salesforce/plugin-apex 0.11.0 → 0.12.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/lib/commands/force/apex/execute.js +8 -8
- package/lib/commands/force/apex/execute.js.map +1 -1
- package/lib/commands/force/apex/log/get.js +2 -2
- package/lib/commands/force/apex/log/get.js.map +1 -1
- package/lib/commands/force/apex/log/list.js +1 -1
- package/lib/commands/force/apex/log/list.js.map +1 -1
- package/lib/commands/force/apex/log/tail.js +2 -2
- package/lib/commands/force/apex/log/tail.js.map +1 -1
- package/lib/commands/force/apex/test/report.js +8 -4
- package/lib/commands/force/apex/test/report.js.map +1 -1
- package/lib/commands/force/apex/test/run.js +8 -4
- package/lib/commands/force/apex/test/run.js.map +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +7 -7
- package/yarn.lock +86 -66
|
@@ -35,20 +35,20 @@ class Execute extends command_1.SfdxCommand {
|
|
|
35
35
|
formatDefault(response) {
|
|
36
36
|
let outputText = '';
|
|
37
37
|
if (response.success) {
|
|
38
|
-
outputText += `${utils_1.colorSuccess(messages.getMessage('executeCompileSuccess'))}\n`;
|
|
39
|
-
outputText += `${utils_1.colorSuccess(messages.getMessage('executeRuntimeSuccess'))}\n`;
|
|
38
|
+
outputText += `${(0, utils_1.colorSuccess)(messages.getMessage('executeCompileSuccess'))}\n`;
|
|
39
|
+
outputText += `${(0, utils_1.colorSuccess)(messages.getMessage('executeRuntimeSuccess'))}\n`;
|
|
40
40
|
outputText += `\n${response.logs}`;
|
|
41
41
|
}
|
|
42
42
|
else {
|
|
43
43
|
const diagnostic = response.diagnostic[0];
|
|
44
44
|
if (!response.compiled) {
|
|
45
|
-
outputText += utils_1.colorError(`Error: Line: ${diagnostic.lineNumber}, Column: ${diagnostic.columnNumber}\n`);
|
|
46
|
-
outputText += utils_1.colorError(`Error: ${diagnostic.compileProblem}\n`);
|
|
45
|
+
outputText += (0, utils_1.colorError)(`Error: Line: ${diagnostic.lineNumber}, Column: ${diagnostic.columnNumber}\n`);
|
|
46
|
+
outputText += (0, utils_1.colorError)(`Error: ${diagnostic.compileProblem}\n`);
|
|
47
47
|
}
|
|
48
48
|
else {
|
|
49
|
-
outputText += `${utils_1.colorSuccess(messages.getMessage('executeCompileSuccess'))}\n`;
|
|
50
|
-
outputText += utils_1.colorError(`Error: ${diagnostic.exceptionMessage}\n`);
|
|
51
|
-
outputText += utils_1.colorError(`Error: ${diagnostic.exceptionStackTrace}\n`);
|
|
49
|
+
outputText += `${(0, utils_1.colorSuccess)(messages.getMessage('executeCompileSuccess'))}\n`;
|
|
50
|
+
outputText += (0, utils_1.colorError)(`Error: ${diagnostic.exceptionMessage}\n`);
|
|
51
|
+
outputText += (0, utils_1.colorError)(`Error: ${diagnostic.exceptionStackTrace}\n`);
|
|
52
52
|
outputText += `\n${response.logs}`;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
@@ -74,7 +74,7 @@ class Execute extends command_1.SfdxCommand {
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
exports.default = Execute;
|
|
77
|
-
Execute.description = utils_1.buildDescription(messages.getMessage('commandDescription'), messages.getMessage('longDescription'));
|
|
77
|
+
Execute.description = (0, utils_1.buildDescription)(messages.getMessage('commandDescription'), messages.getMessage('longDescription'));
|
|
78
78
|
Execute.longDescription = messages.getMessage('longDescription');
|
|
79
79
|
Execute.examples = [
|
|
80
80
|
`$ sfdx force:apex:execute -u testusername@salesforce.org -f ~/test.apex`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute.js","sourceRoot":"","sources":["../../../../src/commands/force/apex/execute.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,qDAI+B;AAC/B,iDAAyD;AACzD,2CAA4C;AAE5C,0CAKwB;AAExB,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,yBAAyB,EAAE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,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,UAAW,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;YAC9D,IAAI,EAAE,QAAQ,CAAC,IAAI;SACpB,CAAC;QACF,OAAO,iBAAiB,CAAC;IAC3B,CAAC;;AAhGH,0BAiGC;AAhGe,mBAAW,GAAG,IAAA,wBAAgB,EAC1C,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC,EACzC,QAAQ,CAAC,UAAU,CAAC,iBAAiB,CAAC,CACvC,CAAC;AACY,uBAAe,GAAG,QAAQ,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAC;AAEzD,gBAAQ,GAAG;IACvB,yEAAyE;IACzE,0CAA0C;IAC1C,2HAA2H;CAC5H,CAAC;AACe,wBAAgB,GAAG,IAAI,CAAC;AAElB,mBAAW,GAAG;IACnC,YAAY,EAAE,eAAK,CAAC,QAAQ,CAAC;QAC3B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,yBAAyB,CAAC;KAC5D,CAAC;IACF,QAAQ,EAAE,eAAK,CAAC,IAAI,CAAC;QACnB,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,qBAAqB,CAAC;QACvD,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,yBAAyB,CAAC;QAC/D,OAAO,EAAE,MAAM;QACf,OAAO,EAAE,iBAAS;KACnB,CAAC;IACF,UAAU,EAAE,eAAK,CAAC,OAAO,EAAE;CAC5B,CAAC"}
|
|
@@ -37,7 +37,7 @@ class Get extends command_1.SfdxCommand {
|
|
|
37
37
|
return logResults.map(logResult => logResult.log);
|
|
38
38
|
}
|
|
39
39
|
const parsedLogs = logResults.map(logResult => {
|
|
40
|
-
const colored = utils_1.colorLogs(logResult.log);
|
|
40
|
+
const colored = (0, utils_1.colorLogs)(logResult.log);
|
|
41
41
|
this.ux.log(colored);
|
|
42
42
|
return { log: logResult.log };
|
|
43
43
|
});
|
|
@@ -51,7 +51,7 @@ class Get extends command_1.SfdxCommand {
|
|
|
51
51
|
}
|
|
52
52
|
exports.default = Get;
|
|
53
53
|
Get.requiresUsername = true;
|
|
54
|
-
Get.description = utils_1.buildDescription(messages.getMessage('commandDescription'), messages.getMessage('longDescription'));
|
|
54
|
+
Get.description = (0, utils_1.buildDescription)(messages.getMessage('commandDescription'), messages.getMessage('longDescription'));
|
|
55
55
|
Get.longDescription = messages.getMessage('longDescription');
|
|
56
56
|
Get.examples = [
|
|
57
57
|
`$ sfdx force:apex:log:get -i <log id>`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../../src/commands/force/apex/log/get.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,qDAAmD;AACnD,iDAAyD;AACzD,2CAA4C;AAE5C,6CAA2E;AAE3E,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,yBAAyB,EAAE,KAAK,CAAC,CAAC;AAEzE,MAAqB,GAAI,SAAQ,qBAAW;IA4C7B,GAAG;;YACd,IAAI;gBACF,8CAA8C;gBAC9C,MAAM,IAAI,GAAG,IAAI,CAAC,GAAI,CAAC,aAAa,EAAE,CAAC;gBACvC,MAAM,UAAU,GAAG,IAAI,sBAAU,CAAC,IAAI,CAAC,CAAC;gBAExC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE;oBAC3C,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;iBACvB;gBACD,MAAM,UAAU,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC;oBAC1C,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK;oBACvB,YAAY,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM;oBAC/B,SAAS,EAAE,IAAI,CA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,CAAC,iBAAiB,CAAC,CACvC,CAAC;AAEY,mBAAe,GAAG,QAAQ,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAC;AACzD,YAAQ,GAAG;IACvB,uCAAuC;IACvC,oDAAoD;IACpD,mCAAmC;IACnC,sDAAsD;CACvD,CAAC;AAEqB,eAAW,GAAG;IACnC,IAAI,EAAE,eAAK,CAAC,OAAO,CAAC;QAClB,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,iBAAiB,CAAC;KACpD,CAAC;IACF,QAAQ,EAAE,eAAK,CAAC,IAAI,CAAC;QACnB,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,qBAAqB,CAAC;QACvD,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,yBAAyB,CAAC;QAC/D,OAAO,EAAE,MAAM;QACf,OAAO,EAAE,iBAAS;KACnB,CAAC;IACF,UAAU,EAAE,eAAK,CAAC,OAAO,EAAE;IAC3B,KAAK,EAAE,eAAK,CAAC,EAAE,CAAC;QACd,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,kBAAkB,CAAC;KACrD,CAAC;IACF,MAAM,EAAE,eAAK,CAAC,MAAM,CAAC;QACnB,IAAI,EAAE,GAAG;QACT,GAAG,EAAE,CAAC;QACN,GAAG,EAAE,EAAE;QACP,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,mBAAmB,CAAC;KACtD,CAAC;IACF,SAAS,EAAE,eAAK,CAAC,MAAM,CAAC;QACtB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,sBAAsB,CAAC;QACxD,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,0BAA0B,CAAC;KACjE,CAAC;CACH,CAAC"}
|
|
@@ -113,7 +113,7 @@ class List extends command_1.SfdxCommand {
|
|
|
113
113
|
}
|
|
114
114
|
exports.default = List;
|
|
115
115
|
List.requiresUsername = true;
|
|
116
|
-
List.description = utils_1.buildDescription(messages.getMessage('commandDescription'), messages.getMessage('longDescription'));
|
|
116
|
+
List.description = (0, utils_1.buildDescription)(messages.getMessage('commandDescription'), messages.getMessage('longDescription'));
|
|
117
117
|
List.longDescription = messages.getMessage('longDescription');
|
|
118
118
|
List.examples = [
|
|
119
119
|
`$ sfdx force:apex:log:list`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../../src/commands/force/apex/log/list.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,qDAA0E;AAC1E,iDAAyD;AACzD,2CAA4C;AAC5C,6CAAgE;AAEhE,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,yBAAyB,EAAE,MAAM,CAAC,CAAC;AAE1E,MAAqB,IAAK,SAAQ,qBAAW;IA2B9B,GAAG;;YACd,IAAI;gBACF,8CAA8C;gBAC9C,MAAM,IAAI,GAAG,IAAI,CAAC,GAAI,CAAC,aAAa,EAAE,CAAC;gBACvC,MAAM,UAAU,GAAG,IAAI,sBAAU,CAAC,IAAI,CAAC,CAAC;gBACxC,MAAM,UAAU,GAAG,MAAM,UAAU,CAAC,aAAa,EAAE,CAAC;gBAEpD,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE;oBAC3B,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,kBAAkB,CAAC,CAAC,CAAC;oBACrD,OAAO,EAAE,CAAC;iBACX;gBAED,MAAM,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;gBAChD,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;gBAC1C,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;gBAEnB,OAAO,UAAU,CAAC;aACnB;YAAC,OAAO,CAAC,EAAE;gBACV,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,EAAE,eAAK,CAAC,IAAI,CAAC;QACnB,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,qBAAqB,CAAC;QACvD,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,yBAAyB,CAAC;QAC/D,OAAO,EAAE,MAAM;QACf,OAAO,EAAE,iBAAS;KACnB,CAAC;IACF,UAAU,EAAE,eAAK,CAAC,OAAO,EAAE;CAC5B,CAAC"}
|
|
@@ -43,7 +43,7 @@ class Tail extends command_1.SfdxCommand {
|
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
|
-
const output = this.flags.color ? yield legacyColorization_1.colorizeLog(fullLog) : fullLog;
|
|
46
|
+
const output = this.flags.color ? yield (0, legacyColorization_1.colorizeLog)(fullLog) : fullLog;
|
|
47
47
|
this.ux.log(output);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -52,7 +52,7 @@ class Tail extends command_1.SfdxCommand {
|
|
|
52
52
|
}
|
|
53
53
|
exports.default = Tail;
|
|
54
54
|
Tail.requiresUsername = true;
|
|
55
|
-
Tail.description = utils_1.buildDescription(messages.getMessage('commandDescription'), messages.getMessage('longDescription'));
|
|
55
|
+
Tail.description = (0, utils_1.buildDescription)(messages.getMessage('commandDescription'), messages.getMessage('longDescription'));
|
|
56
56
|
Tail.longDescription = messages.getMessage('longDescription');
|
|
57
57
|
Tail.examples = [
|
|
58
58
|
`$ sfdx force:apex:log:tail`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tail.js","sourceRoot":"","sources":["../../../../../src/commands/force/apex/log/tail.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,qDAAmD;AACnD,iDAAyD;AACzD,2CAA4C;AAC5C,6CAAgE;AAChE,uEAA6D;AAE7D,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,yBAAyB,EAAE,MAAM,CAAC,CA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1.SfdxCommand {
|
|
|
32
32
|
const result = yield testService.reportAsyncResults(this.flags.testrunid, this.flags.codecoverage);
|
|
33
33
|
const jsonOutput = this.formatResultInJson(result);
|
|
34
34
|
if (this.flags.outputdir) {
|
|
35
|
-
const outputDirConfig = reporters_1.buildOutputDirConfig(result, jsonOutput, this.flags.outputdir, this.flags.resultformat, true);
|
|
35
|
+
const outputDirConfig = (0, reporters_1.buildOutputDirConfig)(result, jsonOutput, this.flags.outputdir, this.flags.resultformat, true);
|
|
36
36
|
yield testService.writeResultFiles(result, outputDirConfig, this.flags.codecoverage);
|
|
37
37
|
}
|
|
38
38
|
try {
|
|
@@ -61,7 +61,9 @@ class Report extends command_1.SfdxCommand {
|
|
|
61
61
|
}
|
|
62
62
|
catch (e) {
|
|
63
63
|
this.ux.logJson(jsonOutput);
|
|
64
|
-
const msg = messages.getMessage('testResultProcessErr', [
|
|
64
|
+
const msg = messages.getMessage('testResultProcessErr', [
|
|
65
|
+
e.message
|
|
66
|
+
]);
|
|
65
67
|
this.ux.error(msg);
|
|
66
68
|
}
|
|
67
69
|
return jsonOutput;
|
|
@@ -91,7 +93,9 @@ class Report extends command_1.SfdxCommand {
|
|
|
91
93
|
}
|
|
92
94
|
catch (e) {
|
|
93
95
|
this.ux.logJson(result);
|
|
94
|
-
const msg = messages.getMessage('testResultProcessErr', [
|
|
96
|
+
const msg = messages.getMessage('testResultProcessErr', [
|
|
97
|
+
e.message
|
|
98
|
+
]);
|
|
95
99
|
this.ux.error(msg);
|
|
96
100
|
throw e;
|
|
97
101
|
}
|
|
@@ -107,7 +111,7 @@ class Report extends command_1.SfdxCommand {
|
|
|
107
111
|
}
|
|
108
112
|
exports.default = Report;
|
|
109
113
|
Report.requiresUsername = true;
|
|
110
|
-
Report.description = utils_1.buildDescription(messages.getMessage('commandDescription'), messages.getMessage('longDescription'));
|
|
114
|
+
Report.description = (0, utils_1.buildDescription)(messages.getMessage('commandDescription'), messages.getMessage('longDescription'));
|
|
111
115
|
Report.longDescription = messages.getMessage('longDescription');
|
|
112
116
|
Report.examples = [
|
|
113
117
|
`$ sfdx force:apex:test:report -i <test run id>`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"report.js","sourceRoot":"","sources":["../../../../../src/commands/force/apex/test/report.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,qDAO+B;AAC/B,iDAAyD;AACzD,2CAAuD;AAEvD,qDAI+B;AAC/B,6CAK2B;AAE3B,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,yBAAyB,EAAE,QAAQ,CAAC,CAAC;AAE5E,MAAqB,MAAO,SAAQ,qBAAW;IAsDhC,GAAG;;YACd,IAAI,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE;gBACxB,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC;aACrD;YAED,0BAA0B;YAC1B,OAAO,CAAC,EAAE,CAAC,mBAAmB,EAAE,GAAG,CAAC,EAAE;gBACpC,MAAM,YAAY,GAAG,IAAI,CAAC,WAAW,CACnC,IAAI,gBAAS,CAAC,QAAQ,CAAC,UAAU,CAAC,YAAY,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAChE,CAAC;gBACF,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC,CAAC;gBAC/B,OAAO,CAAC,IAAI,EAAE,CAAC;YACjB,CAAC,CAAC,CAAC;YAEH,8CAA8C;YAC9C,MAAM,IAAI,GAAG,IAAI,CAAC,GAAI,CAAC,aAAa,EAAE,CAAC;YACvC,MAAM,WAAW,GAAG,IAAI,uBAAW,CAAC,IAAI,CAAC,CAAC;YAC1C,MAAM,MAAM,GAAG,MAAM,WAAW,CAAC,kBAAkB,CACjD,IAAI,CAAC,KAAK,CAAC,SAAS,EACpB,IAAI,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CAAC;QAClB,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,iBAAiB,CAAC;KACpD,CAAC;IACF,QAAQ,EAAE,eAAK,CAAC,IAAI,CAAC;QACnB,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,qBAAqB,CAAC;QACvD,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,yBAAyB,CAAC;QAC/D,OAAO,EAAE,MAAM;QACf,OAAO,EAAE,iBAAS;KACnB,CAAC;IACF,UAAU,EAAE,eAAK,CAAC,OAAO,EAAE;IAC3B,YAAY,EAAE,eAAK,CAAC,OAAO,CAAC;QAC1B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,yBAAyB,CAAC;KAC5D,CAAC;IACF,SAAS,EAAE,eAAK,CAAC,MAAM,CAAC;QACtB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,4BAA4B,CAAC;KAC/D,CAAC;IACF,YAAY,EAAE,eAAK,CAAC,IAAI,CAAC;QACvB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,6BAA6B,CAAC;QAC/D,OAAO,EAAE,oBAAY;KACtB,CAAC;IACF,IAAI,EAAE,eAAK,CAAC,MAAM,CAAC;QACjB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,iBAAiB,CAAC;KACpD,CAAC;IACF,OAAO,EAAE,eAAK,CAAC,OAAO,CAAC;QACrB,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC;KACvD,CAAC;CACH,CAAC"}
|
|
@@ -68,7 +68,7 @@ class Run extends command_1.SfdxCommand {
|
|
|
68
68
|
}
|
|
69
69
|
if (this.flags.outputdir) {
|
|
70
70
|
const jsonOutput = this.formatResultInJson(result);
|
|
71
|
-
const outputDirConfig = reporters_1.buildOutputDirConfig(result, jsonOutput, this.flags.outputdir, this.flags.resultformat, this.flags.detailedcoverage, this.flags.synchronous);
|
|
71
|
+
const outputDirConfig = (0, reporters_1.buildOutputDirConfig)(result, jsonOutput, this.flags.outputdir, this.flags.resultformat, this.flags.detailedcoverage, this.flags.synchronous);
|
|
72
72
|
yield testService.writeResultFiles(result, outputDirConfig, this.flags.codecoverage);
|
|
73
73
|
}
|
|
74
74
|
try {
|
|
@@ -111,7 +111,9 @@ class Run extends command_1.SfdxCommand {
|
|
|
111
111
|
}
|
|
112
112
|
catch (e) {
|
|
113
113
|
this.ux.logJson(result);
|
|
114
|
-
const msg = messages.getMessage('testResultProcessErr', [
|
|
114
|
+
const msg = messages.getMessage('testResultProcessErr', [
|
|
115
|
+
e.message
|
|
116
|
+
]);
|
|
115
117
|
this.ux.error(msg);
|
|
116
118
|
}
|
|
117
119
|
return this.formatResultInJson(result);
|
|
@@ -179,7 +181,9 @@ class Run extends command_1.SfdxCommand {
|
|
|
179
181
|
}
|
|
180
182
|
catch (e) {
|
|
181
183
|
this.ux.logJson(result);
|
|
182
|
-
const msg = messages.getMessage('testResultProcessErr', [
|
|
184
|
+
const msg = messages.getMessage('testResultProcessErr', [
|
|
185
|
+
e.message
|
|
186
|
+
]);
|
|
183
187
|
this.ux.error(msg);
|
|
184
188
|
throw e;
|
|
185
189
|
}
|
|
@@ -213,7 +217,7 @@ class Run extends command_1.SfdxCommand {
|
|
|
213
217
|
}
|
|
214
218
|
exports.default = Run;
|
|
215
219
|
Run.requiresUsername = true;
|
|
216
|
-
Run.description = utils_1.buildDescription(messages.getMessage('commandDescription'), messages.getMessage('longDescription'));
|
|
220
|
+
Run.description = (0, utils_1.buildDescription)(messages.getMessage('commandDescription'), messages.getMessage('longDescription'));
|
|
217
221
|
Run.longDescription = messages.getMessage('longDescription');
|
|
218
222
|
Run.examples = [
|
|
219
223
|
`$ sfdx force:apex:test:run`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run.js","sourceRoot":"","sources":["../../../../../src/commands/force/apex/test/run.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KACvD,CAAC;IACF,gBAAgB,EAAE,eAAK,CAAC,OAAO,CAAC;QAC9B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,6BAA6B,CAAC;QAC/D,SAAS,EAAE,CAAC,cAAc,CAAC;KAC5B,CAAC;CACH,CAAC"}
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.11.0","commands":{"force:apex:execute":{"id":"force:apex:execute","description":"executes anonymous Apex code\nExecutes one or more lines of anonymous Apex code entered on the command line, or executes the code in a local file.\nIf you don’t run this command from within a Salesforce DX project, —-targetusername is required.\nTo execute your code interactively, run this command with no parameters. At the prompt, enter all your Apex code; press CTRL-D when you're finished. Your code is then executed in a single execute anonymous request.\nFor more information, see \"Anonymous Blocks\" in the Apex Developer Guide.\n\n","usage":"<%= command.id %> [-f <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:execute -u testusername@salesforce.org -f ~/test.apex","$ sfdx force:apex:execute -f ~/test.apex","$ sfdx force:apex:execute \nStart typing Apex code. Press the Enter key after each line, then press CTRL+D when finished."],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"apexcodefile":{"name":"apexcodefile","type":"option","char":"f","description":"path to a local file that contains Apex code"}},"args":[]},"force:apex:log:get":{"id":"force:apex:log:get","description":"fetch debug logs\nFetches the specified log or given number of most recent logs from the scratch org. \nTo get the IDs for your debug logs, run \"sfdx force:apex:log:list\". \nUse the --logid parameter to return a specific log. \nUse the --number parameter to return the specified number of recent logs.\nUse the --outputdir parameter to specify the directory to store the logs in.\nExecuting this command without parameters returns the most recent log.","usage":"<%= command.id %> [-i <id>] [-n <number>] [-d <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:log:get -i <log id>","$ sfdx force:apex:log:get -i <log id> -u me@my.org","$ sfdx force:apex:log:get -n 2 -c","$ sfdx force:apex:log:get -d Users/Desktop/logs -n 2"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as JSON","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"logid":{"name":"logid","type":"option","char":"i","description":"id of the log to display"},"number":{"name":"number","type":"option","char":"n","description":"number of most recent logs to display"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"directory for saving the log files"}},"args":[]},"force:apex:log:list":{"id":"force:apex:log:list","description":"display a list of IDs and general information about debug logs\nRun this command in a project to list the IDs and general information for all debug logs in your default org.\nTo fetch a specific log from your org, obtain the ID from this command's output, then run the “sfdx force:apex:log:get” command.","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:log:list","$ sfdx force:apex:log:list -u me@my.org"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as JSON","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"force:apex:log:tail":{"id":"force:apex:log:tail","description":"Follows active log\nActivates debug logging and displays logs in the terminal. You can also pipe the logs to a file.","usage":"<%= command.id %> [-c] [-d <string>] [-s] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:log:tail","$ sfdx force:apex:log:tail --debuglevel MyDebugLevel","$ sfdx force:apex:log:tail -c -s"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as JSON.","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"Logging level for this command invocation","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"color":{"name":"color","type":"boolean","char":"c","description":"Applies default colors to noteworthy log lines.","allowNo":false},"debuglevel":{"name":"debuglevel","type":"option","char":"d","description":"Debug level to set on the DEVELOPER_LOG trace flag for your user."},"skiptraceflag":{"name":"skiptraceflag","type":"boolean","char":"s","description":"Skips trace flag setup. Assumes that a trace flag and debug level are fully set up.","allowNo":false}},"args":[]},"force:apex:test:report":{"id":"force:apex:test:report","description":"display test results for a specific asynchronous test run\nProvide a test run ID to display test results for an enqueued or completed asynchronous test run. The test run ID is displayed after running the \"sfdx force:apex:test:run\" command.","usage":"<%= command.id %> -i <string> [-c] [-d <string>] [-r human|tap|junit|json] [-w <string>] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:test:report -i <test run id>","$ sfdx force:apex:test:report -i <test run id> -r junit","$ sfdx force:apex:test:report -i <test run id> -c --json","$ sfdx force:apex:test:report -i <test run id> -c -d <path to outputdir> -u me@myorg"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as JSON","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"[default: warn] logging level for this command invocation; logs are stored in $HOME/.sfdx/sfdx.log","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"testrunid":{"name":"testrunid","type":"option","char":"i","description":"the ID of the test run","required":true},"codecoverage":{"name":"codecoverage","type":"boolean","char":"c","description":"retrieves code coverage results","allowNo":false},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"directory to store test result files"},"resultformat":{"name":"resultformat","type":"option","char":"r","description":"Permissible values are: human, tap, junit, json","helpValue":"(human|tap|junit|json)","options":["human","tap","junit","json"]},"wait":{"name":"wait","type":"option","char":"w","description":"sets the streaming client socket timeout in minutes; specify a longer wait time if timeouts occur frequently"},"verbose":{"name":"verbose","type":"boolean","description":"display Apex test processing details; if JSON is specified, processing details aren't displayed","allowNo":false}},"args":[]},"force:apex:test:run":{"id":"force:apex:test:run","description":"invoke Apex tests\nSpecify which tests to run by using the --classnames, --suites, or --tests parameters. Alternatively, use the --testlevel parameter to run all the tests in your org, local tests, or specified tests.\nTo see code coverage results, use the --codecoverage parameter with --resultformat. The output displays a high-level summary of the test run and the code coverage values for classes in your org. If you specify human-readable result format, use the --detailedcoverage parameter to see detailed coverage results for each test method run.\n\nNOTE: The testRunCoverage value (JSON and JUnit result formats) is a percentage of the covered lines and total lines from all the Apex classes evaluated by the tests in this run.","usage":"<%= command.id %> [-d <string>] [-l RunLocalTests|RunAllTestsInOrg|RunSpecifiedTests] [-n <string>] [-r human|tap|junit|json] [-s <string>] [-t <string>] [-w <string>] [-y] [-v -c] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:test:run","$ sfdx force:apex:test:run -n \"MyClassTest,MyOtherClassTest\" -r human","$ sfdx force:apex:test:run -s \"MySuite,MyOtherSuite\" -c -v --json","$ sfdx force:apex:test:run -t \"MyClassTest.testCoolFeature,MyClassTest.testAwesomeFeature,AnotherClassTest,namespace.TheirClassTest.testThis\" -r human","$ sfdx force:apex:test:run -l RunLocalTests -d <path to outputdir> -u me@my.org"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as JSON","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"[default: warn] logging level for this command invocation; logs are stored in $HOME/.sfdx/sfdx.log","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"codecoverage":{"name":"codecoverage","type":"boolean","char":"c","description":"retrieves code coverage results","allowNo":false},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"directory to store test run files"},"testlevel":{"name":"testlevel","type":"option","char":"l","description":"specifies which tests to run, using one of these TestLevel enum values:\nRunSpecifiedTests—Only the tests that you specify are run.\nRunLocalTests—All tests in your org are run, except the ones that originate from installed managed packages.\nRunAllTestsInOrg—All tests are in your org and in installed managed packages are run","helpValue":"(RunLocalTests|RunAllTestsInOrg|RunSpecifiedTests)","options":["RunLocalTests","RunAllTestsInOrg","RunSpecifiedTests"]},"classnames":{"name":"classnames","type":"option","char":"n","description":"comma-separated list of Apex test class names to run; if you select --classnames, you can't specify --suitenames or --tests"},"resultformat":{"name":"resultformat","type":"option","char":"r","description":"Permissible values are: human, tap, junit, json","helpValue":"(human|tap|junit|json)","options":["human","tap","junit","json"]},"suitenames":{"name":"suitenames","type":"option","char":"s","description":"comma-separated list of Apex test suite names to run; if you select --suitenames, you can't specify --classnames or --tests"},"tests":{"name":"tests","type":"option","char":"t","description":"comma-separated list of Apex test class names or IDs and, if applicable, test methods to run; if you specify --tests, you can't specify --classnames or --suitenames"},"wait":{"name":"wait","type":"option","char":"w","description":"sets the streaming client socket timeout in minutes; specify a longer wait time if timeouts occur frequently"},"synchronous":{"name":"synchronous","type":"boolean","char":"y","description":"runs test methods from a single Apex class synchronously; if not specified, tests are run ansynchronously","allowNo":false},"verbose":{"name":"verbose","type":"boolean","description":"display Apex test processing details; if JSON is specified, processing details aren't displayed","allowNo":false},"detailedcoverage":{"name":"detailedcoverage","type":"boolean","char":"v","description":"display detailed code coverage per test","allowNo":false}},"args":[]}}}
|
|
1
|
+
{"version":"0.12.0","commands":{"force:apex:execute":{"id":"force:apex:execute","description":"executes anonymous Apex code\nExecutes one or more lines of anonymous Apex code entered on the command line, or executes the code in a local file.\nIf you don’t run this command from within a Salesforce DX project, —-targetusername is required.\nTo execute your code interactively, run this command with no parameters. At the prompt, enter all your Apex code; press CTRL-D when you're finished. Your code is then executed in a single execute anonymous request.\nFor more information, see \"Anonymous Blocks\" in the Apex Developer Guide.\n\n","usage":"<%= command.id %> [-f <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:execute -u testusername@salesforce.org -f ~/test.apex","$ sfdx force:apex:execute -f ~/test.apex","$ sfdx force:apex:execute \nStart typing Apex code. Press the Enter key after each line, then press CTRL+D when finished."],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"apexcodefile":{"name":"apexcodefile","type":"option","char":"f","description":"path to a local file that contains Apex code"}},"args":[]},"force:apex:log:get":{"id":"force:apex:log:get","description":"fetch debug logs\nFetches the specified log or given number of most recent logs from the scratch org. \nTo get the IDs for your debug logs, run \"sfdx force:apex:log:list\". \nUse the --logid parameter to return a specific log. \nUse the --number parameter to return the specified number of recent logs.\nUse the --outputdir parameter to specify the directory to store the logs in.\nExecuting this command without parameters returns the most recent log.","usage":"<%= command.id %> [-i <id>] [-n <number>] [-d <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:log:get -i <log id>","$ sfdx force:apex:log:get -i <log id> -u me@my.org","$ sfdx force:apex:log:get -n 2 -c","$ sfdx force:apex:log:get -d Users/Desktop/logs -n 2"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as JSON","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"logid":{"name":"logid","type":"option","char":"i","description":"id of the log to display"},"number":{"name":"number","type":"option","char":"n","description":"number of most recent logs to display"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"directory for saving the log files"}},"args":[]},"force:apex:log:list":{"id":"force:apex:log:list","description":"display a list of IDs and general information about debug logs\nRun this command in a project to list the IDs and general information for all debug logs in your default org.\nTo fetch a specific log from your org, obtain the ID from this command's output, then run the “sfdx force:apex:log:get” command.","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:log:list","$ sfdx force:apex:log:list -u me@my.org"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as JSON","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"force:apex:log:tail":{"id":"force:apex:log:tail","description":"Follows active log\nActivates debug logging and displays logs in the terminal. You can also pipe the logs to a file.","usage":"<%= command.id %> [-c] [-d <string>] [-s] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:log:tail","$ sfdx force:apex:log:tail --debuglevel MyDebugLevel","$ sfdx force:apex:log:tail -c -s"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as JSON.","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"Logging level for this command invocation","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"color":{"name":"color","type":"boolean","char":"c","description":"Applies default colors to noteworthy log lines.","allowNo":false},"debuglevel":{"name":"debuglevel","type":"option","char":"d","description":"Debug level to set on the DEVELOPER_LOG trace flag for your user."},"skiptraceflag":{"name":"skiptraceflag","type":"boolean","char":"s","description":"Skips trace flag setup. Assumes that a trace flag and debug level are fully set up.","allowNo":false}},"args":[]},"force:apex:test:report":{"id":"force:apex:test:report","description":"display test results for a specific asynchronous test run\nProvide a test run ID to display test results for an enqueued or completed asynchronous test run. The test run ID is displayed after running the \"sfdx force:apex:test:run\" command.","usage":"<%= command.id %> -i <string> [-c] [-d <string>] [-r human|tap|junit|json] [-w <string>] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:test:report -i <test run id>","$ sfdx force:apex:test:report -i <test run id> -r junit","$ sfdx force:apex:test:report -i <test run id> -c --json","$ sfdx force:apex:test:report -i <test run id> -c -d <path to outputdir> -u me@myorg"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as JSON","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"[default: warn] logging level for this command invocation; logs are stored in $HOME/.sfdx/sfdx.log","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"testrunid":{"name":"testrunid","type":"option","char":"i","description":"the ID of the test run","required":true},"codecoverage":{"name":"codecoverage","type":"boolean","char":"c","description":"retrieves code coverage results","allowNo":false},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"directory to store test result files"},"resultformat":{"name":"resultformat","type":"option","char":"r","description":"Permissible values are: human, tap, junit, json","helpValue":"(human|tap|junit|json)","options":["human","tap","junit","json"]},"wait":{"name":"wait","type":"option","char":"w","description":"sets the streaming client socket timeout in minutes; specify a longer wait time if timeouts occur frequently"},"verbose":{"name":"verbose","type":"boolean","description":"display Apex test processing details; if JSON is specified, processing details aren't displayed","allowNo":false}},"args":[]},"force:apex:test:run":{"id":"force:apex:test:run","description":"invoke Apex tests\nSpecify which tests to run by using the --classnames, --suites, or --tests parameters. Alternatively, use the --testlevel parameter to run all the tests in your org, local tests, or specified tests.\nTo see code coverage results, use the --codecoverage parameter with --resultformat. The output displays a high-level summary of the test run and the code coverage values for classes in your org. If you specify human-readable result format, use the --detailedcoverage parameter to see detailed coverage results for each test method run.\n\nNOTE: The testRunCoverage value (JSON and JUnit result formats) is a percentage of the covered lines and total lines from all the Apex classes evaluated by the tests in this run.","usage":"<%= command.id %> [-d <string>] [-l RunLocalTests|RunAllTestsInOrg|RunSpecifiedTests] [-n <string>] [-r human|tap|junit|json] [-s <string>] [-t <string>] [-w <string>] [-y] [-v -c] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:test:run","$ sfdx force:apex:test:run -n \"MyClassTest,MyOtherClassTest\" -r human","$ sfdx force:apex:test:run -s \"MySuite,MyOtherSuite\" -c -v --json","$ sfdx force:apex:test:run -t \"MyClassTest.testCoolFeature,MyClassTest.testAwesomeFeature,AnotherClassTest,namespace.TheirClassTest.testThis\" -r human","$ sfdx force:apex:test:run -l RunLocalTests -d <path to outputdir> -u me@my.org"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as JSON","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"[default: warn] logging level for this command invocation; logs are stored in $HOME/.sfdx/sfdx.log","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"codecoverage":{"name":"codecoverage","type":"boolean","char":"c","description":"retrieves code coverage results","allowNo":false},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"directory to store test run files"},"testlevel":{"name":"testlevel","type":"option","char":"l","description":"specifies which tests to run, using one of these TestLevel enum values:\nRunSpecifiedTests—Only the tests that you specify are run.\nRunLocalTests—All tests in your org are run, except the ones that originate from installed managed packages.\nRunAllTestsInOrg—All tests are in your org and in installed managed packages are run","helpValue":"(RunLocalTests|RunAllTestsInOrg|RunSpecifiedTests)","options":["RunLocalTests","RunAllTestsInOrg","RunSpecifiedTests"]},"classnames":{"name":"classnames","type":"option","char":"n","description":"comma-separated list of Apex test class names to run; if you select --classnames, you can't specify --suitenames or --tests"},"resultformat":{"name":"resultformat","type":"option","char":"r","description":"Permissible values are: human, tap, junit, json","helpValue":"(human|tap|junit|json)","options":["human","tap","junit","json"]},"suitenames":{"name":"suitenames","type":"option","char":"s","description":"comma-separated list of Apex test suite names to run; if you select --suitenames, you can't specify --classnames or --tests"},"tests":{"name":"tests","type":"option","char":"t","description":"comma-separated list of Apex test class names or IDs and, if applicable, test methods to run; if you specify --tests, you can't specify --classnames or --suitenames"},"wait":{"name":"wait","type":"option","char":"w","description":"sets the streaming client socket timeout in minutes; specify a longer wait time if timeouts occur frequently"},"synchronous":{"name":"synchronous","type":"boolean","char":"y","description":"runs test methods from a single Apex class synchronously; if not specified, tests are run ansynchronously","allowNo":false},"verbose":{"name":"verbose","type":"boolean","description":"display Apex test processing details; if JSON is specified, processing details aren't displayed","allowNo":false},"detailedcoverage":{"name":"detailedcoverage","type":"boolean","char":"v","description":"display detailed code coverage per test","allowNo":false}},"args":[]}}}
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-apex",
|
|
3
3
|
"description": "Apex commands",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.12.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/salesforcedx-apex/issues",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@oclif/command": "^1",
|
|
9
9
|
"@oclif/config": "^1",
|
|
10
10
|
"@oclif/errors": "^1",
|
|
11
|
-
"@salesforce/apex-node": "0.
|
|
11
|
+
"@salesforce/apex-node": "0.12.0",
|
|
12
12
|
"@salesforce/command": "4.2.0",
|
|
13
13
|
"@salesforce/core": "^2.35.0",
|
|
14
14
|
"chalk": "^4.1.0",
|
|
@@ -26,22 +26,22 @@
|
|
|
26
26
|
"@types/chai": "^4",
|
|
27
27
|
"@types/mkdirp": "0.5.2",
|
|
28
28
|
"@types/mocha": "^5",
|
|
29
|
-
"@types/node": "^
|
|
29
|
+
"@types/node": "^14",
|
|
30
30
|
"chai": "^4",
|
|
31
31
|
"cross-env": "7.0.2",
|
|
32
32
|
"globby": "^8",
|
|
33
33
|
"mocha": "^5",
|
|
34
34
|
"nyc": "^14.1.1",
|
|
35
|
-
"shx": "0.
|
|
35
|
+
"shx": "^0.3.4",
|
|
36
36
|
"sinon": "^7.3.1",
|
|
37
37
|
"ts-node": "^8.7.0",
|
|
38
|
-
"typescript": "4.
|
|
38
|
+
"typescript": "4.6.4"
|
|
39
39
|
},
|
|
40
40
|
"resolutions": {
|
|
41
41
|
"**/@salesforce/core": "^2.35.0"
|
|
42
42
|
},
|
|
43
43
|
"engines": {
|
|
44
|
-
"node": ">=
|
|
44
|
+
"node": ">=14.14.0"
|
|
45
45
|
},
|
|
46
46
|
"files": [
|
|
47
47
|
"yarn.lock",
|
|
@@ -121,6 +121,6 @@
|
|
|
121
121
|
},
|
|
122
122
|
"sfdx": {
|
|
123
123
|
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/sfdx-cli-03032020.crt",
|
|
124
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/signatures/salesforce-plugin-apex-0.
|
|
124
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/signatures/salesforce-plugin-apex-0.12.0.sig"
|
|
125
125
|
}
|
|
126
126
|
}
|
package/yarn.lock
CHANGED
|
@@ -139,18 +139,30 @@
|
|
|
139
139
|
debug "^4.1.1"
|
|
140
140
|
semver "^7.3.2"
|
|
141
141
|
|
|
142
|
-
"@oclif/command@^1.8.1"
|
|
143
|
-
version "1.8.
|
|
144
|
-
resolved "https://registry.yarnpkg.com/@oclif/command/-/command-1.8.
|
|
145
|
-
integrity sha512-
|
|
142
|
+
"@oclif/command@^1.8.1":
|
|
143
|
+
version "1.8.16"
|
|
144
|
+
resolved "https://registry.yarnpkg.com/@oclif/command/-/command-1.8.16.tgz#bea46f81b2061b47e1cda318a0b923e62ca4cc0c"
|
|
145
|
+
integrity sha512-rmVKYEsKzurfRU0xJz+iHelbi1LGlihIWZ7Qvmb/CBz1EkhL7nOkW4SVXmG2dA5Ce0si2gr88i6q4eBOMRNJ1w==
|
|
146
146
|
dependencies:
|
|
147
|
-
"@oclif/config" "^1.18.
|
|
147
|
+
"@oclif/config" "^1.18.2"
|
|
148
148
|
"@oclif/errors" "^1.3.5"
|
|
149
|
+
"@oclif/help" "^1.0.1"
|
|
149
150
|
"@oclif/parser" "^3.8.6"
|
|
150
|
-
"@oclif/plugin-help" "^3.2.10"
|
|
151
151
|
debug "^4.1.1"
|
|
152
152
|
semver "^7.3.2"
|
|
153
153
|
|
|
154
|
+
"@oclif/config@1.18.2":
|
|
155
|
+
version "1.18.2"
|
|
156
|
+
resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.18.2.tgz#5bfe74a9ba6a8ca3dceb314a81bd9ce2e15ebbfe"
|
|
157
|
+
integrity sha512-cE3qfHWv8hGRCP31j7fIS7BfCflm/BNZ2HNqHexH+fDrdF2f1D5S8VmXWLC77ffv3oDvWyvE9AZeR0RfmHCCaA==
|
|
158
|
+
dependencies:
|
|
159
|
+
"@oclif/errors" "^1.3.3"
|
|
160
|
+
"@oclif/parser" "^3.8.0"
|
|
161
|
+
debug "^4.1.1"
|
|
162
|
+
globby "^11.0.1"
|
|
163
|
+
is-wsl "^2.1.1"
|
|
164
|
+
tslib "^2.0.0"
|
|
165
|
+
|
|
154
166
|
"@oclif/config@^1", "@oclif/config@^1.14.0", "@oclif/config@^1.15.1", "@oclif/config@^1.17.0":
|
|
155
167
|
version "1.17.0"
|
|
156
168
|
resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.17.0.tgz#ba8639118633102a7e481760c50054623d09fcab"
|
|
@@ -163,17 +175,17 @@
|
|
|
163
175
|
is-wsl "^2.1.1"
|
|
164
176
|
tslib "^2.0.0"
|
|
165
177
|
|
|
166
|
-
"@oclif/config@^1.18.
|
|
167
|
-
version "1.18.
|
|
168
|
-
resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.18.
|
|
169
|
-
integrity sha512-
|
|
178
|
+
"@oclif/config@^1.18.2":
|
|
179
|
+
version "1.18.3"
|
|
180
|
+
resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.18.3.tgz#ddfc144fdab66b1658c2f1b3478fa7fbfd317e79"
|
|
181
|
+
integrity sha512-sBpko86IrTscc39EvHUhL+c++81BVTsIZ3ETu/vG+cCdi0N6vb2DoahR67A9FI2CGnxRRHjnTfa3m6LulwNATA==
|
|
170
182
|
dependencies:
|
|
171
|
-
"@oclif/errors" "^1.3.
|
|
183
|
+
"@oclif/errors" "^1.3.5"
|
|
172
184
|
"@oclif/parser" "^3.8.0"
|
|
173
185
|
debug "^4.1.1"
|
|
174
186
|
globby "^11.0.1"
|
|
175
187
|
is-wsl "^2.1.1"
|
|
176
|
-
tslib "^2.
|
|
188
|
+
tslib "^2.3.1"
|
|
177
189
|
|
|
178
190
|
"@oclif/dev-cli@^1":
|
|
179
191
|
version "1.26.0"
|
|
@@ -194,6 +206,17 @@
|
|
|
194
206
|
qqjs "^0.3.10"
|
|
195
207
|
tslib "^2.0.3"
|
|
196
208
|
|
|
209
|
+
"@oclif/errors@1.3.5", "@oclif/errors@^1.3.5":
|
|
210
|
+
version "1.3.5"
|
|
211
|
+
resolved "https://registry.yarnpkg.com/@oclif/errors/-/errors-1.3.5.tgz#a1e9694dbeccab10fe2fe15acb7113991bed636c"
|
|
212
|
+
integrity sha512-OivucXPH/eLLlOT7FkCMoZXiaVYf8I/w1eTAM1+gKzfhALwWTusxEx7wBmW0uzvkSg/9ovWLycPaBgJbM3LOCQ==
|
|
213
|
+
dependencies:
|
|
214
|
+
clean-stack "^3.0.0"
|
|
215
|
+
fs-extra "^8.1"
|
|
216
|
+
indent-string "^4.0.0"
|
|
217
|
+
strip-ansi "^6.0.0"
|
|
218
|
+
wrap-ansi "^7.0.0"
|
|
219
|
+
|
|
197
220
|
"@oclif/errors@^1", "@oclif/errors@^1.2.1", "@oclif/errors@^1.2.2", "@oclif/errors@^1.3.3":
|
|
198
221
|
version "1.3.4"
|
|
199
222
|
resolved "https://registry.yarnpkg.com/@oclif/errors/-/errors-1.3.4.tgz#a96f94536b4e25caa72eff47e8b3ed04f6995f55"
|
|
@@ -205,23 +228,27 @@
|
|
|
205
228
|
strip-ansi "^6.0.0"
|
|
206
229
|
wrap-ansi "^7.0.0"
|
|
207
230
|
|
|
208
|
-
"@oclif/
|
|
209
|
-
version "1.
|
|
210
|
-
resolved "https://registry.yarnpkg.com/@oclif/
|
|
211
|
-
integrity sha512-
|
|
231
|
+
"@oclif/help@^1.0.1":
|
|
232
|
+
version "1.0.1"
|
|
233
|
+
resolved "https://registry.yarnpkg.com/@oclif/help/-/help-1.0.1.tgz#fd96a3dd9fb2314479e6c8584c91b63754a7dff5"
|
|
234
|
+
integrity sha512-8rsl4RHL5+vBUAKBL6PFI3mj58hjPCp2VYyXD4TAa7IMStikFfOH2gtWmqLzIlxAED2EpD0dfYwo9JJxYsH7Aw==
|
|
212
235
|
dependencies:
|
|
213
|
-
|
|
214
|
-
|
|
236
|
+
"@oclif/config" "1.18.2"
|
|
237
|
+
"@oclif/errors" "1.3.5"
|
|
238
|
+
chalk "^4.1.2"
|
|
215
239
|
indent-string "^4.0.0"
|
|
240
|
+
lodash "^4.17.21"
|
|
241
|
+
string-width "^4.2.0"
|
|
216
242
|
strip-ansi "^6.0.0"
|
|
217
|
-
|
|
243
|
+
widest-line "^3.1.0"
|
|
244
|
+
wrap-ansi "^6.2.0"
|
|
218
245
|
|
|
219
246
|
"@oclif/linewrap@^1.0.0":
|
|
220
247
|
version "1.0.0"
|
|
221
248
|
resolved "https://registry.yarnpkg.com/@oclif/linewrap/-/linewrap-1.0.0.tgz#aedcb64b479d4db7be24196384897b5000901d91"
|
|
222
249
|
integrity sha512-Ups2dShK52xXa8w6iBWLgcjPJWjais6KPJQq3gQ/88AY6BXoTX+MIGFPrWQO1KLMiQfoTpcLnUwloN4brrVUHw==
|
|
223
250
|
|
|
224
|
-
"@oclif/parser@3.8.6"
|
|
251
|
+
"@oclif/parser@3.8.6":
|
|
225
252
|
version "3.8.6"
|
|
226
253
|
resolved "https://registry.yarnpkg.com/@oclif/parser/-/parser-3.8.6.tgz#d5a108af9c708a051cc6b1d27d47359d75f41236"
|
|
227
254
|
integrity sha512-tXb0NKgSgNxmf6baN6naK+CCwOueaFk93FG9u202U7mTBHUKsioOUlw1SG/iPi9aJM3WE4pHLXmty59pci0OEw==
|
|
@@ -241,6 +268,16 @@
|
|
|
241
268
|
chalk "^2.4.2"
|
|
242
269
|
tslib "^1.9.3"
|
|
243
270
|
|
|
271
|
+
"@oclif/parser@^3.8.6":
|
|
272
|
+
version "3.8.7"
|
|
273
|
+
resolved "https://registry.yarnpkg.com/@oclif/parser/-/parser-3.8.7.tgz#236d48db05d0b00157d3b42d31f9dac7550d2a7c"
|
|
274
|
+
integrity sha512-b11xBmIUK+LuuwVGJpFs4LwQN2xj2cBWj2c4z1FtiXGrJ85h9xV6q+k136Hw0tGg1jQoRXuvuBnqQ7es7vO9/Q==
|
|
275
|
+
dependencies:
|
|
276
|
+
"@oclif/errors" "^1.3.5"
|
|
277
|
+
"@oclif/linewrap" "^1.0.0"
|
|
278
|
+
chalk "^4.1.0"
|
|
279
|
+
tslib "^2.3.1"
|
|
280
|
+
|
|
244
281
|
"@oclif/plugin-command-snapshot@^1.0.0":
|
|
245
282
|
version "1.1.0"
|
|
246
283
|
resolved "https://registry.yarnpkg.com/@oclif/plugin-command-snapshot/-/plugin-command-snapshot-1.1.0.tgz#cedb336939b2a9c6b7c085c101d42ba18d910e2c"
|
|
@@ -282,22 +319,6 @@
|
|
|
282
319
|
widest-line "^3.1.0"
|
|
283
320
|
wrap-ansi "^4.0.0"
|
|
284
321
|
|
|
285
|
-
"@oclif/plugin-help@^3.2.10":
|
|
286
|
-
version "3.2.10"
|
|
287
|
-
resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-3.2.10.tgz#1843ac05f8cd139b575ee8b1dfc34bb500110e68"
|
|
288
|
-
integrity sha512-U3Jk01MTnqnd9druulNSn6nTjPEE1Rr6PWhD4rJ6Z+NjLFTKhp3S1kutWDXJQd7CQ6m8tHd1AYgsIjiR+36bSw==
|
|
289
|
-
dependencies:
|
|
290
|
-
"@oclif/command" "^1.8.6"
|
|
291
|
-
"@oclif/config" "^1.18.1"
|
|
292
|
-
"@oclif/errors" "^1.3.5"
|
|
293
|
-
chalk "^4.1.2"
|
|
294
|
-
indent-string "^4.0.0"
|
|
295
|
-
lodash "^4.17.21"
|
|
296
|
-
string-width "^4.2.0"
|
|
297
|
-
strip-ansi "^6.0.0"
|
|
298
|
-
widest-line "^3.1.0"
|
|
299
|
-
wrap-ansi "^6.2.0"
|
|
300
|
-
|
|
301
322
|
"@oclif/screen@^1.0.3":
|
|
302
323
|
version "1.0.4"
|
|
303
324
|
resolved "https://registry.yarnpkg.com/@oclif/screen/-/screen-1.0.4.tgz#b740f68609dfae8aa71c3a6cab15d816407ba493"
|
|
@@ -566,10 +587,10 @@
|
|
|
566
587
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.25.tgz#15967a7b577ff81383f9b888aa6705d43fbbae93"
|
|
567
588
|
integrity sha512-EPpXLOVqDvisVxtlbvzfyqSsFeQxltFbluZNRndIb8tr9KiBnYNLzrc1N3pyKUCww2RNrfHDViqDWWE1LCJQtQ==
|
|
568
589
|
|
|
569
|
-
"@types/node@^
|
|
570
|
-
version "
|
|
571
|
-
resolved "https://registry.yarnpkg.com/@types/node/-/node-
|
|
572
|
-
integrity sha512-
|
|
590
|
+
"@types/node@^14":
|
|
591
|
+
version "14.18.18"
|
|
592
|
+
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.18.18.tgz#5c9503030df484ccffcbb935ea9a9e1d6fad1a20"
|
|
593
|
+
integrity sha512-B9EoJFjhqcQ9OmQrNorItO+OwEOORNn3S31WuiHvZY/dm9ajkB7AKD/8toessEtHHNL+58jofbq7hMMY9v4yig==
|
|
573
594
|
|
|
574
595
|
"@types/sinon@*":
|
|
575
596
|
version "9.0.10"
|
|
@@ -1476,11 +1497,6 @@ es6-error@^4.0.1:
|
|
|
1476
1497
|
resolved "https://registry.yarnpkg.com/es6-error/-/es6-error-4.1.1.tgz#9e3af407459deed47e9a91f9b885a84eb05c561d"
|
|
1477
1498
|
integrity sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==
|
|
1478
1499
|
|
|
1479
|
-
es6-object-assign@^1.0.3:
|
|
1480
|
-
version "1.1.0"
|
|
1481
|
-
resolved "https://registry.yarnpkg.com/es6-object-assign/-/es6-object-assign-1.1.0.tgz#c2c3582656247c39ea107cb1e6652b6f9f24523c"
|
|
1482
|
-
integrity sha1-wsNYJlYkfDnqEHyx5mUrb58kUjw=
|
|
1483
|
-
|
|
1484
1500
|
escape-string-regexp@1.0.5, escape-string-regexp@^1.0.5:
|
|
1485
1501
|
version "1.0.5"
|
|
1486
1502
|
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
|
|
@@ -2825,7 +2841,7 @@ minimist@0.0.8:
|
|
|
2825
2841
|
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
|
|
2826
2842
|
integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=
|
|
2827
2843
|
|
|
2828
|
-
minimist@^1.2.
|
|
2844
|
+
minimist@^1.2.3, minimist@^1.2.5:
|
|
2829
2845
|
version "1.2.5"
|
|
2830
2846
|
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
|
|
2831
2847
|
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
|
|
@@ -3622,15 +3638,6 @@ shebang-regex@^3.0.0:
|
|
|
3622
3638
|
resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172"
|
|
3623
3639
|
integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==
|
|
3624
3640
|
|
|
3625
|
-
shelljs@^0.7.3:
|
|
3626
|
-
version "0.7.8"
|
|
3627
|
-
resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.8.tgz#decbcf874b0d1e5fb72e14b164a9683048e9acb3"
|
|
3628
|
-
integrity sha1-3svPh0sNHl+3LhSxZKloMEjprLM=
|
|
3629
|
-
dependencies:
|
|
3630
|
-
glob "^7.0.0"
|
|
3631
|
-
interpret "^1.0.0"
|
|
3632
|
-
rechoir "^0.6.2"
|
|
3633
|
-
|
|
3634
3641
|
shelljs@^0.8.4:
|
|
3635
3642
|
version "0.8.4"
|
|
3636
3643
|
resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.4.tgz#de7684feeb767f8716b326078a8a00875890e3c2"
|
|
@@ -3640,14 +3647,14 @@ shelljs@^0.8.4:
|
|
|
3640
3647
|
interpret "^1.0.0"
|
|
3641
3648
|
rechoir "^0.6.2"
|
|
3642
3649
|
|
|
3643
|
-
|
|
3644
|
-
version "0.
|
|
3645
|
-
resolved "https://registry.yarnpkg.com/
|
|
3646
|
-
integrity
|
|
3650
|
+
shelljs@^0.8.5:
|
|
3651
|
+
version "0.8.5"
|
|
3652
|
+
resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.5.tgz#de055408d8361bed66c669d2f000538ced8ee20c"
|
|
3653
|
+
integrity sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==
|
|
3647
3654
|
dependencies:
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3655
|
+
glob "^7.0.0"
|
|
3656
|
+
interpret "^1.0.0"
|
|
3657
|
+
rechoir "^0.6.2"
|
|
3651
3658
|
|
|
3652
3659
|
shx@^0.3.3:
|
|
3653
3660
|
version "0.3.3"
|
|
@@ -3657,6 +3664,14 @@ shx@^0.3.3:
|
|
|
3657
3664
|
minimist "^1.2.3"
|
|
3658
3665
|
shelljs "^0.8.4"
|
|
3659
3666
|
|
|
3667
|
+
shx@^0.3.4:
|
|
3668
|
+
version "0.3.4"
|
|
3669
|
+
resolved "https://registry.yarnpkg.com/shx/-/shx-0.3.4.tgz#74289230b4b663979167f94e1935901406e40f02"
|
|
3670
|
+
integrity sha512-N6A9MLVqjxZYcVn8hLmtneQWIJtp8IKzMP4eMnx+nqkvXoqinUPCbUFLp2UcWTEIUONhlk0ewxr/jaVGlc+J+g==
|
|
3671
|
+
dependencies:
|
|
3672
|
+
minimist "^1.2.3"
|
|
3673
|
+
shelljs "^0.8.5"
|
|
3674
|
+
|
|
3660
3675
|
signal-exit@^3.0.0, signal-exit@^3.0.2:
|
|
3661
3676
|
version "3.0.3"
|
|
3662
3677
|
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c"
|
|
@@ -4110,6 +4125,11 @@ tslib@^2.2.0:
|
|
|
4110
4125
|
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01"
|
|
4111
4126
|
integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==
|
|
4112
4127
|
|
|
4128
|
+
tslib@^2.3.1:
|
|
4129
|
+
version "2.4.0"
|
|
4130
|
+
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3"
|
|
4131
|
+
integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==
|
|
4132
|
+
|
|
4113
4133
|
tslint-microsoft-contrib@^5:
|
|
4114
4134
|
version "5.2.1"
|
|
4115
4135
|
resolved "https://registry.yarnpkg.com/tslint-microsoft-contrib/-/tslint-microsoft-contrib-5.2.1.tgz#a6286839f800e2591d041ea2800c77487844ad81"
|
|
@@ -4184,10 +4204,10 @@ typedarray-to-buffer@^3.1.5:
|
|
|
4184
4204
|
dependencies:
|
|
4185
4205
|
is-typedarray "^1.0.0"
|
|
4186
4206
|
|
|
4187
|
-
typescript@4.
|
|
4188
|
-
version "4.
|
|
4189
|
-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.
|
|
4190
|
-
integrity sha512-
|
|
4207
|
+
typescript@4.6.4:
|
|
4208
|
+
version "4.6.4"
|
|
4209
|
+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.4.tgz#caa78bbc3a59e6a5c510d35703f6a09877ce45e9"
|
|
4210
|
+
integrity sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg==
|
|
4191
4211
|
|
|
4192
4212
|
typescript@^3:
|
|
4193
4213
|
version "3.9.7"
|