@salesforce/sf-plugins-core 2.1.1 → 2.1.3
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/hooks.js +1 -1
- package/lib/sfCommand.d.ts +1 -1
- package/package.json +2 -2
package/lib/hooks.js
CHANGED
|
@@ -18,7 +18,7 @@ class SfHook {
|
|
|
18
18
|
*/
|
|
19
19
|
static async run(config, hookName, options = {}) {
|
|
20
20
|
const timeout = kit_1.Duration.milliseconds(kit_1.env.getNumber('SF_HOOK_TIMEOUT_MS') ?? 5000);
|
|
21
|
-
const results = await config.runHook(hookName, options, timeout.milliseconds);
|
|
21
|
+
const results = await config.runHook(hookName, options, timeout.milliseconds, true);
|
|
22
22
|
results.failures.forEach((failure) => {
|
|
23
23
|
core_1.ux.debug(`Failed to run ${hookName} hook for ${failure.plugin.name}`);
|
|
24
24
|
core_1.ux.debug(failure.error.toString());
|
package/lib/sfCommand.d.ts
CHANGED
|
@@ -242,7 +242,7 @@ export declare abstract class SfCommand<T> extends Command {
|
|
|
242
242
|
* Prompt user for information with a timeout (in milliseconds). See https://www.npmjs.com/package/inquirer for more.
|
|
243
243
|
*/
|
|
244
244
|
timedPrompt<R extends Prompter.Answers>(questions: Prompter.Questions<R>, ms?: number, initialAnswers?: Partial<R>): Promise<R>;
|
|
245
|
-
_run<R>(): Promise<R
|
|
245
|
+
_run<R>(): Promise<R>;
|
|
246
246
|
/**
|
|
247
247
|
* Wrap the command result into the standardized JSON structure.
|
|
248
248
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/sf-plugins-core",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.3",
|
|
4
4
|
"description": "Utils for writing Salesforce CLI plugins",
|
|
5
5
|
"main": "lib/exported",
|
|
6
6
|
"types": "lib/exported.d.ts",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"/messages"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@oclif/core": "^2.
|
|
35
|
+
"@oclif/core": "^2.2.1",
|
|
36
36
|
"@salesforce/core": "^3.33.1",
|
|
37
37
|
"@salesforce/kit": "^1.8.3",
|
|
38
38
|
"@salesforce/ts-types": "^1.7.1",
|