sfdx-hardis 5.44.2-alpha202507221159.0 → 5.44.2-alpha202507221328.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/CHANGELOG.md CHANGED
@@ -11,6 +11,7 @@ Note: Can be used with `sfdx plugins:install sfdx-hardis@beta` and docker image
11
11
  - ghcr.io/hardisgroupcom/sfdx-hardis-ubuntu
12
12
  - Display commands in blue for better readability on BitBucket
13
13
  - Fix bug that did not replace existing comments on BitBucket
14
+ - Decrease docker images size
14
15
 
15
16
  ## [5.44.1] 2025-07-16
16
17
 
@@ -129,13 +129,12 @@
129
129
  "clear:cache:hardis"
130
130
  ]
131
131
  },
132
- "hardis:auth:login": {
132
+ "hardis:config:get": {
133
133
  "aliases": [],
134
134
  "args": {},
135
- "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",
135
+ "description": "Returns sfdx-hardis project config for a given level",
136
136
  "examples": [
137
- "$ sf hardis:auth:login",
138
- "CI=true sf hardis:auth:login"
137
+ "$ sf hardis:project:deploy:sources:metadata"
139
138
  ],
140
139
  "flags": {
141
140
  "json": {
@@ -153,28 +152,20 @@
153
152
  "multiple": false,
154
153
  "type": "option"
155
154
  },
156
- "instanceurl": {
157
- "char": "r",
158
- "description": "URL of org instance",
159
- "name": "instanceurl",
155
+ "level": {
156
+ "char": "l",
157
+ "description": "project,branch or user",
158
+ "name": "level",
159
+ "default": "project",
160
160
  "hasDynamicHelp": false,
161
161
  "multiple": false,
162
+ "options": [
163
+ "project",
164
+ "branch",
165
+ "user"
166
+ ],
162
167
  "type": "option"
163
168
  },
164
- "devhub": {
165
- "char": "h",
166
- "description": "Also connect associated DevHub",
167
- "name": "devhub",
168
- "allowNo": false,
169
- "type": "boolean"
170
- },
171
- "scratchorg": {
172
- "char": "s",
173
- "description": "Scratch org",
174
- "name": "scratchorg",
175
- "allowNo": false,
176
- "type": "boolean"
177
- },
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:auth:login",
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": "Login",
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
- "auth",
215
- "login.js"
205
+ "config",
206
+ "get.js"
216
207
  ],
217
208
  "aliasPermutations": [],
218
209
  "permutations": [
219
- "hardis:auth:login",
220
- "auth:hardis:login",
221
- "auth:login:hardis",
222
- "hardis:login:auth",
223
- "login:hardis:auth",
224
- "login:auth: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": {
@@ -5738,6 +5738,121 @@
5738
5738
  "import:files:org:hardis"
5739
5739
  ]
5740
5740
  },
5741
+ "hardis:org:fix:listviewmine": {
5742
+ "aliases": [],
5743
+ "args": {},
5744
+ "description": "Fix listviews whose scope Mine has been replaced by Everything\n\n[![Invalid scope:Mine, not allowed ? Deploy your ListViews anyway !](https://github.com/hardisgroupcom/sfdx-hardis/raw/main/docs/assets/images/article-invalid-scope-mine.jpg)](https://nicolas.vuillamy.fr/invalid-scope-mine-not-allowed-deploy-your-listviews-anyway-443aceca8ac7)\n\nList of ListViews can be:\n\n- read from .sfdx-hardis.yml file in property **listViewsToSetToMine**\n- sent in argument listviews\n\nNote: property **listViewsToSetToMine** can be auto-generated by command hardis:work:save if .sfdx-hardis.yml contains the following configuration\n\n```yaml\nautoCleanTypes:\n - listViewsMine\n```\n\n- Example of sfdx-hardis.yml property `listViewsToSetToMine`:\n\n```yaml\nlistViewsToSetToMine:\n - \"force-app/main/default/objects/Operation__c/listViews/MyCurrentOperations.listView-meta.xml\"\n - \"force-app/main/default/objects/Operation__c/listViews/MyFinalizedOperations.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/Default_Opportunity_Pipeline.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/MyCurrentSubscriptions.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/MySubscriptions.listView-meta.xml\"\n - \"force-app/main/default/objects/Account/listViews/MyActivePartners.listView-meta.xml\"\n```\n\n- If manually written, this could also be:\n\n```yaml\nlistViewsToSetToMine:\n - \"Operation__c:MyCurrentOperations\"\n - \"Operation__c:MyFinalizedOperations\"\n - \"Opportunity:Default_Opportunity_Pipeline\"\n - \"Opportunity:MyCurrentSubscriptions\"\n - \"Opportunity:MySubscriptions\"\n - \"Account:MyActivePartners\"\n```\n\nTroubleshooting: if you need to run this command from an alpine-linux based docker image, use this workaround in your dockerfile:\n\n```dockerfile\n# Do not use puppeteer embedded chromium\nRUN apk add --update --no-cache chromium\nENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=\"true\"\nENV CHROMIUM_PATH=\"/usr/bin/chromium-browser\"\nENV PUPPETEER_EXECUTABLE_PATH=\"$\\{CHROMIUM_PATH}\" // remove \\ before {\n```\n",
5745
+ "examples": [
5746
+ "$ sf hardis:org:fix:listviewmine",
5747
+ "$ sf hardis:org:fix:listviewmine --listviews Opportunity:MySubscriptions,Account:MyActivePartners"
5748
+ ],
5749
+ "flags": {
5750
+ "json": {
5751
+ "description": "Format output as json.",
5752
+ "helpGroup": "GLOBAL",
5753
+ "name": "json",
5754
+ "allowNo": false,
5755
+ "type": "boolean"
5756
+ },
5757
+ "flags-dir": {
5758
+ "helpGroup": "GLOBAL",
5759
+ "name": "flags-dir",
5760
+ "summary": "Import flag values from a directory.",
5761
+ "hasDynamicHelp": false,
5762
+ "multiple": false,
5763
+ "type": "option"
5764
+ },
5765
+ "listviews": {
5766
+ "char": "l",
5767
+ "description": "Comma-separated list of listviews following format Object:ListViewName\nExample: Contact:MyContacts,Contact:MyActiveContacts,Opportunity:MYClosedOpportunities",
5768
+ "name": "listviews",
5769
+ "hasDynamicHelp": false,
5770
+ "multiple": false,
5771
+ "type": "option"
5772
+ },
5773
+ "debug": {
5774
+ "char": "d",
5775
+ "description": "Activate debug mode (more logs)",
5776
+ "name": "debug",
5777
+ "allowNo": false,
5778
+ "type": "boolean"
5779
+ },
5780
+ "websocket": {
5781
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
5782
+ "name": "websocket",
5783
+ "hasDynamicHelp": false,
5784
+ "multiple": false,
5785
+ "type": "option"
5786
+ },
5787
+ "skipauth": {
5788
+ "description": "Skip authentication check when a default username is required",
5789
+ "name": "skipauth",
5790
+ "allowNo": false,
5791
+ "type": "boolean"
5792
+ },
5793
+ "target-org": {
5794
+ "aliases": [
5795
+ "targetusername",
5796
+ "u"
5797
+ ],
5798
+ "char": "o",
5799
+ "deprecateAliases": true,
5800
+ "name": "target-org",
5801
+ "noCacheDefault": true,
5802
+ "required": true,
5803
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
5804
+ "hasDynamicHelp": true,
5805
+ "multiple": false,
5806
+ "type": "option"
5807
+ }
5808
+ },
5809
+ "hasDynamicHelp": true,
5810
+ "hiddenAliases": [],
5811
+ "id": "hardis:org:fix:listviewmine",
5812
+ "pluginAlias": "sfdx-hardis",
5813
+ "pluginName": "sfdx-hardis",
5814
+ "pluginType": "core",
5815
+ "strict": true,
5816
+ "enableJsonFlag": true,
5817
+ "title": "Fix listviews with ",
5818
+ "requiresProject": true,
5819
+ "isESM": true,
5820
+ "relativePath": [
5821
+ "lib",
5822
+ "commands",
5823
+ "hardis",
5824
+ "org",
5825
+ "fix",
5826
+ "listviewmine.js"
5827
+ ],
5828
+ "aliasPermutations": [],
5829
+ "permutations": [
5830
+ "hardis:org:fix:listviewmine",
5831
+ "org:hardis:fix:listviewmine",
5832
+ "org:fix:hardis:listviewmine",
5833
+ "org:fix:listviewmine:hardis",
5834
+ "hardis:fix:org:listviewmine",
5835
+ "fix:hardis:org:listviewmine",
5836
+ "fix:org:hardis:listviewmine",
5837
+ "fix:org:listviewmine:hardis",
5838
+ "hardis:fix:listviewmine:org",
5839
+ "fix:hardis:listviewmine:org",
5840
+ "fix:listviewmine:hardis:org",
5841
+ "fix:listviewmine:org:hardis",
5842
+ "hardis:org:listviewmine:fix",
5843
+ "org:hardis:listviewmine:fix",
5844
+ "org:listviewmine:hardis:fix",
5845
+ "org:listviewmine:fix:hardis",
5846
+ "hardis:listviewmine:org:fix",
5847
+ "listviewmine:hardis:org:fix",
5848
+ "listviewmine:org:hardis:fix",
5849
+ "listviewmine:org:fix:hardis",
5850
+ "hardis:listviewmine:fix:org",
5851
+ "listviewmine:hardis:fix:org",
5852
+ "listviewmine:fix:hardis:org",
5853
+ "listviewmine:fix:org:hardis"
5854
+ ]
5855
+ },
5741
5856
  "hardis:org:diagnose:audittrail": {
5742
5857
  "aliases": [],
5743
5858
  "args": {},
@@ -6887,121 +7002,6 @@
6887
7002
  "unusedusers:diagnose:org:hardis"
6888
7003
  ]
6889
7004
  },
6890
- "hardis:org:fix:listviewmine": {
6891
- "aliases": [],
6892
- "args": {},
6893
- "description": "Fix listviews whose scope Mine has been replaced by Everything\n\n[![Invalid scope:Mine, not allowed ? Deploy your ListViews anyway !](https://github.com/hardisgroupcom/sfdx-hardis/raw/main/docs/assets/images/article-invalid-scope-mine.jpg)](https://nicolas.vuillamy.fr/invalid-scope-mine-not-allowed-deploy-your-listviews-anyway-443aceca8ac7)\n\nList of ListViews can be:\n\n- read from .sfdx-hardis.yml file in property **listViewsToSetToMine**\n- sent in argument listviews\n\nNote: property **listViewsToSetToMine** can be auto-generated by command hardis:work:save if .sfdx-hardis.yml contains the following configuration\n\n```yaml\nautoCleanTypes:\n - listViewsMine\n```\n\n- Example of sfdx-hardis.yml property `listViewsToSetToMine`:\n\n```yaml\nlistViewsToSetToMine:\n - \"force-app/main/default/objects/Operation__c/listViews/MyCurrentOperations.listView-meta.xml\"\n - \"force-app/main/default/objects/Operation__c/listViews/MyFinalizedOperations.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/Default_Opportunity_Pipeline.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/MyCurrentSubscriptions.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/MySubscriptions.listView-meta.xml\"\n - \"force-app/main/default/objects/Account/listViews/MyActivePartners.listView-meta.xml\"\n```\n\n- If manually written, this could also be:\n\n```yaml\nlistViewsToSetToMine:\n - \"Operation__c:MyCurrentOperations\"\n - \"Operation__c:MyFinalizedOperations\"\n - \"Opportunity:Default_Opportunity_Pipeline\"\n - \"Opportunity:MyCurrentSubscriptions\"\n - \"Opportunity:MySubscriptions\"\n - \"Account:MyActivePartners\"\n```\n\nTroubleshooting: if you need to run this command from an alpine-linux based docker image, use this workaround in your dockerfile:\n\n```dockerfile\n# Do not use puppeteer embedded chromium\nRUN apk add --update --no-cache chromium\nENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=\"true\"\nENV CHROMIUM_PATH=\"/usr/bin/chromium-browser\"\nENV PUPPETEER_EXECUTABLE_PATH=\"$\\{CHROMIUM_PATH}\" // remove \\ before {\n```\n",
6894
- "examples": [
6895
- "$ sf hardis:org:fix:listviewmine",
6896
- "$ sf hardis:org:fix:listviewmine --listviews Opportunity:MySubscriptions,Account:MyActivePartners"
6897
- ],
6898
- "flags": {
6899
- "json": {
6900
- "description": "Format output as json.",
6901
- "helpGroup": "GLOBAL",
6902
- "name": "json",
6903
- "allowNo": false,
6904
- "type": "boolean"
6905
- },
6906
- "flags-dir": {
6907
- "helpGroup": "GLOBAL",
6908
- "name": "flags-dir",
6909
- "summary": "Import flag values from a directory.",
6910
- "hasDynamicHelp": false,
6911
- "multiple": false,
6912
- "type": "option"
6913
- },
6914
- "listviews": {
6915
- "char": "l",
6916
- "description": "Comma-separated list of listviews following format Object:ListViewName\nExample: Contact:MyContacts,Contact:MyActiveContacts,Opportunity:MYClosedOpportunities",
6917
- "name": "listviews",
6918
- "hasDynamicHelp": false,
6919
- "multiple": false,
6920
- "type": "option"
6921
- },
6922
- "debug": {
6923
- "char": "d",
6924
- "description": "Activate debug mode (more logs)",
6925
- "name": "debug",
6926
- "allowNo": false,
6927
- "type": "boolean"
6928
- },
6929
- "websocket": {
6930
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
6931
- "name": "websocket",
6932
- "hasDynamicHelp": false,
6933
- "multiple": false,
6934
- "type": "option"
6935
- },
6936
- "skipauth": {
6937
- "description": "Skip authentication check when a default username is required",
6938
- "name": "skipauth",
6939
- "allowNo": false,
6940
- "type": "boolean"
6941
- },
6942
- "target-org": {
6943
- "aliases": [
6944
- "targetusername",
6945
- "u"
6946
- ],
6947
- "char": "o",
6948
- "deprecateAliases": true,
6949
- "name": "target-org",
6950
- "noCacheDefault": true,
6951
- "required": true,
6952
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
6953
- "hasDynamicHelp": true,
6954
- "multiple": false,
6955
- "type": "option"
6956
- }
6957
- },
6958
- "hasDynamicHelp": true,
6959
- "hiddenAliases": [],
6960
- "id": "hardis:org:fix:listviewmine",
6961
- "pluginAlias": "sfdx-hardis",
6962
- "pluginName": "sfdx-hardis",
6963
- "pluginType": "core",
6964
- "strict": true,
6965
- "enableJsonFlag": true,
6966
- "title": "Fix listviews with ",
6967
- "requiresProject": true,
6968
- "isESM": true,
6969
- "relativePath": [
6970
- "lib",
6971
- "commands",
6972
- "hardis",
6973
- "org",
6974
- "fix",
6975
- "listviewmine.js"
6976
- ],
6977
- "aliasPermutations": [],
6978
- "permutations": [
6979
- "hardis:org:fix:listviewmine",
6980
- "org:hardis:fix:listviewmine",
6981
- "org:fix:hardis:listviewmine",
6982
- "org:fix:listviewmine:hardis",
6983
- "hardis:fix:org:listviewmine",
6984
- "fix:hardis:org:listviewmine",
6985
- "fix:org:hardis:listviewmine",
6986
- "fix:org:listviewmine:hardis",
6987
- "hardis:fix:listviewmine:org",
6988
- "fix:hardis:listviewmine:org",
6989
- "fix:listviewmine:hardis:org",
6990
- "fix:listviewmine:org:hardis",
6991
- "hardis:org:listviewmine:fix",
6992
- "org:hardis:listviewmine:fix",
6993
- "org:listviewmine:hardis:fix",
6994
- "org:listviewmine:fix:hardis",
6995
- "hardis:listviewmine:org:fix",
6996
- "listviewmine:hardis:org:fix",
6997
- "listviewmine:org:hardis:fix",
6998
- "listviewmine:org:fix:hardis",
6999
- "hardis:listviewmine:fix:org",
7000
- "listviewmine:hardis:fix:org",
7001
- "listviewmine:fix:hardis:org",
7002
- "listviewmine:fix:org:hardis"
7003
- ]
7004
- },
7005
7005
  "hardis:org:generate:packagexmlfull": {
7006
7006
  "aliases": [],
7007
7007
  "args": {},
@@ -14843,5 +14843,5 @@
14843
14843
  ]
14844
14844
  }
14845
14845
  },
14846
- "version": "5.44.2-alpha202507221159.0"
14846
+ "version": "5.44.2-alpha202507221328.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.2-alpha202507221159.0",
6
+ "version": "5.44.2-alpha202507221328.0",
7
7
  "dependencies": {
8
8
  "@actions/github": "^6.0.1",
9
9
  "@cparra/apexdocs": "^3.14.0",