sfdx-hardis 6.9.1-alpha202510261658.0 → 6.9.1-alpha202510261844.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/common/actionsProvider/actionsProvider.d.ts +37 -0
- package/lib/common/actionsProvider/actionsProvider.js +56 -0
- package/lib/common/actionsProvider/actionsProvider.js.map +1 -0
- package/lib/common/actionsProvider/apexAction.d.ts +2 -3
- package/lib/common/actionsProvider/apexAction.js +2 -2
- package/lib/common/actionsProvider/apexAction.js.map +1 -1
- package/lib/common/actionsProvider/commandAction.d.ts +2 -3
- package/lib/common/actionsProvider/commandAction.js +2 -2
- package/lib/common/actionsProvider/commandAction.js.map +1 -1
- package/lib/common/actionsProvider/dataAction.d.ts +2 -3
- package/lib/common/actionsProvider/dataAction.js +2 -2
- package/lib/common/actionsProvider/dataAction.js.map +1 -1
- package/lib/common/actionsProvider/manualAction.d.ts +2 -3
- package/lib/common/actionsProvider/manualAction.js +2 -2
- package/lib/common/actionsProvider/manualAction.js.map +1 -1
- package/lib/common/actionsProvider/publishCommunityAction.d.ts +2 -3
- package/lib/common/actionsProvider/publishCommunityAction.js +2 -2
- package/lib/common/actionsProvider/publishCommunityAction.js.map +1 -1
- package/lib/common/utils/prePostCommandUtils.d.ts +0 -24
- package/lib/common/utils/prePostCommandUtils.js +30 -48
- package/lib/common/utils/prePostCommandUtils.js.map +1 -1
- package/oclif.manifest.json +854 -854
- package/package.json +1 -1
- package/lib/common/actionsProvider/actionsProviderRoot.d.ts +0 -17
- package/lib/common/actionsProvider/actionsProviderRoot.js +0 -24
- package/lib/common/actionsProvider/actionsProviderRoot.js.map +0 -1
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Swiss-army-knife Toolbox for Salesforce.\n Allows you to define a complete CD/CD Pipeline.\n Orchestrate base commands and assist users with interactive wizards",
|
|
4
4
|
"author": "NicolasVuillamy @nvuillam",
|
|
5
5
|
"bugs": "https://github.com/hardisgroupcom/sfdx-hardis/issues",
|
|
6
|
-
"version": "6.9.1-
|
|
6
|
+
"version": "6.9.1-alpha202510261844.0",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@actions/github": "^6.0.1",
|
|
9
9
|
"@cparra/apexdocs": "^3.14.1",
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PrePostCommand } from '../utils/prePostCommandUtils.js';
|
|
2
|
-
export type ActionResult = {
|
|
3
|
-
statusCode: 'success' | 'failed' | 'skipped';
|
|
4
|
-
output?: string;
|
|
5
|
-
skippedReason?: string;
|
|
6
|
-
};
|
|
7
|
-
export declare abstract class ActionsProviderRoot {
|
|
8
|
-
getLabel(): string;
|
|
9
|
-
/**
|
|
10
|
-
* Perform pre-run validations for the given command.
|
|
11
|
-
* Return null when the command is valid and may proceed.
|
|
12
|
-
* Return an ActionResult when the command must be short-circuited
|
|
13
|
-
* (for example: missing parameters -> failed, or manual -> skipped).
|
|
14
|
-
*/
|
|
15
|
-
checkValidityIssues(cmd: PrePostCommand): Promise<ActionResult | null>;
|
|
16
|
-
run(cmd: PrePostCommand): Promise<ActionResult>;
|
|
17
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { SfError } from '@salesforce/core';
|
|
2
|
-
import c from 'chalk';
|
|
3
|
-
import { uxLog } from '../utils/index.js';
|
|
4
|
-
export class ActionsProviderRoot {
|
|
5
|
-
getLabel() {
|
|
6
|
-
throw new SfError('getLabel should be implemented on this call');
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Perform pre-run validations for the given command.
|
|
10
|
-
* Return null when the command is valid and may proceed.
|
|
11
|
-
* Return an ActionResult when the command must be short-circuited
|
|
12
|
-
* (for example: missing parameters -> failed, or manual -> skipped).
|
|
13
|
-
*/
|
|
14
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
15
|
-
async checkValidityIssues(cmd) {
|
|
16
|
-
return null;
|
|
17
|
-
}
|
|
18
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
19
|
-
async run(cmd) {
|
|
20
|
-
uxLog('warning', this, c.yellow(`run is not implemented on ${this.getLabel()}`));
|
|
21
|
-
return { statusCode: 'skipped', skippedReason: 'Not implemented' };
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
//# sourceMappingURL=actionsProviderRoot.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"actionsProviderRoot.js","sourceRoot":"","sources":["../../../src/common/actionsProvider/actionsProviderRoot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,CAAC,MAAM,OAAO,CAAC;AACtB,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAS1C,MAAM,OAAgB,mBAAmB;IAChC,QAAQ;QACb,MAAM,IAAI,OAAO,CAAC,6CAA6C,CAAC,CAAC;IACnE,CAAC;IAED;;;;;OAKG;IACH,6DAA6D;IACtD,KAAK,CAAC,mBAAmB,CAAC,GAAmB;QAClD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,6DAA6D;IACtD,KAAK,CAAC,GAAG,CAAC,GAAmB;QAClC,KAAK,CAAC,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,6BAA6B,IAAI,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;QACjF,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,EAAE,iBAAiB,EAAE,CAAC;IACrE,CAAC;CACF"}
|