sfdx-hardis 6.12.6 → 6.12.7-beta202511221406.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.
@@ -107,7 +107,7 @@ export async function flowDiffToMarkdownForPullRequest(flowNames, fromCommit, to
107
107
  }
108
108
  }
109
109
  catch (e) {
110
- uxLog("warning", this, c.yellow(`[FlowGitDiff] Unable to generate Flow diff for ${flowName}: ${e.message}`));
110
+ uxLog("warning", this, c.yellow(`[FlowGitDiff] Unable to generate Flow diff for ${flowName}: ${e.message}`) + "\n" + c.grey(e.stack));
111
111
  }
112
112
  }
113
113
  if (truncatedNb > 0) {
@@ -1 +1 @@
1
- {"version":3,"file":"utilsMarkdown.js","sourceRoot":"","sources":["../../../src/common/gitProvider/utilsMarkdown.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,OAAO,CAAC;AACtB,OAAO,EAAE,MAAM,UAAU,CAAA;AACzB,OAAO,KAAK,IAAI,MAAM,MAAM,CAAA;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,MAAM,UAAU,sBAAsB,CAAC,aAAyB;IAC9D,IAAI,EAAE,GAAG,0BAA0B,CAAC;IACpC,KAAK,MAAM,GAAG,IAAI,aAAa,EAAE,CAAC;QAChC,MAAM,YAAY,GAAI,GAAW,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC;YAC1E,CAAC,CAAE,GAAW,EAAE,KAAK,EAAE,OAAO;iBAC3B,IAAI,EAAE;iBACN,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC;iBACvB,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC;iBACrB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G,QAAQ,CAAC,UAAU,CAAC,aAAa,EAAE,YAAY,CAAC,aAAa,CAAC,CAAC,CAAC;IAC7E,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC"}
package/oclif.lock CHANGED
@@ -2695,10 +2695,10 @@
2695
2695
  dependencies:
2696
2696
  "@types/node" ">=18.0.0"
2697
2697
 
2698
- "@slack/types@^2.18.0":
2699
- version "2.18.0"
2700
- resolved "https://registry.yarnpkg.com/@slack/types/-/types-2.18.0.tgz#84dab2ebb4593049fa6757a3f69318ffe3876c54"
2701
- integrity "sha1-hNqy67RZMEn6Z1ej9pMY/+OHbFQ= sha512-ZKrdeoppbM+3l2KKOi4/3oFYKCEwiW3dQfdHZDcecJ9rAmEqWPnARYmac9taZNitb0xnSgu6GOpHgwaKI8se2g=="
2698
+ "@slack/types@^2.18.0", "@slack/types@^2.19.0":
2699
+ version "2.19.0"
2700
+ resolved "https://registry.yarnpkg.com/@slack/types/-/types-2.19.0.tgz#b076caed57ed2a758e5b7aed73bcdf9bba5b60d3"
2701
+ integrity sha512-7+QZ38HGcNh/b/7MpvPG6jnw7mliV6UmrquJLqgdxkzJgQEYUcEztvFWRU49z0x4vthF0ixL5lTK601AXrS8IA==
2702
2702
 
2703
2703
  "@slack/web-api@^7.12.0":
2704
2704
  version "7.12.0"
@@ -6873,10 +6873,10 @@ form-data-encoder@^2.1.2:
6873
6873
  resolved "https://registry.yarnpkg.com/form-data-encoder/-/form-data-encoder-2.1.4.tgz#261ea35d2a70d48d30ec7a9603130fa5515e9cd5"
6874
6874
  integrity sha512-yDYSgNMraqvnxiEXO4hi88+YZxaHC6QKzb5N84iRCTDeRO7ZALpir/lVmf/uXUhnwUr2O4HU8s/n6x+yNjQkHw==
6875
6875
 
6876
- form-data@4.0.4, form-data@^2.5.0, form-data@^4.0.0, form-data@^4.0.4:
6877
- version "4.0.4"
6878
- resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.4.tgz#784cdcce0669a9d68e94d11ac4eea98088edd2c4"
6879
- integrity sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==
6876
+ form-data@4.0.5, form-data@^2.5.0, form-data@^4.0.0, form-data@^4.0.4, form-data@^4.0.5:
6877
+ version "4.0.5"
6878
+ resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.5.tgz#b49e48858045ff4cbf6b03e1805cebcad3679053"
6879
+ integrity sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==
6880
6880
  dependencies:
6881
6881
  asynckit "^0.4.0"
6882
6882
  combined-stream "^1.0.8"
@@ -7174,6 +7174,18 @@ glob@^11.0.0, glob@^11.0.3:
7174
7174
  package-json-from-dist "^1.0.0"
7175
7175
  path-scurry "^2.0.0"
7176
7176
 
7177
+ glob@^12.0.0:
7178
+ version "12.0.0"
7179
+ resolved "https://registry.yarnpkg.com/glob/-/glob-12.0.0.tgz#4f75198719ab443ea433fdc023629b853532a443"
7180
+ integrity sha512-5Qcll1z7IKgHr5g485ePDdHcNQY0k2dtv/bjYy0iuyGxQw2qSOiiXUXJ+AYQpg3HNoUMHqAruX478Jeev7UULw==
7181
+ dependencies:
7182
+ foreground-child "^3.3.1"
7183
+ jackspeak "^4.1.1"
7184
+ minimatch "^10.1.1"
7185
+ minipass "^7.1.2"
7186
+ package-json-from-dist "^1.0.0"
7187
+ path-scurry "^2.0.0"
7188
+
7177
7189
  glob@^7.0.0, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@^7.2.3:
7178
7190
  version "7.2.3"
7179
7191
  resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b"
@@ -9243,10 +9255,10 @@ math-intrinsics@^1.1.0:
9243
9255
  resolved "https://registry.yarnpkg.com/math-intrinsics/-/math-intrinsics-1.1.0.tgz#a0dd74be81e2aa5c2f27e65ce283605ee4e2b7f9"
9244
9256
  integrity sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==
9245
9257
 
9246
- md-to-pdf@^5.2.4:
9247
- version "5.2.4"
9248
- resolved "https://registry.yarnpkg.com/md-to-pdf/-/md-to-pdf-5.2.4.tgz#a81fa2e07fa36756828d0f84f7eeb59d3078fb05"
9249
- integrity sha512-s6080i4ZSBfvn7qplSVjdqP9eWi9rIWj+t5pucEKnpAHan89VLQuQPhVx06vWIM+6JX2HrJ1wNRFMiwLlS01vg==
9258
+ md-to-pdf@^5.2.5:
9259
+ version "5.2.5"
9260
+ resolved "https://registry.yarnpkg.com/md-to-pdf/-/md-to-pdf-5.2.5.tgz#aa67e866fbf24d46e4d5e62b629fab61baa3d028"
9261
+ integrity sha512-TG8TgDM0PmEwCldR6j/1QP9gBElLL3DSn5ID8P3bEXEl3Y2zHOUSyszHzabWnDNxklRjKbi40ybli8YQJ5Ym5w==
9250
9262
  dependencies:
9251
9263
  arg "^5.0.2"
9252
9264
  chalk "^4.1.2"
@@ -9514,14 +9526,7 @@ minimatch@9.0.3:
9514
9526
  dependencies:
9515
9527
  brace-expansion "^2.0.1"
9516
9528
 
9517
- minimatch@^10.0.1:
9518
- version "10.0.3"
9519
- resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-10.0.3.tgz#cf7a0314a16c4d9ab73a7730a0e8e3c3502d47aa"
9520
- integrity sha512-IPZ167aShDZZUMdRk66cyQAW3qr0WzbHkPdMYa8bzZhlHhO3jALbKdxcaak7W9FfT2rZNpQuUu4Od7ILEpXSaw==
9521
- dependencies:
9522
- "@isaacs/brace-expansion" "^5.0.0"
9523
-
9524
- minimatch@^10.1.1:
9529
+ minimatch@^10.0.1, minimatch@^10.1.1:
9525
9530
  version "10.1.1"
9526
9531
  resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-10.1.1.tgz#e6e61b9b0c1dcab116b5a7d1458e8b6ae9e73a55"
9527
9532
  integrity sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==
@@ -132,12 +132,13 @@
132
132
  "clear:cache:hardis"
133
133
  ]
134
134
  },
