@cparra/apexdocs 3.17.1-beta.4 → 3.18.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/dist/cli/generate.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1421,6 +1421,8 @@ var __async$5 = (__this, __arguments, generator) => {
|
|
|
1421
1421
|
});
|
|
1422
1422
|
};
|
|
1423
1423
|
const noopReflectionDebugLogger = {
|
|
1424
|
+
onStart: () => {
|
|
1425
|
+
},
|
|
1424
1426
|
onSuccess: () => {
|
|
1425
1427
|
},
|
|
1426
1428
|
onFailure: () => {
|
|
@@ -1483,6 +1485,7 @@ function reflectApexSourceBestEffort(apexBundles, config, debugLogger = noopDebu
|
|
|
1483
1485
|
return _function.pipe(
|
|
1484
1486
|
apexBundles,
|
|
1485
1487
|
A__namespace.traverse(Ap)((bundle) => {
|
|
1488
|
+
debugLogger.onStart(bundle.filePath);
|
|
1486
1489
|
return _function.pipe(
|
|
1487
1490
|
reflectBundle$2(bundle),
|
|
1488
1491
|
TE__namespace.map((parsed) => {
|
|
@@ -1512,6 +1515,7 @@ function reflectApexSourceBestEffort(apexBundles, config, debugLogger = noopDebu
|
|
|
1512
1515
|
try {
|
|
1513
1516
|
const results = yield Promise.allSettled(
|
|
1514
1517
|
apexBundles.map((bundle) => __async$5(null, null, function* () {
|
|
1518
|
+
debugLogger.onStart(bundle.filePath);
|
|
1515
1519
|
return yield pool.run({ content: bundle.content });
|
|
1516
1520
|
}))
|
|
1517
1521
|
);
|
|
@@ -4789,6 +4793,9 @@ function createReflectionDebugLogger(logger) {
|
|
|
4789
4793
|
return noopReflectionDebugLogger;
|
|
4790
4794
|
}
|
|
4791
4795
|
return {
|
|
4796
|
+
onStart: (filePath) => {
|
|
4797
|
+
logger.debug(`Parsing: ${filePath}...`);
|
|
4798
|
+
},
|
|
4792
4799
|
onSuccess: (filePath) => {
|
|
4793
4800
|
logger.debug(`Parsing: ${filePath} OK`);
|
|
4794
4801
|
},
|
|
@@ -5615,9 +5622,8 @@ function generateChangeLog(oldBundles, newBundles, config, debugLogger) {
|
|
|
5615
5622
|
parsedFiles: [...apex.parsedFiles, ...parsedObjectFiles],
|
|
5616
5623
|
errors: apex.errors
|
|
5617
5624
|
})),
|
|
5618
|
-
// We swallow failures here and keep going, because
|
|
5619
|
-
//
|
|
5620
|
-
// this step produced no additional parsed files.
|
|
5625
|
+
// We swallow failures here and keep going, because this helper's left type is `never`.
|
|
5626
|
+
// Any such failures are treated as if this step produced no additional parsed files.
|
|
5621
5627
|
TE__namespace.orElseW(() => TE__namespace.right({ parsedFiles: apex.parsedFiles, errors: apex.errors }))
|
|
5622
5628
|
)
|
|
5623
5629
|
),
|
|
@@ -5629,9 +5635,8 @@ function generateChangeLog(oldBundles, newBundles, config, debugLogger) {
|
|
|
5629
5635
|
parsedFiles: [...objects.parsedFiles, ...parsedTriggerFiles],
|
|
5630
5636
|
errors: objects.errors
|
|
5631
5637
|
})),
|
|
5632
|
-
// We swallow failures here and keep going, because
|
|
5633
|
-
//
|
|
5634
|
-
// no triggers were parsed.
|
|
5638
|
+
// We swallow failures here and keep going, because this helper's left type is `never`.
|
|
5639
|
+
// Any such failures are treated as if no triggers were parsed.
|
|
5635
5640
|
TE__namespace.orElseW(() => TE__namespace.right({ parsedFiles: objects.parsedFiles, errors: objects.errors }))
|
|
5636
5641
|
)
|
|
5637
5642
|
),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cparra/apexdocs",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.18.0",
|
|
4
4
|
"description": "Library with CLI capabilities to generate documentation for Salesforce Apex classes.",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18"
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
]
|
|
97
97
|
},
|
|
98
98
|
"dependencies": {
|
|
99
|
-
"@cparra/apex-reflection": "2.22.0
|
|
99
|
+
"@cparra/apex-reflection": "2.22.0",
|
|
100
100
|
"@salesforce/source-deploy-retrieve": "^12.20.1",
|
|
101
101
|
"@types/js-yaml": "^4.0.9",
|
|
102
102
|
"@types/yargs": "^17.0.32",
|