sfdx-hardis 5.44.1 → 5.44.2-alpha202507220945.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.
@@ -57,13 +57,12 @@
57
57
  "world:hello"
58
58
  ]
59
59
  },
60
- "hardis:auth:login": {
60
+ "hardis:cache:clear": {
61
61
  "aliases": [],
62
62
  "args": {},
63
- "description": "\nLogins to a Salesforce org from CI/CD workflows.\n\nWill use the variables and files defined by configuration commands:\n\n- CI/CD repos: [Configure Org CI Authentication](https://sfdx-hardis.cloudity.com/hardis/project/configure/auth/)\n- Monitoring repos: [Configure Org Monitoring](https://sfdx-hardis.cloudity.com/hardis/org/configure/monitoring/)\n\nIf you have a technical org (for example to call Agentforce from another org, you can define variable SFDX_AUTH_URL_TECHNICAL_ORG and it will authenticate it with alias TECHNICAL_ORG)\n\nYou can get SFDX_AUTH_URL_TECHNICAL_ORG value by running the command: `sf org display --verbose --json` and copy the value of the field `sfdxAuthUrl` in the output.\n",
63
+ "description": "Clear cache generated by sfdx-hardis",
64
64
  "examples": [
65
- "$ sf hardis:auth:login",
66
- "CI=true sf hardis:auth:login"
65
+ "$ sf hardis:cache:clear"
67
66
  ],
68
67
  "flags": {
69
68
  "json": {
@@ -81,28 +80,6 @@
81
80
  "multiple": false,
82
81
  "type": "option"
83
82
  },
84
- "instanceurl": {
85
- "char": "r",
86
- "description": "URL of org instance",
87
- "name": "instanceurl",
88
- "hasDynamicHelp": false,
89
- "multiple": false,
90
- "type": "option"
91
- },
92
- "devhub": {
93
- "char": "h",
94
- "description": "Also connect associated DevHub",
95
- "name": "devhub",
96
- "allowNo": false,
97
- "type": "boolean"
98
- },
99
- "scratchorg": {
100
- "char": "s",
101
- "description": "Scratch org",
102
- "name": "scratchorg",
103
- "allowNo": false,
104
- "type": "boolean"
105
- },
106
83
  "debug": {
107
84
  "char": "d",
108
85
  "description": "Activate debug mode (more logs)",
@@ -126,38 +103,38 @@
126
103
  },
127
104
  "hasDynamicHelp": false,
128
105
  "hiddenAliases": [],
129
- "id": "hardis:auth:login",
106
+ "id": "hardis:cache:clear",
130
107
  "pluginAlias": "sfdx-hardis",
131
108
  "pluginName": "sfdx-hardis",
132
109
  "pluginType": "core",
133
110
  "strict": true,
134
111
  "enableJsonFlag": true,
135
- "title": "Login",
112
+ "title": "Clear sfdx-hardis cache",
136
113
  "requiresProject": false,
137
114
  "isESM": true,
138
115
  "relativePath": [
139
116
  "lib",
140
117
  "commands",
141
118
  "hardis",
142
- "auth",
143
- "login.js"
119
+ "cache",
120
+ "clear.js"
144
121
  ],
145
122
  "aliasPermutations": [],
146
123
  "permutations": [
147
- "hardis:auth:login",
148
- "auth:hardis:login",
149
- "auth:login:hardis",
150
- "hardis:login:auth",
151
- "login:hardis:auth",
152
- "login:auth:hardis"
124
+ "hardis:cache:clear",
125
+ "cache:hardis:clear",
126
+ "cache:clear:hardis",
127
+ "hardis:clear:cache",
128
+ "clear:hardis:cache",
129
+ "clear:cache:hardis"
153
130
  ]
154
131
  },
155
- "hardis:cache:clear": {
132
+ "hardis:config:get": {
156
133
  "aliases": [],
157
134
  "args": {},
158
- "description": "Clear cache generated by sfdx-hardis",
135
+ "description": "Returns sfdx-hardis project config for a given level",
159
136
  "examples": [
160
- "$ sf hardis:cache:clear"
137
+ "$ sf hardis:project:deploy:sources:metadata"
161
138
  ],
162
139
  "flags": {
163
140
  "json": {
@@ -175,6 +152,20 @@
175
152
  "multiple": false,
176
153
  "type": "option"
177
154
  },
155
+ "level": {
156
+ "char": "l",
157
+ "description": "project,branch or user",
158
+ "name": "level",
159
+ "default": "project",
160
+ "hasDynamicHelp": false,
161
+ "multiple": false,
162
+ "options": [
163
+ "project",
164
+ "branch",
165
+ "user"
166
+ ],
167
+ "type": "option"
168
+ },
178
169
  "debug": {
179
170
  "char": "d",
180
171
  "description": "Activate debug mode (more logs)",
@@ -198,38 +189,39 @@
198
189
  },
199
190
  "hasDynamicHelp": false,
200
191
  "hiddenAliases": [],
201
- "id": "hardis:cache:clear",
192
+ "id": "hardis:config:get",
202
193
  "pluginAlias": "sfdx-hardis",
203
194
  "pluginName": "sfdx-hardis",
204
195
  "pluginType": "core",
205
196
  "strict": true,
206
197
  "enableJsonFlag": true,
207
- "title": "Clear sfdx-hardis cache",
198
+ "title": "Deploy metadata sources to org",
208
199
  "requiresProject": false,
209
200
  "isESM": true,
210
201
  "relativePath": [
211
202
  "lib",
212
203
  "commands",
213
204
  "hardis",
214
- "cache",
215
- "clear.js"
205
+ "config",
206
+ "get.js"
216
207
  ],
217
208
  "aliasPermutations": [],
218
209
  "permutations": [
219
- "hardis:cache:clear",
220
- "cache:hardis:clear",
221
- "cache:clear:hardis",
222
- "hardis:clear:cache",
223
- "clear:hardis:cache",
224
- "clear:cache:hardis"
210
+ "hardis:config:get",
211
+ "config:hardis:get",
212
+ "config:get:hardis",
213
+ "hardis:get:config",
214
+ "get:hardis:config",
215
+ "get:config:hardis"
225
216
  ]
226
217
  },
227
- "hardis:config:get": {
218
+ "hardis:auth:login": {
228
219
  "aliases": [],
229
220
  "args": {},
230
- "description": "Returns sfdx-hardis project config for a given level",
221
+ "description": "\nLogins to a Salesforce org from CI/CD workflows.\n\nWill use the variables and files defined by configuration commands:\n\n- CI/CD repos: [Configure Org CI Authentication](https://sfdx-hardis.cloudity.com/hardis/project/configure/auth/)\n- Monitoring repos: [Configure Org Monitoring](https://sfdx-hardis.cloudity.com/hardis/org/configure/monitoring/)\n\nIf you have a technical org (for example to call Agentforce from another org, you can define variable SFDX_AUTH_URL_TECHNICAL_ORG and it will authenticate it with alias TECHNICAL_ORG)\n\nYou can get SFDX_AUTH_URL_TECHNICAL_ORG value by running the command: `sf org display --verbose --json` and copy the value of the field `sfdxAuthUrl` in the output.\n",
231
222
  "examples": [
232
- "$ sf hardis:project:deploy:sources:metadata"
223
+ "$ sf hardis:auth:login",
224
+ "CI=true sf hardis:auth:login"
233
225
  ],
234
226
  "flags": {
235
227
  "json": {
@@ -247,20 +239,28 @@
247
239
  "multiple": false,
248
240
  "type": "option"
249
241
  },
250
- "level": {
251
- "char": "l",
252
- "description": "project,branch or user",
253
- "name": "level",
254
- "default": "project",
242
+ "instanceurl": {
243
+ "char": "r",
244
+ "description": "URL of org instance",
245
+ "name": "instanceurl",
255
246
  "hasDynamicHelp": false,
256
247
  "multiple": false,
257
- "options": [
258
- "project",
259
- "branch",
260
- "user"
261
- ],
262
248
  "type": "option"
263
249
  },
250
+ "devhub": {
251
+ "char": "h",
252
+ "description": "Also connect associated DevHub",
253
+ "name": "devhub",
254
+ "allowNo": false,
255
+ "type": "boolean"
256
+ },
257
+ "scratchorg": {
258
+ "char": "s",
259
+ "description": "Scratch org",
260
+ "name": "scratchorg",
261
+ "allowNo": false,
262
+ "type": "boolean"
263
+ },
264
264
  "debug": {
265
265
  "char": "d",
266
266
  "description": "Activate debug mode (more logs)",
@@ -284,30 +284,30 @@
284
284
  },
285
285
  "hasDynamicHelp": false,
286
286
  "hiddenAliases": [],
287
- "id": "hardis:config:get",
287
+ "id": "hardis:auth:login",
288
288
  "pluginAlias": "sfdx-hardis",
289
289
  "pluginName": "sfdx-hardis",
290
290
  "pluginType": "core",
291
291
  "strict": true,
292
292
  "enableJsonFlag": true,
293
- "title": "Deploy metadata sources to org",
293
+ "title": "Login",
294
294
  "requiresProject": false,
295
295
  "isESM": true,
296
296
  "relativePath": [
297
297
  "lib",
298
298
  "commands",
299
299
  "hardis",
300
- "config",
301
- "get.js"
300
+ "auth",
301
+ "login.js"
302
302
  ],
303
303
  "aliasPermutations": [],
304
304
  "permutations": [
305
- "hardis:config:get",
306
- "config:hardis:get",
307
- "config:get:hardis",
308
- "hardis:get:config",
309
- "get:hardis:config",
310
- "get:config:hardis"
305
+ "hardis:auth:login",
306
+ "auth:hardis:login",
307
+ "auth:login:hardis",
308
+ "hardis:login:auth",
309
+ "login:hardis:auth",
310
+ "login:auth:hardis"
311
311
  ]
312
312
  },
313
313
  "hardis:doc:fieldusage": {
@@ -9383,6 +9383,109 @@
9383
9383
  "auth:configure:project:hardis"
9384
9384
  ]
9385
9385
  },
9386
+ "hardis:project:convert:profilestopermsets": {
9387
+ "aliases": [],
9388
+ "args": {},
9389
+ "description": "Creates permission sets from existing profiles, with id PS_PROFILENAME",
9390
+ "examples": [
9391
+ "$ sf hardis:project:convert:profilestopermsets"
9392
+ ],
9393
+ "flags": {
9394
+ "json": {
9395
+ "description": "Format output as json.",
9396
+ "helpGroup": "GLOBAL",
9397
+ "name": "json",
9398
+ "allowNo": false,
9399
+ "type": "boolean"
9400
+ },
9401
+ "flags-dir": {
9402
+ "helpGroup": "GLOBAL",
9403
+ "name": "flags-dir",
9404
+ "summary": "Import flag values from a directory.",
9405
+ "hasDynamicHelp": false,
9406
+ "multiple": false,
9407
+ "type": "option"
9408
+ },
9409
+ "except": {
9410
+ "char": "e",
9411
+ "description": "List of filters",
9412
+ "name": "except",
9413
+ "default": [],
9414
+ "hasDynamicHelp": false,
9415
+ "multiple": true,
9416
+ "type": "option"
9417
+ },
9418
+ "debug": {
9419
+ "char": "d",
9420
+ "description": "Activate debug mode (more logs)",
9421
+ "name": "debug",
9422
+ "allowNo": false,
9423
+ "type": "boolean"
9424
+ },
9425
+ "websocket": {
9426
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
9427
+ "name": "websocket",
9428
+ "hasDynamicHelp": false,
9429
+ "multiple": false,
9430
+ "type": "option"
9431
+ },
9432
+ "skipauth": {
9433
+ "description": "Skip authentication check when a default username is required",
9434
+ "name": "skipauth",
9435
+ "allowNo": false,
9436
+ "type": "boolean"
9437
+ }
9438
+ },
9439
+ "hasDynamicHelp": false,
9440
+ "hiddenAliases": [],
9441
+ "id": "hardis:project:convert:profilestopermsets",
9442
+ "pluginAlias": "sfdx-hardis",
9443
+ "pluginName": "sfdx-hardis",
9444
+ "pluginType": "core",
9445
+ "strict": true,
9446
+ "enableJsonFlag": true,
9447
+ "title": "Convert Profiles into Permission Sets",
9448
+ "requiresProject": true,
9449
+ "requiresSfdxPlugins": [
9450
+ "shane-sfdx-plugins"
9451
+ ],
9452
+ "isESM": true,
9453
+ "relativePath": [
9454
+ "lib",
9455
+ "commands",
9456
+ "hardis",
9457
+ "project",
9458
+ "convert",
9459
+ "profilestopermsets.js"
9460
+ ],
9461
+ "aliasPermutations": [],
9462
+ "permutations": [
9463
+ "hardis:project:convert:profilestopermsets",
9464
+ "project:hardis:convert:profilestopermsets",
9465
+ "project:convert:hardis:profilestopermsets",
9466
+ "project:convert:profilestopermsets:hardis",
9467
+ "hardis:convert:project:profilestopermsets",
9468
+ "convert:hardis:project:profilestopermsets",
9469
+ "convert:project:hardis:profilestopermsets",
9470
+ "convert:project:profilestopermsets:hardis",
9471
+ "hardis:convert:profilestopermsets:project",
9472
+ "convert:hardis:profilestopermsets:project",
9473
+ "convert:profilestopermsets:hardis:project",
9474
+ "convert:profilestopermsets:project:hardis",
9475
+ "hardis:project:profilestopermsets:convert",
9476
+ "project:hardis:profilestopermsets:convert",
9477
+ "project:profilestopermsets:hardis:convert",
9478
+ "project:profilestopermsets:convert:hardis",
9479
+ "hardis:profilestopermsets:project:convert",
9480
+ "profilestopermsets:hardis:project:convert",
9481
+ "profilestopermsets:project:hardis:convert",
9482
+ "profilestopermsets:project:convert:hardis",
9483
+ "hardis:profilestopermsets:convert:project",
9484
+ "profilestopermsets:hardis:convert:project",
9485
+ "profilestopermsets:convert:hardis:project",
9486
+ "profilestopermsets:convert:project:hardis"
9487
+ ]
9488
+ },
9386
9489
  "hardis:project:clean:emptyitems": {
9387
9490
  "aliases": [],
9388
9491
  "args": {},
@@ -10868,109 +10971,6 @@
10868
10971
  "xml:clean:project:hardis"
10869
10972
  ]
10870
10973
  },
10871
- "hardis:project:convert:profilestopermsets": {
10872
- "aliases": [],
10873
- "args": {},
10874
- "description": "Creates permission sets from existing profiles, with id PS_PROFILENAME",
10875
- "examples": [
10876
- "$ sf hardis:project:convert:profilestopermsets"
10877
- ],
10878
- "flags": {
10879
- "json": {
10880
- "description": "Format output as json.",
10881
- "helpGroup": "GLOBAL",
10882
- "name": "json",
10883
- "allowNo": false,
10884
- "type": "boolean"
10885
- },
10886
- "flags-dir": {
10887
- "helpGroup": "GLOBAL",
10888
- "name": "flags-dir",
10889
- "summary": "Import flag values from a directory.",
10890
- "hasDynamicHelp": false,
10891
- "multiple": false,
10892
- "type": "option"
10893
- },
10894
- "except": {
10895
- "char": "e",
10896
- "description": "List of filters",
10897
- "name": "except",
10898
- "default": [],
10899
- "hasDynamicHelp": false,
10900
- "multiple": true,
10901
- "type": "option"
10902
- },
10903
- "debug": {
10904
- "char": "d",
10905
- "description": "Activate debug mode (more logs)",
10906
- "name": "debug",
10907
- "allowNo": false,
10908
- "type": "boolean"
10909
- },
10910
- "websocket": {
10911
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
10912
- "name": "websocket",
10913
- "hasDynamicHelp": false,
10914
- "multiple": false,
10915
- "type": "option"
10916
- },
10917
- "skipauth": {
10918
- "description": "Skip authentication check when a default username is required",
10919
- "name": "skipauth",
10920
- "allowNo": false,
10921
- "type": "boolean"
10922
- }
10923
- },
10924
- "hasDynamicHelp": false,
10925
- "hiddenAliases": [],
10926
- "id": "hardis:project:convert:profilestopermsets",
10927
- "pluginAlias": "sfdx-hardis",
10928
- "pluginName": "sfdx-hardis",
10929
- "pluginType": "core",
10930
- "strict": true,
10931
- "enableJsonFlag": true,
10932
- "title": "Convert Profiles into Permission Sets",
10933
- "requiresProject": true,
10934
- "requiresSfdxPlugins": [
10935
- "shane-sfdx-plugins"
10936
- ],
10937
- "isESM": true,
10938
- "relativePath": [
10939
- "lib",
10940
- "commands",
10941
- "hardis",
10942
- "project",
10943
- "convert",
10944
- "profilestopermsets.js"
10945
- ],
10946
- "aliasPermutations": [],
10947
- "permutations": [
10948
- "hardis:project:convert:profilestopermsets",
10949
- "project:hardis:convert:profilestopermsets",
10950
- "project:convert:hardis:profilestopermsets",
10951
- "project:convert:profilestopermsets:hardis",
10952
- "hardis:convert:project:profilestopermsets",
10953
- "convert:hardis:project:profilestopermsets",
10954
- "convert:project:hardis:profilestopermsets",
10955
- "convert:project:profilestopermsets:hardis",
10956
- "hardis:convert:profilestopermsets:project",
10957
- "convert:hardis:profilestopermsets:project",
10958
- "convert:profilestopermsets:hardis:project",
10959
- "convert:profilestopermsets:project:hardis",
10960
- "hardis:project:profilestopermsets:convert",
10961
- "project:hardis:profilestopermsets:convert",
10962
- "project:profilestopermsets:hardis:convert",
10963
- "project:profilestopermsets:convert:hardis",
10964
- "hardis:profilestopermsets:project:convert",
10965
- "profilestopermsets:hardis:project:convert",
10966
- "profilestopermsets:project:hardis:convert",
10967
- "profilestopermsets:project:convert:hardis",
10968
- "hardis:profilestopermsets:convert:project",
10969
- "profilestopermsets:hardis:convert:project",
10970
- "profilestopermsets:convert:hardis:project",
10971
- "profilestopermsets:convert:project:hardis"
10972
- ]
10973
- },
10974
10974
  "hardis:project:deploy:notify": {
10975
10975
  "aliases": [],
10976
10976
  "args": {},
@@ -14843,5 +14843,5 @@
14843
14843
  ]
14844
14844
  }
14845
14845
  },
14846
- "version": "5.44.1"
14846
+ "version": "5.44.2-alpha202507220945.0"
14847
14847
  }
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": "5.44.1",
6
+ "version": "5.44.2-alpha202507220945.0",
7
7
  "dependencies": {
8
8
  "@actions/github": "^6.0.1",
9
9
  "@cparra/apexdocs": "^3.14.0",
@@ -13,8 +13,8 @@
13
13
  "@langchain/core": "^0.3.57",
14
14
  "@langchain/google-genai": "^0.2.10",
15
15
  "@langchain/ollama": "^0.2.1",
16
- "@oclif/core": "^4.5.0",
17
- "@salesforce/core": "^8.17.0",
16
+ "@oclif/core": "^4.5.1",
17
+ "@salesforce/core": "^8.18.1",
18
18
  "@salesforce/sf-plugins-core": "^11.3.12",
19
19
  "@slack/types": "^2.15.0",
20
20
  "@slack/web-api": "^7.9.3",
@@ -44,7 +44,7 @@
44
44
  "glob": "^11.0.3",
45
45
  "he": "^1.2.0",
46
46
  "inquirer": "^10.2.2",
47
- "isomorphic-dompurify": "^2.25.0",
47
+ "isomorphic-dompurify": "^2.26.0",
48
48
  "jira-client": "^8.2.2",
49
49
  "js-yaml": "^4.1.0",
50
50
  "jsdoc-to-markdown": "^9.1.1",
@@ -78,7 +78,7 @@
78
78
  "@langchain/core": "0.3.57"
79
79
  },
80
80
  "devDependencies": {
81
- "@oclif/plugin-command-snapshot": "^5.3.2",
81
+ "@oclif/plugin-command-snapshot": "^5.3.4",
82
82
  "@salesforce/cli-plugins-testkit": "^5.3.39",
83
83
  "@salesforce/dev-config": "^4.3.1",
84
84
  "@salesforce/dev-scripts": "^10",
@@ -103,7 +103,7 @@
103
103
  "@types/ws": "^8.18.1",
104
104
  "@types/xml2js": "^0.4.14",
105
105
  "eslint-plugin-sf-plugin": "^1.20.27",
106
- "oclif": "^4.19.0",
106
+ "oclif": "^4.21.0",
107
107
  "ts-node": "^10.9.2",
108
108
  "typescript": "^5.8.3"
109
109
  },