@simplysf/simply-apex 1.8.13 → 1.8.15
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 +5 -5
- package/oclif.manifest.json +101 -101
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -59,7 +59,7 @@ FLAG DESCRIPTIONS
|
|
|
59
59
|
The path to the local .apex file containing the anonymous Apex code to execute.
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
-
_See code: [lib/commands/simply/apex/execute.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@1.8.
|
|
62
|
+
_See code: [lib/commands/simply/apex/execute.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@1.8.15/packages/simply-apex/lib/commands/simply/apex/execute.js)_
|
|
63
63
|
|
|
64
64
|
## `sf simply apex logs purge`
|
|
65
65
|
|
|
@@ -115,7 +115,7 @@ FLAG DESCRIPTIONS
|
|
|
115
115
|
elapses, then throws.
|
|
116
116
|
```
|
|
117
117
|
|
|
118
|
-
_See code: [lib/commands/simply/apex/logs/purge.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@1.8.
|
|
118
|
+
_See code: [lib/commands/simply/apex/logs/purge.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@1.8.15/packages/simply-apex/lib/commands/simply/apex/logs/purge.js)_
|
|
119
119
|
|
|
120
120
|
## `sf simply apex test-suite generate`
|
|
121
121
|
|
|
@@ -163,7 +163,7 @@ FLAG DESCRIPTIONS
|
|
|
163
163
|
pass that directory explicitly, e.g. force-app/main/default/testSuites.
|
|
164
164
|
```
|
|
165
165
|
|
|
166
|
-
_See code: [lib/commands/simply/apex/test-suite/generate.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@1.8.
|
|
166
|
+
_See code: [lib/commands/simply/apex/test-suite/generate.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@1.8.15/packages/simply-apex/lib/commands/simply/apex/test-suite/generate.js)_
|
|
167
167
|
|
|
168
168
|
## `sf simply apex trace setup`
|
|
169
169
|
|
|
@@ -223,7 +223,7 @@ FLAG DESCRIPTIONS
|
|
|
223
223
|
Defaults to the current date/time.
|
|
224
224
|
```
|
|
225
225
|
|
|
226
|
-
_See code: [lib/commands/simply/apex/trace/setup.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@1.8.
|
|
226
|
+
_See code: [lib/commands/simply/apex/trace/setup.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@1.8.15/packages/simply-apex/lib/commands/simply/apex/trace/setup.js)_
|
|
227
227
|
|
|
228
228
|
## `sf simply apex trace silence`
|
|
229
229
|
|
|
@@ -287,7 +287,7 @@ FLAG DESCRIPTIONS
|
|
|
287
287
|
Adds di_Binding, di_Module, di_PlatformCache, and di_Injector to the classes to silence.
|
|
288
288
|
```
|
|
289
289
|
|
|
290
|
-
_See code: [lib/commands/simply/apex/trace/silence.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@1.8.
|
|
290
|
+
_See code: [lib/commands/simply/apex/trace/silence.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@1.8.15/packages/simply-apex/lib/commands/simply/apex/trace/silence.js)_
|
|
291
291
|
<!-- commandsstop -->
|
|
292
292
|
|
|
293
293
|
## License
|
package/oclif.manifest.json
CHANGED
|
@@ -78,106 +78,6 @@
|
|
|
78
78
|
"execute:apex:simply"
|
|
79
79
|
]
|
|
80
80
|
},
|
|
81
|
-
"simply:apex:test-suite:generate": {
|
|
82
|
-
"aliases": [],
|
|
83
|
-
"args": {},
|
|
84
|
-
"description": "Scans one or more source directories for Apex classes, keeps only the ones whose first meaningful line (skipping leading blank lines and comments) is an @IsTest annotation, and writes an ApexTestSuite metadata file listing them. Every run regenerates the file from scratch based on the current state of --source-dir; an existing file with the same name is always overwritten.",
|
|
85
|
-
"examples": [
|
|
86
|
-
"<%= config.bin %> <%= command.id %> --source-dir force-app/main/default/classes --name My_Suite --output-dir force-app/main/default/testSuites",
|
|
87
|
-
"<%= config.bin %> <%= command.id %> --source-dir force-app/main/default/classes --source-dir force-app/extra/classes --name All_Tests --output-dir force-app/main/default/testSuites"
|
|
88
|
-
],
|
|
89
|
-
"flags": {
|
|
90
|
-
"json": {
|
|
91
|
-
"description": "Format output as json.",
|
|
92
|
-
"helpGroup": "GLOBAL",
|
|
93
|
-
"name": "json",
|
|
94
|
-
"allowNo": false,
|
|
95
|
-
"type": "boolean"
|
|
96
|
-
},
|
|
97
|
-
"flags-dir": {
|
|
98
|
-
"helpGroup": "GLOBAL",
|
|
99
|
-
"name": "flags-dir",
|
|
100
|
-
"summary": "Import flag values from a directory.",
|
|
101
|
-
"hasDynamicHelp": false,
|
|
102
|
-
"multiple": false,
|
|
103
|
-
"type": "option"
|
|
104
|
-
},
|
|
105
|
-
"source-dir": {
|
|
106
|
-
"char": "d",
|
|
107
|
-
"description": "One or more directories to scan, recursively, for Apex classes. Only classes whose first meaningful line is an @IsTest annotation are included in the generated suite.",
|
|
108
|
-
"name": "source-dir",
|
|
109
|
-
"required": true,
|
|
110
|
-
"summary": "Directories to scan for Apex classes",
|
|
111
|
-
"hasDynamicHelp": false,
|
|
112
|
-
"multiple": true,
|
|
113
|
-
"type": "option"
|
|
114
|
-
},
|
|
115
|
-
"name": {
|
|
116
|
-
"char": "n",
|
|
117
|
-
"description": "The API name for the generated test suite; also used to derive the output filename, <name>.testSuite-meta.xml.",
|
|
118
|
-
"name": "name",
|
|
119
|
-
"required": true,
|
|
120
|
-
"summary": "API name for the test suite",
|
|
121
|
-
"hasDynamicHelp": false,
|
|
122
|
-
"multiple": false,
|
|
123
|
-
"type": "option"
|
|
124
|
-
},
|
|
125
|
-
"output-dir": {
|
|
126
|
-
"description": "The directory to write the generated ApexTestSuite metadata file to. Not automatically suffixed with testSuites/ — pass that directory explicitly, e.g. force-app/main/default/testSuites.",
|
|
127
|
-
"name": "output-dir",
|
|
128
|
-
"required": true,
|
|
129
|
-
"summary": "Output directory",
|
|
130
|
-
"hasDynamicHelp": false,
|
|
131
|
-
"multiple": false,
|
|
132
|
-
"type": "option"
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
"hasDynamicHelp": false,
|
|
136
|
-
"hiddenAliases": [],
|
|
137
|
-
"id": "simply:apex:test-suite:generate",
|
|
138
|
-
"pluginAlias": "@simplysf/simply-apex",
|
|
139
|
-
"pluginName": "@simplysf/simply-apex",
|
|
140
|
-
"pluginType": "core",
|
|
141
|
-
"strict": true,
|
|
142
|
-
"summary": "Generate an Apex test suite from source.",
|
|
143
|
-
"enableJsonFlag": true,
|
|
144
|
-
"isESM": true,
|
|
145
|
-
"relativePath": [
|
|
146
|
-
"lib",
|
|
147
|
-
"commands",
|
|
148
|
-
"simply",
|
|
149
|
-
"apex",
|
|
150
|
-
"test-suite",
|
|
151
|
-
"generate.js"
|
|
152
|
-
],
|
|
153
|
-
"aliasPermutations": [],
|
|
154
|
-
"permutations": [
|
|
155
|
-
"simply:apex:test-suite:generate",
|
|
156
|
-
"apex:simply:test-suite:generate",
|
|
157
|
-
"apex:test-suite:simply:generate",
|
|
158
|
-
"apex:test-suite:generate:simply",
|
|
159
|
-
"simply:test-suite:apex:generate",
|
|
160
|
-
"test-suite:simply:apex:generate",
|
|
161
|
-
"test-suite:apex:simply:generate",
|
|
162
|
-
"test-suite:apex:generate:simply",
|
|
163
|
-
"simply:test-suite:generate:apex",
|
|
164
|
-
"test-suite:simply:generate:apex",
|
|
165
|
-
"test-suite:generate:simply:apex",
|
|
166
|
-
"test-suite:generate:apex:simply",
|
|
167
|
-
"simply:apex:generate:test-suite",
|
|
168
|
-
"apex:simply:generate:test-suite",
|
|
169
|
-
"apex:generate:simply:test-suite",
|
|
170
|
-
"apex:generate:test-suite:simply",
|
|
171
|
-
"simply:generate:apex:test-suite",
|
|
172
|
-
"generate:simply:apex:test-suite",
|
|
173
|
-
"generate:apex:simply:test-suite",
|
|
174
|
-
"generate:apex:test-suite:simply",
|
|
175
|
-
"simply:generate:test-suite:apex",
|
|
176
|
-
"generate:simply:test-suite:apex",
|
|
177
|
-
"generate:test-suite:simply:apex",
|
|
178
|
-
"generate:test-suite:apex:simply"
|
|
179
|
-
]
|
|
180
|
-
},
|
|
181
81
|
"simply:apex:logs:purge": {
|
|
182
82
|
"aliases": [],
|
|
183
83
|
"args": {},
|
|
@@ -548,7 +448,107 @@
|
|
|
548
448
|
"silence:trace:simply:apex",
|
|
549
449
|
"silence:trace:apex:simply"
|
|
550
450
|
]
|
|
451
|
+
},
|
|
452
|
+
"simply:apex:test-suite:generate": {
|
|
453
|
+
"aliases": [],
|
|
454
|
+
"args": {},
|
|
455
|
+
"description": "Scans one or more source directories for Apex classes, keeps only the ones whose first meaningful line (skipping leading blank lines and comments) is an @IsTest annotation, and writes an ApexTestSuite metadata file listing them. Every run regenerates the file from scratch based on the current state of --source-dir; an existing file with the same name is always overwritten.",
|
|
456
|
+
"examples": [
|
|
457
|
+
"<%= config.bin %> <%= command.id %> --source-dir force-app/main/default/classes --name My_Suite --output-dir force-app/main/default/testSuites",
|
|
458
|
+
"<%= config.bin %> <%= command.id %> --source-dir force-app/main/default/classes --source-dir force-app/extra/classes --name All_Tests --output-dir force-app/main/default/testSuites"
|
|
459
|
+
],
|
|
460
|
+
"flags": {
|
|
461
|
+
"json": {
|
|
462
|
+
"description": "Format output as json.",
|
|
463
|
+
"helpGroup": "GLOBAL",
|
|
464
|
+
"name": "json",
|
|
465
|
+
"allowNo": false,
|
|
466
|
+
"type": "boolean"
|
|
467
|
+
},
|
|
468
|
+
"flags-dir": {
|
|
469
|
+
"helpGroup": "GLOBAL",
|
|
470
|
+
"name": "flags-dir",
|
|
471
|
+
"summary": "Import flag values from a directory.",
|
|
472
|
+
"hasDynamicHelp": false,
|
|
473
|
+
"multiple": false,
|
|
474
|
+
"type": "option"
|
|
475
|
+
},
|
|
476
|
+
"source-dir": {
|
|
477
|
+
"char": "d",
|
|
478
|
+
"description": "One or more directories to scan, recursively, for Apex classes. Only classes whose first meaningful line is an @IsTest annotation are included in the generated suite.",
|
|
479
|
+
"name": "source-dir",
|
|
480
|
+
"required": true,
|
|
481
|
+
"summary": "Directories to scan for Apex classes",
|
|
482
|
+
"hasDynamicHelp": false,
|
|
483
|
+
"multiple": true,
|
|
484
|
+
"type": "option"
|
|
485
|
+
},
|
|
486
|
+
"name": {
|
|
487
|
+
"char": "n",
|
|
488
|
+
"description": "The API name for the generated test suite; also used to derive the output filename, <name>.testSuite-meta.xml.",
|
|
489
|
+
"name": "name",
|
|
490
|
+
"required": true,
|
|
491
|
+
"summary": "API name for the test suite",
|
|
492
|
+
"hasDynamicHelp": false,
|
|
493
|
+
"multiple": false,
|
|
494
|
+
"type": "option"
|
|
495
|
+
},
|
|
496
|
+
"output-dir": {
|
|
497
|
+
"description": "The directory to write the generated ApexTestSuite metadata file to. Not automatically suffixed with testSuites/ — pass that directory explicitly, e.g. force-app/main/default/testSuites.",
|
|
498
|
+
"name": "output-dir",
|
|
499
|
+
"required": true,
|
|
500
|
+
"summary": "Output directory",
|
|
501
|
+
"hasDynamicHelp": false,
|
|
502
|
+
"multiple": false,
|
|
503
|
+
"type": "option"
|
|
504
|
+
}
|
|
505
|
+
},
|
|
506
|
+
"hasDynamicHelp": false,
|
|
507
|
+
"hiddenAliases": [],
|
|
508
|
+
"id": "simply:apex:test-suite:generate",
|
|
509
|
+
"pluginAlias": "@simplysf/simply-apex",
|
|
510
|
+
"pluginName": "@simplysf/simply-apex",
|
|
511
|
+
"pluginType": "core",
|
|
512
|
+
"strict": true,
|
|
513
|
+
"summary": "Generate an Apex test suite from source.",
|
|
514
|
+
"enableJsonFlag": true,
|
|
515
|
+
"isESM": true,
|
|
516
|
+
"relativePath": [
|
|
517
|
+
"lib",
|
|
518
|
+
"commands",
|
|
519
|
+
"simply",
|
|
520
|
+
"apex",
|
|
521
|
+
"test-suite",
|
|
522
|
+
"generate.js"
|
|
523
|
+
],
|
|
524
|
+
"aliasPermutations": [],
|
|
525
|
+
"permutations": [
|
|
526
|
+
"simply:apex:test-suite:generate",
|
|
527
|
+
"apex:simply:test-suite:generate",
|
|
528
|
+
"apex:test-suite:simply:generate",
|
|
529
|
+
"apex:test-suite:generate:simply",
|
|
530
|
+
"simply:test-suite:apex:generate",
|
|
531
|
+
"test-suite:simply:apex:generate",
|
|
532
|
+
"test-suite:apex:simply:generate",
|
|
533
|
+
"test-suite:apex:generate:simply",
|
|
534
|
+
"simply:test-suite:generate:apex",
|
|
535
|
+
"test-suite:simply:generate:apex",
|
|
536
|
+
"test-suite:generate:simply:apex",
|
|
537
|
+
"test-suite:generate:apex:simply",
|
|
538
|
+
"simply:apex:generate:test-suite",
|
|
539
|
+
"apex:simply:generate:test-suite",
|
|
540
|
+
"apex:generate:simply:test-suite",
|
|
541
|
+
"apex:generate:test-suite:simply",
|
|
542
|
+
"simply:generate:apex:test-suite",
|
|
543
|
+
"generate:simply:apex:test-suite",
|
|
544
|
+
"generate:apex:simply:test-suite",
|
|
545
|
+
"generate:apex:test-suite:simply",
|
|
546
|
+
"simply:generate:test-suite:apex",
|
|
547
|
+
"generate:simply:test-suite:apex",
|
|
548
|
+
"generate:test-suite:simply:apex",
|
|
549
|
+
"generate:test-suite:apex:simply"
|
|
550
|
+
]
|
|
551
551
|
}
|
|
552
552
|
},
|
|
553
|
-
"version": "1.8.
|
|
553
|
+
"version": "1.8.15"
|
|
554
554
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplysf/simply-apex",
|
|
3
3
|
"description": "Utilities for working with Apex",
|
|
4
|
-
"version": "1.8.
|
|
4
|
+
"version": "1.8.15",
|
|
5
5
|
"author": "@ClayChipps",
|
|
6
6
|
"homepage": "https://github.com/SimplySF/simply-plugins",
|
|
7
7
|
"bugs": "https://github.com/SimplySF/simply-plugins/issues",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"@salesforce/core": "^8.30.0",
|
|
72
72
|
"@salesforce/kit": "^3.2.6",
|
|
73
73
|
"@salesforce/sf-plugins-core": "^12.2.16",
|
|
74
|
-
"@simplysf/simply-apex-core": "^0.3.
|
|
74
|
+
"@simplysf/simply-apex-core": "^0.3.16",
|
|
75
75
|
"@simplysf/simply-core": "^1.6.7",
|
|
76
76
|
"@simplysf/simply-plugin-kit": "^1.0.9"
|
|
77
77
|
},
|
|
@@ -98,7 +98,8 @@
|
|
|
98
98
|
"test:coverage": "vitest run --coverage --project simply-apex",
|
|
99
99
|
"test:nuts": "vitest run --config ../../vitest.nuts.config.ts --project simply-apex",
|
|
100
100
|
"test:only": "wireit",
|
|
101
|
-
"test:watch": "vitest watch --project simply-apex"
|
|
101
|
+
"test:watch": "vitest watch --project simply-apex",
|
|
102
|
+
"version": "pnpm run readme"
|
|
102
103
|
},
|
|
103
104
|
"wireit": {
|
|
104
105
|
"build": {
|
|
@@ -211,5 +212,5 @@
|
|
|
211
212
|
"output": []
|
|
212
213
|
}
|
|
213
214
|
},
|
|
214
|
-
"gitHead": "
|
|
215
|
+
"gitHead": "5fbbea0c2351079d0d40ce1ec089760de4f60bb9"
|
|
215
216
|
}
|