sfdx-hardis 6.9.1-alpha202510282151.0 → 6.10.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.
Files changed (74) hide show
  1. package/CHANGELOG.md +4 -4
  2. package/lib/commands/hardis/doc/mkdocs-to-cf.js +39 -38
  3. package/lib/commands/hardis/doc/mkdocs-to-cf.js.map +1 -1
  4. package/lib/commands/hardis/org/diagnose/storage-stats.d.ts +18 -0
  5. package/lib/commands/hardis/org/diagnose/storage-stats.js +278 -0
  6. package/lib/commands/hardis/org/diagnose/storage-stats.js.map +1 -0
  7. package/lib/commands/hardis/project/deploy/notify.js +23 -19
  8. package/lib/commands/hardis/project/deploy/notify.js.map +1 -1
  9. package/lib/commands/hardis/project/deploy/quick.js +2 -3
  10. package/lib/commands/hardis/project/deploy/quick.js.map +1 -1
  11. package/lib/commands/hardis/project/deploy/start.js +5 -4
  12. package/lib/commands/hardis/project/deploy/start.js.map +1 -1
  13. package/lib/commands/hardis/project/deploy/validate.js +3 -4
  14. package/lib/commands/hardis/project/deploy/validate.js.map +1 -1
  15. package/lib/commands/hardis/source/deploy.js +3 -4
  16. package/lib/commands/hardis/source/deploy.js.map +1 -1
  17. package/lib/common/gitProvider/azureDevops.d.ts +0 -1
  18. package/lib/common/gitProvider/azureDevops.js +3 -71
  19. package/lib/common/gitProvider/azureDevops.js.map +1 -1
  20. package/lib/common/gitProvider/bitbucket.d.ts +0 -1
  21. package/lib/common/gitProvider/bitbucket.js +2 -81
  22. package/lib/common/gitProvider/bitbucket.js.map +1 -1
  23. package/lib/common/gitProvider/gitProviderRoot.d.ts +0 -1
  24. package/lib/common/gitProvider/gitProviderRoot.js +0 -6
  25. package/lib/common/gitProvider/gitProviderRoot.js.map +1 -1
  26. package/lib/common/gitProvider/github.d.ts +0 -1
  27. package/lib/common/gitProvider/github.js +1 -74
  28. package/lib/common/gitProvider/github.js.map +1 -1
  29. package/lib/common/gitProvider/gitlab.d.ts +0 -3
  30. package/lib/common/gitProvider/gitlab.js +2 -110
  31. package/lib/common/gitProvider/gitlab.js.map +1 -1
  32. package/lib/common/gitProvider/index.d.ts +1 -1
  33. package/lib/common/gitProvider/index.js +5 -12
  34. package/lib/common/gitProvider/index.js.map +1 -1
  35. package/lib/common/utils/authUtils.d.ts +2 -15
  36. package/lib/common/utils/authUtils.js +29 -48
  37. package/lib/common/utils/authUtils.js.map +1 -1
  38. package/lib/common/utils/dataUtils.d.ts +2 -2
  39. package/lib/common/utils/dataUtils.js +1 -5
  40. package/lib/common/utils/dataUtils.js.map +1 -1
  41. package/lib/common/utils/deployTips.js +1 -2
  42. package/lib/common/utils/deployTips.js.map +1 -1
  43. package/lib/common/utils/deployUtils.d.ts +7 -0
  44. package/lib/common/utils/deployUtils.js +75 -28
  45. package/lib/common/utils/deployUtils.js.map +1 -1
  46. package/lib/common/utils/gitUtils.d.ts +0 -2
  47. package/lib/common/utils/gitUtils.js +1 -7
  48. package/lib/common/utils/gitUtils.js.map +1 -1
  49. package/lib/common/utils/orgUtils.d.ts +0 -1
  50. package/lib/common/utils/orgUtils.js +0 -12
  51. package/lib/common/utils/orgUtils.js.map +1 -1
  52. package/oclif.manifest.json +681 -567
  53. package/package.json +1 -1
  54. package/lib/common/actionsProvider/actionsProvider.d.ts +0 -41
  55. package/lib/common/actionsProvider/actionsProvider.js +0 -110
  56. package/lib/common/actionsProvider/actionsProvider.js.map +0 -1
  57. package/lib/common/actionsProvider/apexAction.d.ts +0 -6
  58. package/lib/common/actionsProvider/apexAction.js +0 -35
  59. package/lib/common/actionsProvider/apexAction.js.map +0 -1
  60. package/lib/common/actionsProvider/commandAction.d.ts +0 -6
  61. package/lib/common/actionsProvider/commandAction.js +0 -29
  62. package/lib/common/actionsProvider/commandAction.js.map +0 -1
  63. package/lib/common/actionsProvider/dataAction.d.ts +0 -6
  64. package/lib/common/actionsProvider/dataAction.js +0 -50
  65. package/lib/common/actionsProvider/dataAction.js.map +0 -1
  66. package/lib/common/actionsProvider/manualAction.d.ts +0 -6
  67. package/lib/common/actionsProvider/manualAction.js +0 -26
  68. package/lib/common/actionsProvider/manualAction.js.map +0 -1
  69. package/lib/common/actionsProvider/publishCommunityAction.d.ts +0 -6
  70. package/lib/common/actionsProvider/publishCommunityAction.js +0 -30
  71. package/lib/common/actionsProvider/publishCommunityAction.js.map +0 -1
  72. package/lib/common/utils/prePostCommandUtils.d.ts +0 -7
  73. package/lib/common/utils/prePostCommandUtils.js +0 -272
  74. package/lib/common/utils/prePostCommandUtils.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-alpha202510282151.0",
