@salesforce/plugin-apex 3.4.10 → 3.5.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/README.md +13 -8
- package/lib/commands/apex/get/test.d.ts +1 -0
- package/lib/commands/apex/get/test.js +5 -0
- package/lib/commands/apex/get/test.js.map +1 -1
- package/messages/gettest.md +6 -0
- package/oclif.manifest.json +127 -118
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -148,7 +148,7 @@ FLAG DESCRIPTIONS
|
|
|
148
148
|
directory.
|
|
149
149
|
```
|
|
150
150
|
|
|
151
|
-
_See code: [src/commands/apex/get/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.
|
|
151
|
+
_See code: [src/commands/apex/get/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.5.0/src/commands/apex/get/log.ts)_
|
|
152
152
|
|
|
153
153
|
## `sf apex get test`
|
|
154
154
|
|
|
@@ -156,8 +156,8 @@ Display test results for a specific asynchronous test run.
|
|
|
156
156
|
|
|
157
157
|
```
|
|
158
158
|
USAGE
|
|
159
|
-
$ sf apex get test -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>]
|
|
160
|
-
[-r human|tap|junit|json] [--concise]
|
|
159
|
+
$ sf apex get test -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>]
|
|
160
|
+
[--detailed-coverage -c] [-d <value>] [-r human|tap|junit|json] [--concise]
|
|
161
161
|
|
|
162
162
|
FLAGS
|
|
163
163
|
-c, --code-coverage Retrieve code coverage results.
|
|
@@ -169,6 +169,7 @@ FLAGS
|
|
|
169
169
|
<options: human|tap|junit|json>
|
|
170
170
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
171
171
|
--concise Display only failed test results; works with human-readable output only.
|
|
172
|
+
--detailed-coverage Display detailed code coverage per test.
|
|
172
173
|
|
|
173
174
|
GLOBAL FLAGS
|
|
174
175
|
--flags-dir=<value> Import flag values from a directory.
|
|
@@ -180,6 +181,10 @@ DESCRIPTION
|
|
|
180
181
|
Provide a test run ID to display test results for an enqueued or completed asynchronous test run. The test run ID is
|
|
181
182
|
displayed after running the "sf apex test run" command.
|
|
182
183
|
|
|
184
|
+
To see code coverage results, use the --code-coverage flag with --result-format. The output displays a high-level
|
|
185
|
+
summary of the test run and the code coverage values for classes in your org. If you specify human-readable result
|
|
186
|
+
format, use the --detailed-coverage flag to see detailed coverage results for each test method run.
|
|
187
|
+
|
|
183
188
|
ALIASES
|
|
184
189
|
$ sf force apex test report
|
|
185
190
|
|
|
@@ -203,7 +208,7 @@ EXAMPLES
|
|
|
203
208
|
me@myorg'
|
|
204
209
|
```
|
|
205
210
|
|
|
206
|
-
_See code: [src/commands/apex/get/test.ts](https://github.com/salesforcecli/plugin-apex/blob/3.
|
|
211
|
+
_See code: [src/commands/apex/get/test.ts](https://github.com/salesforcecli/plugin-apex/blob/3.5.0/src/commands/apex/get/test.ts)_
|
|
207
212
|
|
|
208
213
|
## `sf apex list log`
|
|
209
214
|
|
|
@@ -243,7 +248,7 @@ EXAMPLES
|
|
|
243
248
|
$ sf apex list log --target-org me@my.org
|
|
244
249
|
```
|
|
245
250
|
|
|
246
|
-
_See code: [src/commands/apex/list/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.
|
|
251
|
+
_See code: [src/commands/apex/list/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.5.0/src/commands/apex/list/log.ts)_
|
|
247
252
|
|
|
248
253
|
## `sf apex run`
|
|
249
254
|
|
|
@@ -290,7 +295,7 @@ EXAMPLES
|
|
|
290
295
|
$ sf apex run
|
|
291
296
|
```
|
|
292
297
|
|
|
293
|
-
_See code: [src/commands/apex/run.ts](https://github.com/salesforcecli/plugin-apex/blob/3.
|
|
298
|
+
_See code: [src/commands/apex/run.ts](https://github.com/salesforcecli/plugin-apex/blob/3.5.0/src/commands/apex/run.ts)_
|
|
294
299
|
|
|
295
300
|
## `sf apex run test`
|
|
296
301
|
|
|
@@ -430,7 +435,7 @@ FLAG DESCRIPTIONS
|
|
|
430
435
|
--tests Test1 --tests Test2
|
|
431
436
|
```
|
|
432
437
|
|
|
433
|
-
_See code: [src/commands/apex/run/test.ts](https://github.com/salesforcecli/plugin-apex/blob/3.
|
|
438
|
+
_See code: [src/commands/apex/run/test.ts](https://github.com/salesforcecli/plugin-apex/blob/3.5.0/src/commands/apex/run/test.ts)_
|
|
434
439
|
|
|
435
440
|
## `sf apex tail log`
|
|
436
441
|
|
|
@@ -473,6 +478,6 @@ EXAMPLES
|
|
|
473
478
|
$ sf apex tail log --color --skip-trace-flag
|
|
474
479
|
```
|
|
475
480
|
|
|
476
|
-
_See code: [src/commands/apex/tail/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.
|
|
481
|
+
_See code: [src/commands/apex/tail/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.5.0/src/commands/apex/tail/log.ts)_
|
|
477
482
|
|
|
478
483
|
<!-- commandsstop -->
|
|
@@ -12,6 +12,7 @@ export default class Test extends SfCommand<RunResult> {
|
|
|
12
12
|
loglevel: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
13
13
|
'test-run-id': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
14
14
|
'code-coverage': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
15
|
+
'detailed-coverage': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
15
16
|
'output-dir': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
16
17
|
'result-format': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
17
18
|
concise: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
@@ -31,6 +31,10 @@ export default class Test extends SfCommand {
|
|
|
31
31
|
length: 'both',
|
|
32
32
|
}),
|
|
33
33
|
'code-coverage': codeCoverageFlag,
|
|
34
|
+
'detailed-coverage': Flags.boolean({
|
|
35
|
+
summary: messages.getMessage('flags.detailed-coverage.summary'),
|
|
36
|
+
dependsOn: ['code-coverage'],
|
|
37
|
+
}),
|
|
34
38
|
'output-dir': Flags.directory({
|
|
35
39
|
aliases: ['outputdir', 'output-directory'],
|
|
36
40
|
deprecateAliases: true,
|
|
@@ -53,6 +57,7 @@ export default class Test extends SfCommand {
|
|
|
53
57
|
'result-format': flags['result-format'],
|
|
54
58
|
json: flags.json,
|
|
55
59
|
'code-coverage': flags['code-coverage'],
|
|
60
|
+
'detailed-coverage': flags['detailed-coverage'],
|
|
56
61
|
concise: flags.concise,
|
|
57
62
|
});
|
|
58
63
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test.js","sourceRoot":"","sources":["../../../../src/commands/apex/get/test.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EACL,KAAK,EACL,QAAQ,EACR,iCAAiC,EACjC,+BAA+B,EAC/B,SAAS,EACT,EAAE,GACH,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAa,YAAY,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAEvE,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,yBAAyB,EAAE,SAAS,CAAC,CAAC;AAC7E,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,SAAoB;IAC7C,MAAM,CAAU,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,CAAU,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CA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,KAAK,CAAC,IAAI,CAAC,CAAC;QAEzC,MAAM,IAAI,GAAG,KAAK,CAAC,YAAY,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;QAErE,MAAM,WAAW,GAAG,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC;QAC1C,MAAM,MAAM,GAAG,MAAM,WAAW,CAAC,kBAAkB,CAAC,KAAK,CAAC,aAAa,CAAC,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC;QAElG,MAAM,YAAY,GAAG,IAAI,YAAY,CAAC,IAAI,EAAE,CAAC,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE,CAAC,EAAE,IAAI,CAAC,CAAC;QAEzF,OAAO,YAAY,CAAC,MAAM,CAAC,MAAM,EAAE;YACjC,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;YACjC,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;YACvC,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;YACvC,mBAAmB,EAAE,KAAK,CAAC,mBAAmB,CAAC;YAC/C,OAAO,EAAE,KAAK,CAAC,OAAO;SACvB,CAAC,CAAC;IACL,CAAC"}
|
package/messages/gettest.md
CHANGED
|
@@ -6,6 +6,8 @@ Display test results for a specific asynchronous test run.
|
|
|
6
6
|
|
|
7
7
|
Provide 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 "<%= config.bin %> apex test run" command.
|
|
8
8
|
|
|
9
|
+
To see code coverage results, use the --code-coverage flag with --result-format. 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 --detailed-coverage flag to see detailed coverage results for each test method run.
|
|
10
|
+
|
|
9
11
|
# examples
|
|
10
12
|
|
|
11
13
|
- Display test results for your default org using a test run ID:
|
|
@@ -39,3 +41,7 @@ Display only failed test results; works with human-readable output only.
|
|
|
39
41
|
# apexLibErr
|
|
40
42
|
|
|
41
43
|
Unknown error in Apex Library: %s
|
|
44
|
+
|
|
45
|
+
# flags.detailed-coverage.summary
|
|
46
|
+
|
|
47
|
+
Display detailed code coverage per test.
|
package/oclif.manifest.json
CHANGED
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
],
|
|
265
265
|
"args": {},
|
|
266
266
|
"deprecateAliases": true,
|
|
267
|
-
"description": "Provide 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 \"<%= config.bin %> apex test run\" command.",
|
|
267
|
+
"description": "Provide 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 \"<%= config.bin %> apex test run\" command.\n\nTo see code coverage results, use the --code-coverage flag with --result-format. 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 --detailed-coverage flag to see detailed coverage results for each test method run.",
|
|
268
268
|
"examples": [
|
|
269
269
|
"Display test results for your default org using a test run ID:\n<%= config.bin %> <%= command.id %> --test-run-id <test run id>",
|
|
270
270
|
"Similar to previous example, but output the result in JUnit format:\n<%= config.bin %> <%= command.id %> --test-run-id <test run id> --result-format junit",
|
|
@@ -347,6 +347,15 @@
|
|
|
347
347
|
"allowNo": false,
|
|
348
348
|
"type": "boolean"
|
|
349
349
|
},
|
|
350
|
+
"detailed-coverage": {
|
|
351
|
+
"dependsOn": [
|
|
352
|
+
"code-coverage"
|
|
353
|
+
],
|
|
354
|
+
"name": "detailed-coverage",
|
|
355
|
+
"summary": "Display detailed code coverage per test.",
|
|
356
|
+
"allowNo": false,
|
|
357
|
+
"type": "boolean"
|
|
358
|
+
},
|
|
350
359
|
"output-dir": {
|
|
351
360
|
"aliases": [
|
|
352
361
|
"outputdir",
|
|
@@ -438,6 +447,122 @@
|
|
|
438
447
|
"test:get:apex"
|
|
439
448
|
]
|
|
440
449
|
},
|
|
450
|
+
"apex:list:log": {
|
|
451
|
+
"aliases": [
|
|
452
|
+
"force:apex:log:list"
|
|
453
|
+
],
|
|
454
|
+
"args": {},
|
|
455
|
+
"deprecateAliases": true,
|
|
456
|
+
"description": "Run this command in a project to list the IDs and general information for all debug logs in your default org.\n\nTo fetch a specific log from your org, obtain the ID from this command's output, then run the “<%= config.bin %> apex log get” command.",
|
|
457
|
+
"examples": [
|
|
458
|
+
"List the IDs and information about the debug logs in your default org:\n<%= config.bin %> <%= command.id %>",
|
|
459
|
+
"Similar to previous example, but use the org with the specified username:\n<%= config.bin %> <%= command.id %> --target-org me@my.org"
|
|
460
|
+
],
|
|
461
|
+
"flags": {
|
|
462
|
+
"json": {
|
|
463
|
+
"description": "Format output as json.",
|
|
464
|
+
"helpGroup": "GLOBAL",
|
|
465
|
+
"name": "json",
|
|
466
|
+
"allowNo": false,
|
|
467
|
+
"type": "boolean"
|
|
468
|
+
},
|
|
469
|
+
"flags-dir": {
|
|
470
|
+
"helpGroup": "GLOBAL",
|
|
471
|
+
"name": "flags-dir",
|
|
472
|
+
"summary": "Import flag values from a directory.",
|
|
473
|
+
"hasDynamicHelp": false,
|
|
474
|
+
"multiple": false,
|
|
475
|
+
"type": "option"
|
|
476
|
+
},
|
|
477
|
+
"target-org": {
|
|
478
|
+
"aliases": [
|
|
479
|
+
"targetusername",
|
|
480
|
+
"u"
|
|
481
|
+
],
|
|
482
|
+
"char": "o",
|
|
483
|
+
"deprecateAliases": true,
|
|
484
|
+
"name": "target-org",
|
|
485
|
+
"noCacheDefault": true,
|
|
486
|
+
"required": true,
|
|
487
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
488
|
+
"hasDynamicHelp": true,
|
|
489
|
+
"multiple": false,
|
|
490
|
+
"type": "option"
|
|
491
|
+
},
|
|
492
|
+
"api-version": {
|
|
493
|
+
"aliases": [
|
|
494
|
+
"apiversion"
|
|
495
|
+
],
|
|
496
|
+
"deprecateAliases": true,
|
|
497
|
+
"description": "Override the api version used for api requests made by this command",
|
|
498
|
+
"name": "api-version",
|
|
499
|
+
"hasDynamicHelp": false,
|
|
500
|
+
"multiple": false,
|
|
501
|
+
"type": "option"
|
|
502
|
+
},
|
|
503
|
+
"loglevel": {
|
|
504
|
+
"deprecated": {
|
|
505
|
+
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
506
|
+
},
|
|
507
|
+
"hidden": true,
|
|
508
|
+
"name": "loglevel",
|
|
509
|
+
"hasDynamicHelp": false,
|
|
510
|
+
"multiple": false,
|
|
511
|
+
"type": "option"
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
"hasDynamicHelp": true,
|
|
515
|
+
"hiddenAliases": [],
|
|
516
|
+
"id": "apex:list:log",
|
|
517
|
+
"pluginAlias": "@salesforce/plugin-apex",
|
|
518
|
+
"pluginName": "@salesforce/plugin-apex",
|
|
519
|
+
"pluginType": "core",
|
|
520
|
+
"strict": true,
|
|
521
|
+
"summary": "Display a list of IDs and general information about debug logs.",
|
|
522
|
+
"enableJsonFlag": true,
|
|
523
|
+
"isESM": true,
|
|
524
|
+
"relativePath": [
|
|
525
|
+
"lib",
|
|
526
|
+
"commands",
|
|
527
|
+
"apex",
|
|
528
|
+
"list",
|
|
529
|
+
"log.js"
|
|
530
|
+
],
|
|
531
|
+
"aliasPermutations": [
|
|
532
|
+
"force:apex:log:list",
|
|
533
|
+
"apex:force:log:list",
|
|
534
|
+
"apex:log:force:list",
|
|
535
|
+
"apex:log:list:force",
|
|
536
|
+
"force:log:apex:list",
|
|
537
|
+
"log:force:apex:list",
|
|
538
|
+
"log:apex:force:list",
|
|
539
|
+
"log:apex:list:force",
|
|
540
|
+
"force:log:list:apex",
|
|
541
|
+
"log:force:list:apex",
|
|
542
|
+
"log:list:force:apex",
|
|
543
|
+
"log:list:apex:force",
|
|
544
|
+
"force:apex:list:log",
|
|
545
|
+
"apex:force:list:log",
|
|
546
|
+
"apex:list:force:log",
|
|
547
|
+
"apex:list:log:force",
|
|
548
|
+
"force:list:apex:log",
|
|
549
|
+
"list:force:apex:log",
|
|
550
|
+
"list:apex:force:log",
|
|
551
|
+
"list:apex:log:force",
|
|
552
|
+
"force:list:log:apex",
|
|
553
|
+
"list:force:log:apex",
|
|
554
|
+
"list:log:force:apex",
|
|
555
|
+
"list:log:apex:force"
|
|
556
|
+
],
|
|
557
|
+
"permutations": [
|
|
558
|
+
"apex:list:log",
|
|
559
|
+
"list:apex:log",
|
|
560
|
+
"list:log:apex",
|
|
561
|
+
"apex:log:list",
|
|
562
|
+
"log:apex:list",
|
|
563
|
+
"log:list:apex"
|
|
564
|
+
]
|
|
565
|
+
},
|
|
441
566
|
"apex:run:test": {
|
|
442
567
|
"aliases": [
|
|
443
568
|
"force:apex:test:run"
|
|
@@ -709,122 +834,6 @@
|
|
|
709
834
|
"test:run:apex"
|
|
710
835
|
]
|
|
711
836
|
},
|
|
712
|
-
"apex:list:log": {
|
|
713
|
-
"aliases": [
|
|
714
|
-
"force:apex:log:list"
|
|
715
|
-
],
|
|
716
|
-
"args": {},
|
|
717
|
-
"deprecateAliases": true,
|
|
718
|
-
"description": "Run this command in a project to list the IDs and general information for all debug logs in your default org.\n\nTo fetch a specific log from your org, obtain the ID from this command's output, then run the “<%= config.bin %> apex log get” command.",
|
|
719
|
-
"examples": [
|
|
720
|
-
"List the IDs and information about the debug logs in your default org:\n<%= config.bin %> <%= command.id %>",
|
|
721
|
-
"Similar to previous example, but use the org with the specified username:\n<%= config.bin %> <%= command.id %> --target-org me@my.org"
|
|
722
|
-
],
|
|
723
|
-
"flags": {
|
|
724
|
-
"json": {
|
|
725
|
-
"description": "Format output as json.",
|
|
726
|
-
"helpGroup": "GLOBAL",
|
|
727
|
-
"name": "json",
|
|
728
|
-
"allowNo": false,
|
|
729
|
-
"type": "boolean"
|
|
730
|
-
},
|
|
731
|
-
"flags-dir": {
|
|
732
|
-
"helpGroup": "GLOBAL",
|
|
733
|
-
"name": "flags-dir",
|
|
734
|
-
"summary": "Import flag values from a directory.",
|
|
735
|
-
"hasDynamicHelp": false,
|
|
736
|
-
"multiple": false,
|
|
737
|
-
"type": "option"
|
|
738
|
-
},
|
|
739
|
-
"target-org": {
|
|
740
|
-
"aliases": [
|
|
741
|
-
"targetusername",
|
|
742
|
-
"u"
|
|
743
|
-
],
|
|
744
|
-
"char": "o",
|
|
745
|
-
"deprecateAliases": true,
|
|
746
|
-
"name": "target-org",
|
|
747
|
-
"noCacheDefault": true,
|
|
748
|
-
"required": true,
|
|
749
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
750
|
-
"hasDynamicHelp": true,
|
|
751
|
-
"multiple": false,
|
|
752
|
-
"type": "option"
|
|
753
|
-
},
|
|
754
|
-
"api-version": {
|
|
755
|
-
"aliases": [
|
|
756
|
-
"apiversion"
|
|
757
|
-
],
|
|
758
|
-
"deprecateAliases": true,
|
|
759
|
-
"description": "Override the api version used for api requests made by this command",
|
|
760
|
-
"name": "api-version",
|
|
761
|
-
"hasDynamicHelp": false,
|
|
762
|
-
"multiple": false,
|
|
763
|
-
"type": "option"
|
|
764
|
-
},
|
|
765
|
-
"loglevel": {
|
|
766
|
-
"deprecated": {
|
|
767
|
-
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
768
|
-
},
|
|
769
|
-
"hidden": true,
|
|
770
|
-
"name": "loglevel",
|
|
771
|
-
"hasDynamicHelp": false,
|
|
772
|
-
"multiple": false,
|
|
773
|
-
"type": "option"
|
|
774
|
-
}
|
|
775
|
-
},
|
|
776
|
-
"hasDynamicHelp": true,
|
|
777
|
-
"hiddenAliases": [],
|
|
778
|
-
"id": "apex:list:log",
|
|
779
|
-
"pluginAlias": "@salesforce/plugin-apex",
|
|
780
|
-
"pluginName": "@salesforce/plugin-apex",
|
|
781
|
-
"pluginType": "core",
|
|
782
|
-
"strict": true,
|
|
783
|
-
"summary": "Display a list of IDs and general information about debug logs.",
|
|
784
|
-
"enableJsonFlag": true,
|
|
785
|
-
"isESM": true,
|
|
786
|
-
"relativePath": [
|
|
787
|
-
"lib",
|
|
788
|
-
"commands",
|
|
789
|
-
"apex",
|
|
790
|
-
"list",
|
|
791
|
-
"log.js"
|
|
792
|
-
],
|
|
793
|
-
"aliasPermutations": [
|
|
794
|
-
"force:apex:log:list",
|
|
795
|
-
"apex:force:log:list",
|
|
796
|
-
"apex:log:force:list",
|
|
797
|
-
"apex:log:list:force",
|
|
798
|
-
"force:log:apex:list",
|
|
799
|
-
"log:force:apex:list",
|
|
800
|
-
"log:apex:force:list",
|
|
801
|
-
"log:apex:list:force",
|
|
802
|
-
"force:log:list:apex",
|
|
803
|
-
"log:force:list:apex",
|
|
804
|
-
"log:list:force:apex",
|
|
805
|
-
"log:list:apex:force",
|
|
806
|
-
"force:apex:list:log",
|
|
807
|
-
"apex:force:list:log",
|
|
808
|
-
"apex:list:force:log",
|
|
809
|
-
"apex:list:log:force",
|
|
810
|
-
"force:list:apex:log",
|
|
811
|
-
"list:force:apex:log",
|
|
812
|
-
"list:apex:force:log",
|
|
813
|
-
"list:apex:log:force",
|
|
814
|
-
"force:list:log:apex",
|
|
815
|
-
"list:force:log:apex",
|
|
816
|
-
"list:log:force:apex",
|
|
817
|
-
"list:log:apex:force"
|
|
818
|
-
],
|
|
819
|
-
"permutations": [
|
|
820
|
-
"apex:list:log",
|
|
821
|
-
"list:apex:log",
|
|
822
|
-
"list:log:apex",
|
|
823
|
-
"apex:log:list",
|
|
824
|
-
"log:apex:list",
|
|
825
|
-
"log:list:apex"
|
|
826
|
-
]
|
|
827
|
-
},
|
|
828
837
|
"apex:tail:log": {
|
|
829
838
|
"aliases": [
|
|
830
839
|
"force:apex:log:tail"
|
|
@@ -969,5 +978,5 @@
|
|
|
969
978
|
]
|
|
970
979
|
}
|
|
971
980
|
},
|
|
972
|
-
"version": "3.
|
|
981
|
+
"version": "3.5.0"
|
|
973
982
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-apex",
|
|
3
3
|
"description": "Apex commands",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.5.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
"ansis": "^3.3.1"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@oclif/core": "^4.0.
|
|
16
|
-
"@oclif/plugin-command-snapshot": "^5.2.
|
|
17
|
-
"@salesforce/cli-plugins-testkit": "^5.3.
|
|
15
|
+
"@oclif/core": "^4.0.23",
|
|
16
|
+
"@oclif/plugin-command-snapshot": "^5.2.16",
|
|
17
|
+
"@salesforce/cli-plugins-testkit": "^5.3.33",
|
|
18
18
|
"@salesforce/dev-scripts": "^10.2.10",
|
|
19
|
-
"@salesforce/plugin-command-reference": "^3.1.
|
|
20
|
-
"eslint-plugin-sf-plugin": "^1.20.
|
|
21
|
-
"oclif": "^4.14.
|
|
19
|
+
"@salesforce/plugin-command-reference": "^3.1.26",
|
|
20
|
+
"eslint-plugin-sf-plugin": "^1.20.8",
|
|
21
|
+
"oclif": "^4.14.34",
|
|
22
22
|
"ts-node": "^10.9.2",
|
|
23
|
-
"typescript": "^5.
|
|
23
|
+
"typescript": "^5.6.2"
|
|
24
24
|
},
|
|
25
25
|
"engines": {
|
|
26
26
|
"node": ">=18.0.0"
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
"exports": "./lib/index.js",
|
|
218
218
|
"type": "module",
|
|
219
219
|
"sfdx": {
|
|
220
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/3.
|
|
221
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/3.
|
|
220
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/3.5.0.crt",
|
|
221
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/3.5.0.sig"
|
|
222
222
|
}
|
|
223
223
|
}
|