135
- "hardis:config:get": {
135
+ "hardis:auth:login": {
136
136
  "aliases": [],
137
137
  "args": {},
138
- "description": "\n## Command Behavior\n\n**Retrieves and displays the sfdx-hardis configuration for a specified level.**\n\nThis command allows you to inspect the configuration that is currently in effect for your project, which is useful for debugging and understanding how sfdx-hardis will behave.\n\n- **Configuration levels:** It can retrieve configuration from three different levels:\n - **Project:** The configuration defined in the project's `.sfdx-hardis.yml` file.\n - **Branch:** The configuration defined in a branch-specific configuration file (e.g., `.sfdx-hardis.production.yml`).\n - **User:** The global user-level configuration.\n\n## Technical explanations\n\nThe command's logic is straightforward:\n\n- **`getConfig` function:** It calls the `getConfig` utility function, passing the desired configuration level as an argument.\n- **Configuration loading:** The `getConfig` function is responsible for finding the appropriate configuration file, reading its contents, and parsing it as YAML or JSON.\n- **Output:** The retrieved configuration is then displayed to the user as a JSON string.\n",
138
+ "description": "\n## Command Behavior\n\n**Authenticates to a Salesforce org, primarily designed for CI/CD workflows.**\n\nThis command facilitates secure and automated logins to Salesforce organizations within continuous integration and continuous delivery pipelines. It leverages pre-configured authentication details, ensuring that CI/CD processes can interact with Salesforce without manual intervention.\n\nKey aspects:\n\n- **Configuration-Driven:** It relies on authentication variables and files set up by dedicated configuration commands:\n - For CI/CD repositories: [Configure Org CI Authentication](https://sfdx-hardis.cloudity.com/hardis/project/configure/auth/)\n - For Monitoring repositories: [Configure Org Monitoring](https://sfdx-hardis.cloudity.com/hardis/org/configure/monitoring/)\n- **Technical Org Support:** Supports authentication to a 'technical org' (e.g., for calling Agentforce from another org) by utilizing the `SFDX_AUTH_URL_TECHNICAL_ORG` environment variable. If this variable is set, the command authenticates to this org with the alias `TECHNICAL_ORG`.\n\nTo obtain the `SFDX_AUTH_URL_TECHNICAL_ORG` value, you can run `sf org display --verbose --json` and copy the `sfdxAuthUrl` field from the output.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical flow involves:\n\n- **Flag Parsing:** It parses command-line flags such as `instanceurl`, `devhub`, `scratchorg`, and `debug` to determine the authentication context.\n- **Authentication Hook:** It triggers an internal authentication hook (`this.config.runHook('auth', ...`)) which is responsible for executing the actual authentication logic based on the provided flags (e.g., whether it's a Dev Hub or a scratch org).\n- **Environment Variable Check:** It checks for the presence of `SFDX_AUTH_URL_TECHNICAL_ORG` or `TECHNICAL_ORG_ALIAS` environment variables.\n- **`authOrg` Utility:** If a technical org is configured, it calls the `authOrg` utility function to perform the authentication for that specific org, ensuring it's connected and available for subsequent operations.\n- **Salesforce CLI Integration:** It integrates with the Salesforce CLI's authentication mechanisms to establish and manage org connections.\n</details>\n",
139
139
  "examples": [
140
- "$ sf hardis:project:deploy:sources:metadata"
140
+ "$ sf hardis:auth:login",
141
+ "CI=true CI_COMMIT_REF_NAME=monitoring_myclient sf hardis:auth:login"
141
142
  ],
142
143
  "flags": {
143
144
  "json": {
@@ -155,20 +156,28 @@
155
156
  "multiple": false,
156
157
  "type": "option"
157
158
  },
158
- "level": {
159
- "char": "l",
160
- "description": "project,branch or user",
161
- "name": "level",
162
- "default": "project",
159
+ "instanceurl": {
160
+ "char": "r",
161
+ "description": "URL of org instance",
162
+ "name": "instanceurl",
163
163
  "hasDynamicHelp": false,
164
164
  "multiple": false,
165
- "options": [
166
- "project",
167
- "branch",
168
- "user"
169
- ],
170
165
  "type": "option"
171
166
  },
167
+ "devhub": {
168
+ "char": "h",
169
+ "description": "Also connect associated DevHub",
170
+ "name": "devhub",
171
+ "allowNo": false,
172
+ "type": "boolean"
173
+ },
174
+ "scratchorg": {
175
+ "char": "s",
176
+ "description": "Scratch org",
177
+ "name": "scratchorg",
178
+ "allowNo": false,
179
+ "type": "boolean"
180
+ },
172
181
  "debug": {
173
182
  "char": "d",
174
183
  "description": "Activate debug mode (more logs)",
@@ -192,39 +201,38 @@
192
201
  },
193
202
  "hasDynamicHelp": false,
194
203
  "hiddenAliases": [],
195
- "id": "hardis:config:get",
204
+ "id": "hardis:auth:login",
196
205
  "pluginAlias": "sfdx-hardis",
197
206
  "pluginName": "sfdx-hardis",
198
207
  "pluginType": "core",
199
208
  "strict": true,
200
209
  "enableJsonFlag": true,
201
- "title": "Deploy metadata sources to org",
210
+ "title": "Login",
202
211
  "requiresProject": false,
203
212
  "isESM": true,
204
213
  "relativePath": [
205
214
  "lib",
206
215
  "commands",
207
216
  "hardis",
208
- "config",
209
- "get.js"
217
+ "auth",
218
+ "login.js"
210
219
  ],
211
220
  "aliasPermutations": [],
212
221
  "permutations": [
213
- "hardis:config:get",
214
- "config:hardis:get",
215
- "config:get:hardis",
216
- "hardis:get:config",
217
- "get:hardis:config",
218
- "get:config:hardis"
222
+ "hardis:auth:login",
223
+ "auth:hardis:login",
224
+ "auth:login:hardis",
225
+ "hardis:login:auth",
226
+ "login:hardis:auth",
227
+ "login:auth:hardis"
219
228
  ]
220
229
  },
221
- "hardis:auth:login": {
230
+ "hardis:config:get": {
222
231
  "aliases": [],
223
232
  "args": {},
224
- "description": "\n## Command Behavior\n\n**Authenticates to a Salesforce org, primarily designed for CI/CD workflows.**\n\nThis command facilitates secure and automated logins to Salesforce organizations within continuous integration and continuous delivery pipelines. It leverages pre-configured authentication details, ensuring that CI/CD processes can interact with Salesforce without manual intervention.\n\nKey aspects:\n\n- **Configuration-Driven:** It relies on authentication variables and files set up by dedicated configuration commands:\n - For CI/CD repositories: [Configure Org CI Authentication](https://sfdx-hardis.cloudity.com/hardis/project/configure/auth/)\n - For Monitoring repositories: [Configure Org Monitoring](https://sfdx-hardis.cloudity.com/hardis/org/configure/monitoring/)\n- **Technical Org Support:** Supports authentication to a 'technical org' (e.g., for calling Agentforce from another org) by utilizing the `SFDX_AUTH_URL_TECHNICAL_ORG` environment variable. If this variable is set, the command authenticates to this org with the alias `TECHNICAL_ORG`.\n\nTo obtain the `SFDX_AUTH_URL_TECHNICAL_ORG` value, you can run `sf org display --verbose --json` and copy the `sfdxAuthUrl` field from the output.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical flow involves:\n\n- **Flag Parsing:** It parses command-line flags such as `instanceurl`, `devhub`, `scratchorg`, and `debug` to determine the authentication context.\n- **Authentication Hook:** It triggers an internal authentication hook (`this.config.runHook('auth', ...`)) which is responsible for executing the actual authentication logic based on the provided flags (e.g., whether it's a Dev Hub or a scratch org).\n- **Environment Variable Check:** It checks for the presence of `SFDX_AUTH_URL_TECHNICAL_ORG` or `TECHNICAL_ORG_ALIAS` environment variables.\n- **`authOrg` Utility:** If a technical org is configured, it calls the `authOrg` utility function to perform the authentication for that specific org, ensuring it's connected and available for subsequent operations.\n- **Salesforce CLI Integration:** It integrates with the Salesforce CLI's authentication mechanisms to establish and manage org connections.\n</details>\n",
233
+ "description": "\n## Command Behavior\n\n**Retrieves and displays the sfdx-hardis configuration for a specified level.**\n\nThis command allows you to inspect the configuration that is currently in effect for your project, which is useful for debugging and understanding how sfdx-hardis will behave.\n\n- **Configuration levels:** It can retrieve configuration from three different levels:\n - **Project:** The configuration defined in the project's `.sfdx-hardis.yml` file.\n - **Branch:** The configuration defined in a branch-specific configuration file (e.g., `.sfdx-hardis.production.yml`).\n - **User:** The global user-level configuration.\n\n## Technical explanations\n\nThe command's logic is straightforward:\n\n- **`getConfig` function:** It calls the `getConfig` utility function, passing the desired configuration level as an argument.\n- **Configuration loading:** The `getConfig` function is responsible for finding the appropriate configuration file, reading its contents, and parsing it as YAML or JSON.\n- **Output:** The retrieved configuration is then displayed to the user as a JSON string.\n",
225
234
  "examples": [
226
- "$ sf hardis:auth:login",
227
- "CI=true CI_COMMIT_REF_NAME=monitoring_myclient sf hardis:auth:login"
235
+ "$ sf hardis:project:deploy:sources:metadata"
228
236
  ],
229
237
  "flags": {
230
238
  "json": {
@@ -242,28 +250,20 @@
242
250
  "multiple": false,
243
251
  "type": "option"
244
252
  },
245
- "instanceurl": {
246
- "char": "r",
247
- "description": "URL of org instance",
248
- "name": "instanceurl",
253
+ "level": {
254
+ "char": "l",
255
+ "description": "project,branch or user",
256
+ "name": "level",
257
+ "default": "project",
249
258
  "hasDynamicHelp": false,
250
259
  "multiple": false,
260
+ "options": [
261
+ "project",
262
+ "branch",
263
+ "user"
264
+ ],
251
265
  "type": "option"
252
266
  },
253
- "devhub": {
254
- "char": "h",
255
- "description": "Also connect associated DevHub",
256
- "name": "devhub",
257
- "allowNo": false,
258
- "type": "boolean"
259
- },
260
- "scratchorg": {
261
- "char": "s",
262
- "description": "Scratch org",
263
- "name": "scratchorg",
264
- "allowNo": false,
265
- "type": "boolean"
266
- },
267
267
  "debug": {
268
268
  "char": "d",
269
269
  "description": "Activate debug mode (more logs)",
@@ -287,30 +287,30 @@
287
287
  },
288
288
  "hasDynamicHelp": false,
289
289
  "hiddenAliases": [],
290
- "id": "hardis:auth:login",
290
+ "id": "hardis:config:get",
291
291
  "pluginAlias": "sfdx-hardis",
292
292
  "pluginName": "sfdx-hardis",
293
293
  "pluginType": "core",
294
294
  "strict": true,
295
295
  "enableJsonFlag": true,
296
- "title": "Login",
296
+ "title": "Deploy metadata sources to org",
297
297
  "requiresProject": false,
298
298
  "isESM": true,
299
299
  "relativePath": [
300
300
  "lib",
301
301
  "commands",
302
302
  "hardis",
303
- "auth",
304
- "login.js"
303
+ "config",
304
+ "get.js"
305
305
  ],
306
306
  "aliasPermutations": [],
307
307
  "permutations": [
308
- "hardis:auth:login",
309
- "auth:hardis:login",
310
- "auth:login:hardis",
311
- "hardis:login:auth",
312
- "login:hardis:auth",
313
- "login:auth:hardis"
308
+ "hardis:config:get",
309
+ "config:hardis:get",
310
+ "config:get:hardis",
311
+ "hardis:get:config",
312
+ "get:hardis:config",
313
+ "get:config:hardis"
314
314
  ]
315
315
  },
316
316
  "hardis:doc:fieldusage": {
@@ -9412,6 +9412,135 @@
9412
9412
  "promote:version:package:hardis"
9413
9413
  ]
9414
9414
  },
9415
+ "hardis:project:configure:auth": {
9416
+ "aliases": [],
9417
+ "args": {},
9418
+ "description": "\n## Command Behavior\n\n**Configures authentication between a Git branch and a target Salesforce org for CI/CD deployments.**\n\nThis command facilitates the setup of automated CI/CD pipelines, enabling seamless deployments from specific Git branches to designated Salesforce orgs. It supports both standard Salesforce orgs and Dev Hub configurations, catering to various enterprise deployment workflows.\n\nKey functionalities include:\n\n- **Org Selection/Login:** Guides the user to select an existing Salesforce org or log in to a new one.\n- **Git Branch Association:** Allows associating a specific Git branch with the chosen Salesforce org.\n- **Merge Target Definition:** Enables defining target Git branches into which the configured branch can merge, ensuring controlled deployment flows.\n- **Salesforce Username Configuration:** Prompts for the Salesforce username to be used by the CI server for deployments.\n- **SSL Certificate Generation:** Automatically generates an SSL certificate for secure authentication.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's implementation involves several key technical aspects:\n\n- **SF CLI Integration:** Utilizes \n@salesforce/sf-plugins-core\n for command structure and flag parsing.\n- **Interactive Prompts:** Employs the \nprompts\n library for interactive user input, guiding the configuration process.\n- **Git Integration:** Interacts with Git to retrieve branch information using \n`git().branch([\"--list\", \"-r\"])`\n.\n- **Configuration Management:** Leverages internal utilities (`checkConfig`, `getConfig`, `setConfig`, `setInConfigFile`) to read from and write to project-specific configuration files (e.g., `.sfdx-hardis.<branchName>.yml`).\n- **Salesforce CLI Execution:** Executes Salesforce CLI commands programmatically via `execSfdxJson` for org interactions.\n- **SSL Certificate Generation:** Calls `generateSSLCertificate` to create necessary SSL certificates for JWT-based authentication.\n- **WebSocket Communication:** Uses `WebSocketClient` for potential communication with external tools or processes, such as restarting the command in VS Code.\n- **Dependency Check:** Ensures the presence of `openssl` on the system, which is required for SSL certificate generation.\n",
9419
+ "examples": [
9420
+ "$ sf hardis:project:configure:auth"
9421
+ ],
9422
+ "flags": {
9423
+ "json": {
9424
+ "description": "Format output as json.",
9425
+ "helpGroup": "GLOBAL",
9426
+ "name": "json",
9427
+ "allowNo": false,
9428
+ "type": "boolean"
9429
+ },
9430
+ "flags-dir": {
9431
+ "helpGroup": "GLOBAL",
9432
+ "name": "flags-dir",
9433
+ "summary": "Import flag values from a directory.",
9434
+ "hasDynamicHelp": false,
9435
+ "multiple": false,
9436
+ "type": "option"
9437
+ },
9438
+ "devhub": {
9439
+ "char": "b",
9440
+ "description": "Configure project DevHub",
9441
+ "name": "devhub",
9442
+ "allowNo": false,
9443
+ "type": "boolean"
9444
+ },
9445
+ "debug": {
9446
+ "char": "d",
9447
+ "description": "Activate debug mode (more logs)",
9448
+ "name": "debug",
9449
+ "allowNo": false,
9450
+ "type": "boolean"
9451
+ },
9452
+ "websocket": {
9453
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
9454
+ "name": "websocket",
9455
+ "hasDynamicHelp": false,
9456
+ "multiple": false,
9457
+ "type": "option"
9458
+ },
9459
+ "skipauth": {
9460
+ "description": "Skip authentication check when a default username is required",
9461
+ "name": "skipauth",
9462
+ "allowNo": false,
9463
+ "type": "boolean"
9464
+ },
9465
+ "target-org": {
9466
+ "aliases": [
9467
+ "targetusername",
9468
+ "u"
9469
+ ],
9470
+ "char": "o",
9471
+ "deprecateAliases": true,
9472
+ "name": "target-org",
9473
+ "noCacheDefault": true,
9474
+ "summary": "Username or alias of the target org.",
9475
+ "hasDynamicHelp": true,
9476
+ "multiple": false,
9477
+ "type": "option"
9478
+ },
9479
+ "target-dev-hub": {
9480
+ "aliases": [
9481
+ "targetdevhubusername"
9482
+ ],
9483
+ "char": "v",
9484
+ "deprecateAliases": true,
9485
+ "name": "target-dev-hub",
9486
+ "noCacheDefault": true,
9487
+ "required": false,
9488
+ "summary": "Username or alias of the Dev Hub org.",
9489
+ "hasDynamicHelp": true,
9490
+ "multiple": false,
9491
+ "type": "option"
9492
+ }
9493
+ },
9494
+ "hasDynamicHelp": true,
9495
+ "hiddenAliases": [],
9496
+ "id": "hardis:project:configure:auth",
9497
+ "pluginAlias": "sfdx-hardis",
9498
+ "pluginName": "sfdx-hardis",
9499
+ "pluginType": "core",
9500
+ "strict": true,
9501
+ "enableJsonFlag": true,
9502
+ "title": "Configure authentication",
9503
+ "requiresProject": false,
9504
+ "requiresDependencies": [
9505
+ "openssl"
9506
+ ],
9507
+ "isESM": true,
9508
+ "relativePath": [
9509
+ "lib",
9510
+ "commands",
9511
+ "hardis",
9512
+ "project",
9513
+ "configure",
9514
+ "auth.js"
9515
+ ],
9516
+ "aliasPermutations": [],
9517
+ "permutations": [
9518
+ "hardis:project:configure:auth",
9519
+ "project:hardis:configure:auth",
9520
+ "project:configure:hardis:auth",
9521
+ "project:configure:auth:hardis",
9522
+ "hardis:configure:project:auth",
9523
+ "configure:hardis:project:auth",
9524
+ "configure:project:hardis:auth",
9525
+ "configure:project:auth:hardis",
9526
+ "hardis:configure:auth:project",
9527
+ "configure:hardis:auth:project",
9528
+ "configure:auth:hardis:project",
9529
+ "configure:auth:project:hardis",
9530
+ "hardis:project:auth:configure",
9531
+ "project:hardis:auth:configure",
9532
+ "project:auth:hardis:configure",
9533
+ "project:auth:configure:hardis",
9534
+ "hardis:auth:project:configure",
9535
+ "auth:hardis:project:configure",
9536
+ "auth:project:hardis:configure",
9537
+ "auth:project:configure:hardis",
9538
+ "hardis:auth:configure:project",
9539
+ "auth:hardis:configure:project",
9540
+ "auth:configure:hardis:project",
9541
+ "auth:configure:project:hardis"
9542
+ ]
9543
+ },
9415
9544
  "hardis:project:audit:apiversion": {
9416
9545
  "aliases": [],
9417
9546
  "args": {},
@@ -9825,135 +9954,6 @@
9825
9954
  "remotesites:audit:project:hardis"
9826
9955
  ]
9827
9956
  },
9828
- "hardis:project:configure:auth": {
9829
- "aliases": [],
9830
- "args": {},
9831
- "description": "\n## Command Behavior\n\n**Configures authentication between a Git branch and a target Salesforce org for CI/CD deployments.**\n\nThis command facilitates the setup of automated CI/CD pipelines, enabling seamless deployments from specific Git branches to designated Salesforce orgs. It supports both standard Salesforce orgs and Dev Hub configurations, catering to various enterprise deployment workflows.\n\nKey functionalities include:\n\n- **Org Selection/Login:** Guides the user to select an existing Salesforce org or log in to a new one.\n- **Git Branch Association:** Allows associating a specific Git branch with the chosen Salesforce org.\n- **Merge Target Definition:** Enables defining target Git branches into which the configured branch can merge, ensuring controlled deployment flows.\n- **Salesforce Username Configuration:** Prompts for the Salesforce username to be used by the CI server for deployments.\n- **SSL Certificate Generation:** Automatically generates an SSL certificate for secure authentication.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's implementation involves several key technical aspects:\n\n- **SF CLI Integration:** Utilizes \n@salesforce/sf-plugins-core\n for command structure and flag parsing.\n- **Interactive Prompts:** Employs the \nprompts\n library for interactive user input, guiding the configuration process.\n- **Git Integration:** Interacts with Git to retrieve branch information using \n`git().branch([\"--list\", \"-r\"])`\n.\n- **Configuration Management:** Leverages internal utilities (`checkConfig`, `getConfig`, `setConfig`, `setInConfigFile`) to read from and write to project-specific configuration files (e.g., `.sfdx-hardis.<branchName>.yml`).\n- **Salesforce CLI Execution:** Executes Salesforce CLI commands programmatically via `execSfdxJson` for org interactions.\n- **SSL Certificate Generation:** Calls `generateSSLCertificate` to create necessary SSL certificates for JWT-based authentication.\n- **WebSocket Communication:** Uses `WebSocketClient` for potential communication with external tools or processes, such as restarting the command in VS Code.\n- **Dependency Check:** Ensures the presence of `openssl` on the system, which is required for SSL certificate generation.\n",
9832
- "examples": [
9833
- "$ sf hardis:project:configure:auth"
9834
- ],
9835
- "flags": {
9836
- "json": {
9837
- "description": "Format output as json.",
9838
- "helpGroup": "GLOBAL",
9839
- "name": "json",
9840
- "allowNo": false,
9841
- "type": "boolean"
9842
- },
9843
- "flags-dir": {
9844
- "helpGroup": "GLOBAL",
9845
- "name": "flags-dir",
9846
- "summary": "Import flag values from a directory.",
9847
- "hasDynamicHelp": false,
9848
- "multiple": false,
9849
- "type": "option"
9850
- },
9851
- "devhub": {
9852
- "char": "b",
9853
- "description": "Configure project DevHub",
9854
- "name": "devhub",
9855
- "allowNo": false,
9856
- "type": "boolean"
9857
- },
9858
- "debug": {
9859
- "char": "d",
9860
- "description": "Activate debug mode (more logs)",
9861
- "name": "debug",
9862
- "allowNo": false,
9863
- "type": "boolean"
9864
- },
9865
- "websocket": {
9866
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
9867
- "name": "websocket",
9868
- "hasDynamicHelp": false,
9869
- "multiple": false,
9870
- "type": "option"
9871
- },
9872
- "skipauth": {
9873
- "description": "Skip authentication check when a default username is required",
9874
- "name": "skipauth",
9875
- "allowNo": false,
9876
- "type": "boolean"
9877
- },
9878
- "target-org": {
9879
- "aliases": [
9880
- "targetusername",
9881
- "u"
9882
- ],
9883
- "char": "o",
9884
- "deprecateAliases": true,
9885
- "name": "target-org",
9886
- "noCacheDefault": true,
9887
- "summary": "Username or alias of the target org.",
9888
- "hasDynamicHelp": true,
9889
- "multiple": false,
9890
- "type": "option"
9891
- },
9892
- "target-dev-hub": {
9893
- "aliases": [
9894
- "targetdevhubusername"
9895
- ],
9896
- "char": "v",
9897
- "deprecateAliases": true,
9898
- "name": "target-dev-hub",
9899
- "noCacheDefault": true,
9900
- "required": false,
9901
- "summary": "Username or alias of the Dev Hub org.",
9902
- "hasDynamicHelp": true,
9903
- "multiple": false,
9904
- "type": "option"
9905
- }
9906
- },
9907
- "hasDynamicHelp": true,
9908
- "hiddenAliases": [],
9909
- "id": "hardis:project:configure:auth",
9910
- "pluginAlias": "sfdx-hardis",
9911
- "pluginName": "sfdx-hardis",
9912
- "pluginType": "core",
9913
- "strict": true,
9914
- "enableJsonFlag": true,
9915
- "title": "Configure authentication",
9916
- "requiresProject": false,
9917
- "requiresDependencies": [
9918
- "openssl"
9919
- ],
9920
- "isESM": true,
9921
- "relativePath": [
9922
- "lib",
9923
- "commands",
9924
- "hardis",
9925
- "project",
9926
- "configure",
9927
- "auth.js"
9928
- ],
9929
- "aliasPermutations": [],
9930
- "permutations": [
9931
- "hardis:project:configure:auth",
9932
- "project:hardis:configure:auth",
9933
- "project:configure:hardis:auth",
9934
- "project:configure:auth:hardis",
9935
- "hardis:configure:project:auth",
9936
- "configure:hardis:project:auth",
9937
- "configure:project:hardis:auth",
9938
- "configure:project:auth:hardis",
9939
- "hardis:configure:auth:project",
9940
- "configure:hardis:auth:project",
9941
- "configure:auth:hardis:project",
9942
- "configure:auth:project:hardis",
9943
- "hardis:project:auth:configure",
9944
- "project:hardis:auth:configure",
9945
- "project:auth:hardis:configure",
9946
- "project:auth:configure:hardis",
9947
- "hardis:auth:project:configure",
9948
- "auth:hardis:project:configure",
9949
- "auth:project:hardis:configure",
9950
- "auth:project:configure:hardis",
9951
- "hardis:auth:configure:project",
9952
- "auth:hardis:configure:project",
9953
- "auth:configure:hardis:project",
9954
- "auth:configure:project:hardis"
9955
- ]
9956
- },
9957
9957
  "hardis:project:convert:profilestopermsets": {
9958
9958
  "aliases": [],
9959
9959
  "args": {},
@@ -15504,5 +15504,5 @@
15504
15504
  ]
15505
15505
  }
15506
15506
  },
15507
- "version": "6.12.6"
15507
+ "version": "6.12.7-beta202511221406.0"
15508
15508
  }
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.12.6",
6
+ "version": "6.12.7-beta202511221406.0",
7
7
  "dependencies": {
8
8
  "@actions/github": "^6.0.1",
9
9
  "@cparra/apexdocs": "^3.14.1",
@@ -16,7 +16,7 @@
16
16
  "@oclif/core": "^4.8.0",
17
17
  "@salesforce/core": "^8.23.4",
18
18
  "@salesforce/sf-plugins-core": "^11.3.12",
19
- "@slack/types": "^2.18.0",
19
+ "@slack/types": "^2.19.0",
20
20
  "@slack/web-api": "^7.12.0",
21
21
  "@supercharge/promise-pool": "^3.2.0",
22
22
  "@xmldom/xmldom": "^0.9.8",
@@ -37,10 +37,10 @@
37
37
  "extract-zip": "^2.0.1",
38
38
  "farmhash": "^4.0.2",
39
39
  "fast-xml-parser": "^4.5.3",
40
- "form-data": "^4.0.4",
40
+ "form-data": "^4.0.5",
41
41
  "fs-extra": "^11.3.2",
42
42
  "fs-readdir-recursive": "^1.1.0",
43
- "glob": "^11.0.3",
43
+ "glob": "^12.0.0",
44
44
  "he": "^1.2.0",
45
45
  "inquirer": "^10.2.2",
46
46
  "isomorphic-dompurify": "^2.32.0",
@@ -50,7 +50,7 @@
50
50
  "langchain": "^0.3.36",
51
51
  "make-fetch-happen": "^14.0.3",
52
52
  "marked": "^14.1.4",
53
- "md-to-pdf": "^5.2.4",
53
+ "md-to-pdf": "^5.2.5",
54
54
  "mega-linter-runner": "^8.8.0",
55
55
  "moment": "^2.30.1",
56
56
  "open": "^10.1.2",
@@ -75,7 +75,7 @@
75
75
  },
76
76
  "resolutions": {
77
77
  "@langchain/core": "0.3.57",
78
- "form-data": "4.0.4",
78
+ "form-data": "4.0.5",
79
79
  "tmp": "0.2.5",
80
80
  "prebuild-install/tar-fs": "2.1.4",
81
81
  "@puppeteer/browsers/tar-fs": "3.1.1"