6
+ "version": "6.10.0",
7
7
  "dependencies": {
8
8
  "@actions/github": "^6.0.1",
9
9
  "@cparra/apexdocs": "^3.14.1",
@@ -1,41 +0,0 @@
1
- import { CommonPullRequestInfo } from '../gitProvider/index.js';
2
- export interface PrePostCommand {
3
- id: string;
4
- label: string;
5
- type: 'command' | 'data' | 'apex' | 'publish-community' | 'manual';
6
- parameters?: {
7
- apexScript?: string;
8
- sfdmuProject?: string;
9
- communityName?: string;
10
- instructions?: string;
11
- [key: string]: any;
12
- };
13
- command: string;
14
- context: 'all' | 'check-deployment-only' | 'process-deployment-only';
15
- skipIfError?: boolean;
16
- allowFailure?: boolean;
17
- runOnlyOnceByOrg?: boolean;
18
- customUsername?: string;
19
- pullRequest?: CommonPullRequestInfo;
20
- result?: ActionResult;
21
- }
22
- export type ActionResult = {
23
- statusCode: 'success' | 'failed' | 'skipped' | "manual";
24
- output?: string;
25
- skippedReason?: string;
26
- };
27
- export declare abstract class ActionsProvider {
28
- customUsernameToUse: string | null;
29
- static buildActionInstance(cmd: PrePostCommand): Promise<ActionsProvider>;
30
- getLabel(): string;
31
- /**
32
- * Perform pre-run validations for the given command.
33
- * Return null when the command is valid and may proceed.
34
- * Return an ActionResult when the command must be short-circuited
35
- * (for example: missing parameters -> failed, or manual -> skipped).
36
- */
37
- checkValidityIssues(cmd: PrePostCommand): Promise<ActionResult | null>;
38
- checkParameters(_cmd: PrePostCommand): Promise<ActionResult | null>;
39
- run(cmd: PrePostCommand): Promise<ActionResult>;
40
- checkAuthCustomUsernameIssues(cmd: PrePostCommand): Promise<ActionResult | null>;
41
- }
@@ -1,110 +0,0 @@
1
- import { SfError } from '@salesforce/core';
2
- import c from 'chalk';
3
- import { getCurrentGitBranch, uxLog } from '../utils/index.js';
4
- import { authOrg } from '../utils/authUtils.js';
5
- import { findUserByUsernameLike } from '../utils/orgUtils.js';
6
- export class ActionsProvider {
7
- customUsernameToUse = null;
8
- static async buildActionInstance(cmd) {
9
- let actionInstance = null;
10
- const type = cmd.type || 'command';
11
- if (type === 'command') {
12
- const CommandAction = await import('./commandAction.js');
13
- actionInstance = new CommandAction.CommandAction();
14
- }
15
- else if (type === 'apex') {
16
- const ApexAction = await import('./apexAction.js');
17
- actionInstance = new ApexAction.ApexAction();
18
- }
19
- else if (type === 'data') {
20
- const DataAction = await import('./dataAction.js');
21
- actionInstance = new DataAction.DataAction();
22
- }
23
- else if (type === 'publish-community') {
24
- const PublishCommunityAction = await import('./publishCommunityAction.js');
25
- actionInstance = new PublishCommunityAction.PublishCommunityAction();
26
- }
27
- else if (type === 'manual') {
28
- const ManualAction = await import('./manualAction.js');
29
- actionInstance = new ManualAction.ManualAction();
30
- }
31
- else {
32
- uxLog("error", this, c.yellow(`[DeploymentActions] Action type [${cmd.type}] is not yet implemented for action [${cmd.id}]: ${cmd.label}`));
33
- cmd.result = {
34
- statusCode: "failed",
35
- skippedReason: `Action type [${cmd.type}] is not implemented`
36
- };
37
- }
38
- return actionInstance;
39
- }
40
- getLabel() {
41
- throw new SfError('getLabel should be implemented on this call');
42
- }
43
- /**
44
- * Perform pre-run validations for the given command.
45
- * Return null when the command is valid and may proceed.
46
- * Return an ActionResult when the command must be short-circuited
47
- * (for example: missing parameters -> failed, or manual -> skipped).
48
- */
49
- async checkValidityIssues(cmd) {
50
- const parametersValidityIssue = await this.checkParameters(cmd);
51
- if (parametersValidityIssue) {
52
- return parametersValidityIssue;
53
- }
54
- const authValidityIssue = await this.checkAuthCustomUsernameIssues(cmd);
55
- if (authValidityIssue) {
56
- return authValidityIssue;
57
- }
58
- return null;
59
- }
60
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
61
- async checkParameters(_cmd) {
62
- uxLog('warning', this, c.yellow(`checkParameters is not implemented on ${this.getLabel()}`));
63
- return null;
64
- }
65
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
66
- async run(cmd) {
67
- uxLog('warning', this, c.yellow(`run is not implemented on ${this.getLabel()}`));
68
- return { statusCode: 'skipped', skippedReason: 'Not implemented' };
69
- }
70
- async checkAuthCustomUsernameIssues(cmd) {
71
- if (this.customUsernameToUse) {
72
- return null;
73
- }
74
- if (cmd.customUsername) {
75
- const conn = globalThis.jsForceConn;
76
- const user = await findUserByUsernameLike(cmd.customUsername, conn);
77
- if (!user) {
78
- uxLog('error', this, c.red(`[DeploymentActions] Custom username [${cmd.customUsername}] not found for action ${cmd.label}`));
79
- return { statusCode: 'failed', skippedReason: `Custom username [${cmd.customUsername}] not found` };
80
- }
81
- let authResult;
82
- try {
83
- const instanceUrl = conn.instanceUrl;
84
- let targetBranch = cmd.pullRequest?.targetBranch;
85
- if (!targetBranch) {
86
- targetBranch = await getCurrentGitBranch({ formatted: true }) || undefined;
87
- }
88
- authResult = await authOrg(targetBranch, {
89
- forceUsername: user.Username,
90
- instanceUrl: instanceUrl,
91
- setDefault: false,
92
- });
93
- }
94
- catch (error) {
95
- uxLog('error', this, c.red(`[DeploymentActions] Error during authentication with custom username [${user.Username}] for action ${cmd.label}: ${error}`));
96
- return { statusCode: 'failed', skippedReason: `Error during authentication with custom username [${user.Username}]: ${error}` };
97
- }
98
- if (authResult === true) {
99
- this.customUsernameToUse = user.Username;
100
- uxLog('log', this, c.green(`[DeploymentActions] Authenticated with custom username [${this.customUsernameToUse}] for action ${cmd.label}`));
101
- }
102
- else {
103
- uxLog('error', this, c.red(`[DeploymentActions] Failed to authenticate with custom username [${user.Username}] for action ${cmd.label}`));
104
- return { statusCode: 'failed', skippedReason: `Failed to authenticate with custom username [${user.Username}]` };
105
- }
106
- }
107
- return null;
108
- }
109
- }
110
- //# sourceMappingURL=actionsProvider.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"actionsProvider.js","sourceRoot":"","sources":["../../../src/common/actionsProvider/actionsProvider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,CAAC,MAAM,OAAO,CAAC;AACtB,OAAO,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AA+B9D,MAAM,OAAgB,eAAe;IAE5B,mBAAmB,GAAkB,IAAI,CAAC;IAE1C,MAAM,CAAC,KAAK,CAAC,mBAAmB,CAAC,GAAmB;QACzD,IAAI,cAAc,GAAQ,IAAI,CAAC;QAC/B,MAAM,IAAI,GAAG,GAAG,CAAC,IAAI,IAAI,SAAS,CAAC;QACnC,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;YACvB,MAAM,aAAa,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,CAAC;YACzD,cAAc,GAAG,IAAI,aAAa,CAAC,aAAa,EAAE,CAAC;QACrD,CAAC;aACI,IAAI,IAAI,KAAK,MAAM,EAAE,CAAC;YACzB,MAAM,UAAU,GAAG,MAAM,MAAM,CAAC,iBAAiB,CAAC,CAAC;YACnD,cAAc,GAAG,IAAI,UAAU,CAAC,UAAU,EAAE,CAAC;QAC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,CAAC;YACnH,CAAC;QACH,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;CACF"}
@@ -1,6 +0,0 @@
1
- import { ActionsProvider, ActionResult, PrePostCommand } from './actionsProvider.js';
2
- export declare class ApexAction extends ActionsProvider {
3
- getLabel(): string;
4
- checkParameters(cmd: PrePostCommand): Promise<ActionResult | null>;
5
- run(cmd: PrePostCommand): Promise<ActionResult>;
6
- }
@@ -1,35 +0,0 @@
1
- import { ActionsProvider } from './actionsProvider.js';
2
- import { execCommand, uxLog } from '../utils/index.js';
3
- import fs from 'fs-extra';
4
- import c from 'chalk';
5
- export class ApexAction extends ActionsProvider {
6
- getLabel() {
7
- return 'ApexAction';
8
- }
9
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
10
- async checkParameters(cmd) {
11
- const apexScript = cmd.parameters?.apexScript || '';
12
- if (!apexScript) {
13
- uxLog('error', this, c.red(`[DeploymentActions] No apexScript parameter provided for action [${cmd.id}]: ${cmd.label}`));
14
- return { statusCode: 'failed', skippedReason: 'No apexScript parameter provided' };
15
- }
16
- if (!fs.existsSync(apexScript)) {
17
- uxLog('error', this, c.red(`[DeploymentActions] Apex script file ${apexScript} does not exist for action [${cmd.id}]: ${cmd.label}`));
18
- return { statusCode: 'failed', skippedReason: `Apex script file ${apexScript} does not exist` };
19
- }
20
- return null;
21
- }
22
- async run(cmd) {
23
- const validity = await this.checkValidityIssues(cmd);
24
- if (validity)
25
- return validity;
26
- const apexScript = cmd.parameters?.apexScript || '';
27
- const apexCommand = `sf apex run --file ${apexScript}` + (this.customUsernameToUse ? ` --target-org ${this.customUsernameToUse}` : '');
28
- const res = await execCommand(apexCommand, null, { fail: false, output: true });
29
- if (res.status === 0) {
30
- return { statusCode: 'success', output: (res.stdout || '') + '\n' + (res.stderr || '') };
31
- }
32
- return { statusCode: 'failed', output: (res.stdout || '') + '\n' + (res.stderr || '') };
33
- }
34
- }
35
- //# sourceMappingURL=apexAction.js.map
@@ -1 +0,0 @@
1
- {"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E,OAAO,QAAQ,CAAC;QAC9B,MAAM,UAAU,GAAI,GAAG,CAAC,UAAU,EAAE,UAAqB,IAAI,EAAE,CAAC;QAChE,MAAM,WAAW,GAAG,sBAAsB,UAAU,EAAE,GAAG,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,iBAAiB,IAAI,CAAC,mBAAmB,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;QACvI,MAAM,GAAG,GAAG,MAAM,WAAW,CAAC,WAAW,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;QAChF,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,EAAE,CAAC;QAC3F,CAAC;QACD,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,EAAE,CAAC;IAC1F,CAAC;CACF"}
@@ -1,6 +0,0 @@
1
- import { ActionsProvider, ActionResult, PrePostCommand } from './actionsProvider.js';
2
- export declare class CommandAction extends ActionsProvider {
3
- getLabel(): string;
4
- checkParameters(cmd: PrePostCommand): Promise<ActionResult | null>;
5
- run(cmd: PrePostCommand): Promise<ActionResult>;
6
- }
@@ -1,29 +0,0 @@
1
- import { ActionsProvider } from './actionsProvider.js';
2
- import { execCommand, uxLog } from '../utils/index.js';
3
- import c from 'chalk';
4
- export class CommandAction extends ActionsProvider {
5
- getLabel() {
6
- return 'CommandAction';
7
- }
8
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
9
- async checkParameters(cmd) {
10
- const command = cmd.command;
11
- if (!command) {
12
- uxLog('error', this, c.red(`[DeploymentActions] No command provided for action [${cmd.id}]: ${cmd.label}`));
13
- return { statusCode: 'failed', skippedReason: 'No command provided' };
14
- }
15
- return null;
16
- }
17
- async run(cmd) {
18
- const validity = await this.checkValidityIssues(cmd);
19
- if (validity)
20
- return validity;
21
- cmd.command = cmd.command + (this.customUsernameToUse ? ` --target-org ${this.customUsernameToUse}` : '');
22
- const res = await execCommand(cmd.command, null, { fail: false, output: true });
23
- if (res.status === 0) {
24
- return { statusCode: 'success', output: (res.stdout || '') + '\n' + (res.stderr || '') };
25
- }
26
- return { statusCode: 'failed', output: (res.stdout || '') + '\n' + (res.stderr || '') };
27
- }
28
- }
29
- //# sourceMappingURL=commandAction.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"commandAction.js","sourceRoot":"","sources":["../../../src/common/actionsProvider/commandAction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAgC,MAAM,sBAAsB,CAAC;AACrF,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,CAAC,MAAM,OAAO,CAAC;AAEtB,MAAM,OAAO,aAAc,SAAQ,eAAe;IACzC,QAAQ;QACb,OAAO,eAAe,CAAC;IACzB,CAAC;IAED,6DAA6D;IACtD,KAAK,CAAC,eAAe,CAAC,GAAmB;QAC9C,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;QAC5B,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,KAAK,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,uDAAuD,GAAG,CAAC,EAAE,MAAM,GAAG,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;YAC5G,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,qBAAqB,EAAkB,CAAC;QACxF,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,KAAK,CAAC,GAAG,CAAC,GAAmB;QAClC,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC;QACrD,IAAI,QAAQ;YAAE,OAAO,QAAQ,CAAC;QAC9B,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,GAAG,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,iBAAiB,IAAI,CAAC,mBAAmB,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;QAC1G,MAAM,GAAG,GAAG,MAAM,WAAW,CAAC,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;QAChF,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,EAAE,CAAC;QAC3F,CAAC;QACD,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,EAAE,CAAC;IAC1F,CAAC;CACF"}
@@ -1,6 +0,0 @@
1
- import { ActionsProvider, ActionResult, PrePostCommand } from './actionsProvider.js';
2
- export declare class DataAction extends ActionsProvider {
3
- getLabel(): string;
4
- checkParameters(cmd: PrePostCommand): Promise<ActionResult | null>;
5
- run(cmd: PrePostCommand): Promise<ActionResult>;
6
- }
@@ -1,50 +0,0 @@
1
- import { ActionsProvider } from './actionsProvider.js';
2
- import { uxLog } from '../utils/index.js';
3
- import c from 'chalk';
4
- import { findDataWorkspaceByName, importData } from '../utils/dataUtils.js';
5
- export class DataAction extends ActionsProvider {
6
- getLabel() {
7
- return 'DataAction';
8
- }
9
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
10
- async checkParameters(cmd) {
11
- const sfdmuProject = cmd.parameters?.sfdmuProject || '';
12
- if (!sfdmuProject) {
13
- uxLog('error', this, c.red(`[DeploymentActions] No sfdmuProject parameter provided for action ${cmd.label}`));
14
- return { statusCode: 'failed', skippedReason: 'No sfdmuProject parameter provided' };
15
- }
16
- const sfdmuProjectPath = await findDataWorkspaceByName(sfdmuProject, false);
17
- if (!sfdmuProjectPath) {
18
- uxLog('error', this, c.red(`[DeploymentActions] Data workspace ${sfdmuProject} does not exist for action ${cmd.label}`));
19
- return { statusCode: 'failed', skippedReason: `Data workspace ${sfdmuProject} does not exist` };
20
- }
21
- return null;
22
- }
23
- async run(cmd) {
24
- const validity = await this.checkValidityIssues(cmd);
25
- if (validity)
26
- return validity;
27
- const sfdmuProject = cmd.parameters?.sfdmuProject || '';
28
- const sfdmuProjectPath = await findDataWorkspaceByName(sfdmuProject);
29
- const importOptions = {
30
- fail: false,
31
- output: true
32
- };
33
- if (this.customUsernameToUse) {
34
- importOptions.targetUsername = this.customUsernameToUse;
35
- }
36
- let res;
37
- try {
38
- res = await importData(sfdmuProjectPath, null, importOptions);
39
- if (res.status === 0) {
40
- return { statusCode: 'success', output: (res.stdout || '') + '\n' + (res.stderr || '') };
41
- }
42
- }
43
- catch (error) {
44
- uxLog('error', this, c.red(`[DeploymentActions] Error during data import for action ${cmd.label}: ${error}`));
45
- return { statusCode: 'failed', output: `Error during data import: ${error}` };
46
- }
47
- return { statusCode: 'failed', output: (res.stdout || '') + '\n' + (res.stderr || '') };
48
- }
49
- }
50
- //# sourceMappingURL=dataAction.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dataAction.js","sourceRoot":"","sources":["../../../src/common/actionsProvider/dataAction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAgC,MAAM,sBAAsB,CAAC;AACrF,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,C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C,CAAC;QACrE,MAAM,aAAa,GAAQ;YACzB,IAAI,EAAE,KAAK;YACX,MAAM,EAAE,IAAI;SACb,CAAA;QACD,IAAI,IAAI,CAAC,mBAAmB,EAAE,CAAC;YAC7B,aAAa,CAAC,cAAc,GAAG,IAAI,CAAC,mBAAmB,CAAC;QAC1D,CAAC;QACD,IAAI,GAAQ,CAAC;QACb,IAAI,CAAC;YACH,GAAG,GAAG,MAAM,UAAU,CAAC,gBAAiB,EAAE,IAAI,EAAE,aAAa,CAAC,CAAC;YAC/D,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBACrB,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,EAAE,CAAC;YAC3F,CAAC;QACH,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,KAAK,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,2DAA2D,GAAG,CAAC,KAAK,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC;YAC9G,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,6BAA6B,KAAK,EAAE,EAAE,CAAC;QAChF,CAAC;QACD,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,EAAE,CAAC;IAC1F,CAAC;CACF"}
@@ -1,6 +0,0 @@
1
- import { ActionsProvider, ActionResult, PrePostCommand } from './actionsProvider.js';
2
- export declare class ManualAction extends ActionsProvider {
3
- getLabel(): string;
4
- checkParameters(cmd: PrePostCommand): Promise<ActionResult | null>;
5
- run(cmd: PrePostCommand): Promise<ActionResult>;
6
- }
@@ -1,26 +0,0 @@
1
- import { ActionsProvider } from './actionsProvider.js';
2
- import { uxLog } from '../utils/index.js';
3
- import c from 'chalk';
4
- export class ManualAction extends ActionsProvider {
5
- getLabel() {
6
- return 'ManualAction';
7
- }
8
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
9
- async checkParameters(cmd) {
10
- const instructions = cmd.parameters?.instructions || '';
11
- if (!instructions) {
12
- uxLog('warning', this, c.yellow(`[DeploymentActions] No instructions for manual action [${cmd.id}]: ${cmd.label}`));
13
- return { statusCode: 'skipped', skippedReason: 'No instructions provided' };
14
- }
15
- return null;
16
- }
17
- async run(cmd) {
18
- const validity = await this.checkValidityIssues(cmd);
19
- if (validity)
20
- return validity;
21
- const instructions = cmd.parameters?.instructions || '';
22
- // Manual actions are not executed automatically. We just record the instructions.
23
- return { statusCode: 'manual', skippedReason: 'Manual action - see output for instructions', output: instructions };
24
- }
25
- }
26
- //# sourceMappingURL=manualAction.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"manualAction.js","sourceRoot":"","sources":["../../../src/common/actionsProvider/manualAction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAgC,MAAM,sBAAsB,CAAC;AACrF,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,CAAC,MAAM,OAAO,CAAC;AAEtB,MAAM,OAAO,YAAa,SAAQ,eAAe;IACxC,QAAQ;QACb,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,6DAA6D;IACtD,KAAK,CAAC,eAAe,CAAC,GAAmB;QAC9C,MAAM,YAAY,GAAI,GAAG,CAAC,UAAU,EAAE,YAAuB,IAAI,EAAE,CAAC;QACpE,IAAI,CAAC,YAAY,EAAE,CAAC;YAClB,KAAK,CAAC,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,0DAA0D,GAAG,CAAC,EAAE,MAAM,GAAG,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;YACpH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,EAAE,0BAA0B,EAAE,CAAC;QAC9E,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,KAAK,CAAC,GAAG,CAAC,GAAmB;QAClC,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC;QACrD,IAAI,QAAQ;YAAE,OAAO,QAAQ,CAAC;QAC9B,MAAM,YAAY,GAAI,GAAG,CAAC,UAAU,EAAE,YAAuB,IAAI,EAAE,CAAC;QACpE,kFAAkF;QAClF,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,6CAA6C,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC;IACtH,CAAC;CACF"}
@@ -1,6 +0,0 @@
1
- import { ActionsProvider, ActionResult, PrePostCommand } from './actionsProvider.js';
2
- export declare class PublishCommunityAction extends ActionsProvider {
3
- getLabel(): string;
4
- checkParameters(cmd: PrePostCommand): Promise<ActionResult | null>;
5
- run(cmd: PrePostCommand): Promise<ActionResult>;
6
- }
@@ -1,30 +0,0 @@
1
- import { ActionsProvider } from './actionsProvider.js';
2
- import { execCommand, uxLog } from '../utils/index.js';
3
- import c from 'chalk';
4
- export class PublishCommunityAction extends ActionsProvider {
5
- getLabel() {
6
- return 'PublishCommunityAction';
7
- }
8
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
9
- async checkParameters(cmd) {
10
- const communityName = cmd.parameters?.communityName || '';
11
- if (!communityName) {
12
- uxLog('error', this, c.red(`[DeploymentActions] No communityName parameter provided for action [${cmd.id}]: ${cmd.label}`));
13
- return { statusCode: 'failed', skippedReason: 'No communityName parameter provided' };
14
- }
15
- return null;
16
- }
17
- async run(cmd) {
18
- const validity = await this.checkValidityIssues(cmd);
19
- if (validity)
20
- return validity;
21
- const communityName = cmd.parameters?.communityName || '';
22
- const publishCmd = `sf community publish -n "${communityName}"` + (this.customUsernameToUse ? ` --target-org ${this.customUsernameToUse}` : '');
23
- const res = await execCommand(publishCmd, null, { fail: false, output: true });
24
- if (res.status === 0) {
25
- return { statusCode: 'success', output: (res.stdout || '') + '\n' + (res.stderr || '') };
26
- }
27
- return { statusCode: 'failed', output: (res.stdout || '') + '\n' + (res.stderr || '') };
28
- }
29
- }
30
- //# sourceMappingURL=publishCommunityAction.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"publishCommunityAction.js","sourceRoot":"","sources":["../../../src/common/actionsProvider/publishCommunityAction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAgC,MAAM,sBAAsB,CAAC;AACrF,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,CAAC,MAAM,OAAO,CAAC;AAEtB,MAAM,OAAO,sBAAuB,SAAQ,eAAe;IAClD,QAAQ;QACb,OAAO,wBAAwB,CAAC;IAClC,CAAC;IAED,6DAA6D;IACtD,KAAK,CAAC,eAAe,CAAC,GAAmB;QAC9C,MAAM,aAAa,GAAI,GAAG,CAAC,UAAU,EAAE,aAAwB,IAAI,EAAE,CAAC;QACtE,IAAI,CAAC,aAAa,EAAE,CAAC;YACnB,KAAK,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,uEAAuE,GAAG,CAAC,EAAE,MAAM,GAAG,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;YAC5H,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,qCAAqC,EAAE,CAAC;QACxF,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,KAAK,CAAC,GAAG,CAAC,GAAmB;QAClC,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC;QACrD,IAAI,QAAQ;YAAE,OAAO,QAAQ,CAAC;QAC9B,MAAM,aAAa,GAAI,GAAG,CAAC,UAAU,EAAE,aAAwB,IAAI,EAAE,CAAC;QACtE,MAAM,UAAU,GAAG,4BAA4B,aAAa,GAAG,GAAG,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,iBAAiB,IAAI,CAAC,mBAAmB,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;QAChJ,MAAM,GAAG,GAAG,MAAM,WAAW,CAAC,UAAU,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;QAC/E,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,EAAE,CAAC;QAC3F,CAAC;QACD,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,EAAE,CAAC;IAC1F,CAAC;CACF"}
@@ -1,7 +0,0 @@
1
- import { Connection } from '@salesforce/core';
2
- export declare function executePrePostCommands(property: 'commandsPreDeploy' | 'commandsPostDeploy', options: {
3
- success: boolean;
4
- checkOnly: boolean;
5
- conn: Connection;
6
- extraCommands?: any[];
7
- }): Promise<void>;