sfdx-hardis 5.34.0 → 5.34.2-beta202505180037.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 +15 -0
- package/lib/commands/hardis/doc/project2markdown.d.ts +2 -1
- package/lib/commands/hardis/doc/project2markdown.js +66 -48
- package/lib/commands/hardis/doc/project2markdown.js.map +1 -1
- package/lib/common/aiProvider/index.js +6 -1
- package/lib/common/aiProvider/index.js.map +1 -1
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PACKAGE.d.ts +3 -0
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PACKAGE.js +54 -0
- package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PACKAGE.js.map +1 -0
- package/lib/common/aiProvider/promptTemplates/index.js +2 -0
- package/lib/common/aiProvider/promptTemplates/index.js.map +1 -1
- package/lib/common/aiProvider/promptTemplates/types.d.ts +1 -0
- package/lib/common/aiProvider/promptTemplates.d.ts +1 -1
- package/lib/common/aiProvider/promptTemplates.js +7 -1
- package/lib/common/aiProvider/promptTemplates.js.map +1 -1
- package/lib/common/aiProvider/utils.js +7 -0
- package/lib/common/aiProvider/utils.js.map +1 -1
- package/lib/common/docBuilder/docBuilderPackage.d.ts +10 -0
- package/lib/common/docBuilder/docBuilderPackage.js +41 -0
- package/lib/common/docBuilder/docBuilderPackage.js.map +1 -0
- package/lib/common/docBuilder/docBuilderPermissionSet.js +6 -1
- package/lib/common/docBuilder/docBuilderPermissionSet.js.map +1 -1
- package/lib/common/docBuilder/docBuilderProfile.d.ts +1 -0
- package/lib/common/docBuilder/docBuilderProfile.js +39 -12
- package/lib/common/docBuilder/docBuilderProfile.js.map +1 -1
- package/lib/common/docBuilder/docBuilderRoot.js +27 -8
- package/lib/common/docBuilder/docBuilderRoot.js.map +1 -1
- package/lib/common/docBuilder/docUtils.d.ts +1 -0
- package/lib/common/docBuilder/docUtils.js +32 -2
- package/lib/common/docBuilder/docUtils.js.map +1 -1
- package/lib/common/utils/flowVisualiser/nodeFormatUtils.js +1 -1
- package/lib/common/utils/flowVisualiser/nodeFormatUtils.js.map +1 -1
- package/lib/common/utils/index.js +15 -0
- package/lib/common/utils/index.js.map +1 -1
- package/lib/common/utils/markdownUtils.d.ts +1 -0
- package/lib/common/utils/markdownUtils.js +22 -0
- package/lib/common/utils/markdownUtils.js.map +1 -1
- package/lib/common/utils/mermaidUtils.js +3 -2
- package/lib/common/utils/mermaidUtils.js.map +1 -1
- package/oclif.lock +32 -52
- package/oclif.manifest.json +164 -164
- package/package.json +6 -6
package/oclif.lock
CHANGED
|
@@ -1865,10 +1865,10 @@
|
|
|
1865
1865
|
zod "^3.22.4"
|
|
1866
1866
|
zod-to-json-schema "^3.22.4"
|
|
1867
1867
|
|
|
1868
|
-
"@langchain/community@^0.3.
|
|
1869
|
-
version "0.3.
|
|
1870
|
-
resolved "https://registry.yarnpkg.com/@langchain/community/-/community-0.3.
|
|
1871
|
-
integrity sha512-
|
|
1868
|
+
"@langchain/community@^0.3.43":
|
|
1869
|
+
version "0.3.43"
|
|
1870
|
+
resolved "https://registry.yarnpkg.com/@langchain/community/-/community-0.3.43.tgz#4d8d1254470a39599f115156c7cb682e5cdaf55b"
|
|
1871
|
+
integrity sha512-rTXuKflXyftKFw2fAl5YbkfMcwsIcot8tpUy50asXxbe3eGpQimIFXZsLeaBlftjQPadgnBMOr3Wn1xX8kfOzA==
|
|
1872
1872
|
dependencies:
|
|
1873
1873
|
"@langchain/openai" ">=0.2.0 <0.6.0"
|
|
1874
1874
|
binary-extensions "^2.2.0"
|
|
@@ -1876,7 +1876,7 @@
|
|
|
1876
1876
|
flat "^5.0.2"
|
|
1877
1877
|
js-yaml "^4.1.0"
|
|
1878
1878
|
langchain ">=0.2.3 <0.3.0 || >=0.3.4 <0.4.0"
|
|
1879
|
-
langsmith "^0.3.
|
|
1879
|
+
langsmith "^0.3.29"
|
|
1880
1880
|
uuid "^10.0.0"
|
|
1881
1881
|
zod "^3.22.3"
|
|
1882
1882
|
zod-to-json-schema "^3.22.5"
|
|
@@ -1899,10 +1899,10 @@
|
|
|
1899
1899
|
zod "^3.22.4"
|
|
1900
1900
|
zod-to-json-schema "^3.22.3"
|
|
1901
1901
|
|
|
1902
|
-
"@langchain/google-genai@^0.2.
|
|
1903
|
-
version "0.2.
|
|
1904
|
-
resolved "https://registry.yarnpkg.com/@langchain/google-genai/-/google-genai-0.2.
|
|
1905
|
-
integrity sha512-
|
|
1902
|
+
"@langchain/google-genai@^0.2.9":
|
|
1903
|
+
version "0.2.9"
|
|
1904
|
+
resolved "https://registry.yarnpkg.com/@langchain/google-genai/-/google-genai-0.2.9.tgz#22f4517372949d0bb7f4e18ecb3a622d779e4431"
|
|
1905
|
+
integrity sha512-AcHAD0VX8Qci5ApLYd6ojMTJUk4ZTeMQrsOYsOVv09sy3FtrLHkRxZXkb0qgtDS9EJ+w40904B+s6s2H9+HZmQ==
|
|
1906
1906
|
dependencies:
|
|
1907
1907
|
"@google/generative-ai" "^0.24.0"
|
|
1908
1908
|
uuid "^11.1.0"
|
|
@@ -2492,7 +2492,7 @@
|
|
|
2492
2492
|
strip-ansi "6.0.1"
|
|
2493
2493
|
ts-retry-promise "^0.8.1"
|
|
2494
2494
|
|
|
2495
|
-
"@salesforce/core@^8.10.3", "@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0", "@salesforce/core@^8.8.2"
|
|
2495
|
+
"@salesforce/core@^8.10.3", "@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0", "@salesforce/core@^8.8.2":
|
|
2496
2496
|
version "8.10.3"
|
|
2497
2497
|
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-8.10.3.tgz#3cc2c99d097757cb4b08dab921254cfa3a00c7c1"
|
|
2498
2498
|
integrity sha512-juqbU304TBrrjb8sZGw+QkeAJISKu4+v2XIMTCxGJoEjs4LLhsyI7/drxCUY+7FNye+veAGeJdn/PCxkKhSgcA==
|
|
@@ -4488,12 +4488,7 @@ bin-links@^4.0.4:
|
|
|
4488
4488
|
read-cmd-shim "^4.0.0"
|
|
4489
4489
|
write-file-atomic "^5.0.0"
|
|
4490
4490
|
|
|
4491
|
-
binary-extensions@^2.0.0:
|
|
4492
|
-
version "2.2.0"
|
|
4493
|
-
resolved "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz"
|
|
4494
|
-
integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==
|
|
4495
|
-
|
|
4496
|
-
binary-extensions@^2.2.0:
|
|
4491
|
+
binary-extensions@^2.0.0, binary-extensions@^2.2.0:
|
|
4497
4492
|
version "2.3.0"
|
|
4498
4493
|
resolved "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz"
|
|
4499
4494
|
integrity sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==
|
|
@@ -6207,12 +6202,12 @@ eslint-plugin-jsdoc@^46.10.1:
|
|
|
6207
6202
|
semver "^7.5.4"
|
|
6208
6203
|
spdx-expression-parse "^4.0.0"
|
|
6209
6204
|
|
|
6210
|
-
eslint-plugin-sf-plugin@^1.20.
|
|
6211
|
-
version "1.20.
|
|
6212
|
-
resolved "https://registry.
|
|
6213
|
-
integrity
|
|
6205
|
+
eslint-plugin-sf-plugin@^1.20.23:
|
|
6206
|
+
version "1.20.23"
|
|
6207
|
+
resolved "https://registry.yarnpkg.com/eslint-plugin-sf-plugin/-/eslint-plugin-sf-plugin-1.20.23.tgz#213c514a67b734c989eac1ebbc23ff506f9ddc85"
|
|
6208
|
+
integrity sha512-zlvxTJW4nMugGqgedymkEEeP/uiW/hgVGaaKZXEnCU+FMU7aW4kgTtLn+1JWk08mLwRlv/5NynGcABnsON21PA==
|
|
6214
6209
|
dependencies:
|
|
6215
|
-
"@salesforce/core" "^8.
|
|
6210
|
+
"@salesforce/core" "^8.10.3"
|
|
6216
6211
|
"@typescript-eslint/utils" "^7.18.0"
|
|
6217
6212
|
|
|
6218
6213
|
eslint-plugin-unicorn@^50.0.1:
|
|
@@ -8609,17 +8604,17 @@ ky@^1.2.0:
|
|
|
8609
8604
|
resolved "https://registry.npmjs.org/ky/-/ky-1.7.1.tgz"
|
|
8610
8605
|
integrity sha512-KJ/IXXkFhTDqxcN8wKqMXk1/UoOpc0UnOB6H7QcqlPInh/M2B5Mlj+i9exez1w4RSwJhNFmHiUDPriAYFwb5VA==
|
|
8611
8606
|
|
|
8612
|
-
"langchain@>=0.2.3 <0.3.0 || >=0.3.4 <0.4.0", langchain@^0.3.
|
|
8613
|
-
version "0.3.
|
|
8614
|
-
resolved "https://registry.yarnpkg.com/langchain/-/langchain-0.3.
|
|
8615
|
-
integrity sha512-
|
|
8607
|
+
"langchain@>=0.2.3 <0.3.0 || >=0.3.4 <0.4.0", langchain@^0.3.26:
|
|
8608
|
+
version "0.3.26"
|
|
8609
|
+
resolved "https://registry.yarnpkg.com/langchain/-/langchain-0.3.26.tgz#5e1dec39172d1589bfee369a710b2e2459c3df8e"
|
|
8610
|
+
integrity sha512-W/9phB4wiAnj+PnpMWmv/ptIp7i5ygY2aK8yjKlxccHPbaNeMoy7njzFz8d0/xfcPyA3MvG4AuZnJ1j3/E2/Ig==
|
|
8616
8611
|
dependencies:
|
|
8617
8612
|
"@langchain/openai" ">=0.1.0 <0.6.0"
|
|
8618
8613
|
"@langchain/textsplitters" ">=0.0.0 <0.2.0"
|
|
8619
8614
|
js-tiktoken "^1.0.12"
|
|
8620
8615
|
js-yaml "^4.1.0"
|
|
8621
8616
|
jsonpointer "^5.0.1"
|
|
8622
|
-
langsmith "^0.3.
|
|
8617
|
+
langsmith "^0.3.29"
|
|
8623
8618
|
openapi-types "^12.1.3"
|
|
8624
8619
|
p-retry "4"
|
|
8625
8620
|
uuid "^10.0.0"
|
|
@@ -8627,10 +8622,10 @@ ky@^1.2.0:
|
|
|
8627
8622
|
zod "^3.22.4"
|
|
8628
8623
|
zod-to-json-schema "^3.22.3"
|
|
8629
8624
|
|
|
8630
|
-
langsmith@^0.3.16:
|
|
8631
|
-
version "0.3.
|
|
8632
|
-
resolved "https://registry.yarnpkg.com/langsmith/-/langsmith-0.3.
|
|
8633
|
-
integrity sha512-
|
|
8625
|
+
langsmith@^0.3.16, langsmith@^0.3.29:
|
|
8626
|
+
version "0.3.29"
|
|
8627
|
+
resolved "https://registry.yarnpkg.com/langsmith/-/langsmith-0.3.29.tgz#75b8df90b8a724f320ff0cdc784768117e17a922"
|
|
8628
|
+
integrity sha512-JPF2B339qpYy9FyuY4Yz1aWYtgPlFc/a+VTj3L/JcFLHCiMP7+Ig8I9jO+o1QwVa+JU3iugL1RS0wwc+Glw0zA==
|
|
8634
8629
|
dependencies:
|
|
8635
8630
|
"@types/uuid" "^10.0.0"
|
|
8636
8631
|
chalk "^4.1.2"
|
|
@@ -9997,10 +9992,10 @@ open@^10.0.2, open@^10.1.2:
|
|
|
9997
9992
|
is-inside-container "^1.0.0"
|
|
9998
9993
|
is-wsl "^3.1.0"
|
|
9999
9994
|
|
|
10000
|
-
openai@^4.
|
|
10001
|
-
version "4.
|
|
10002
|
-
resolved "https://registry.yarnpkg.com/openai/-/openai-4.
|
|
10003
|
-
integrity sha512-
|
|
9995
|
+
openai@^4.100.0, openai@^4.96.0:
|
|
9996
|
+
version "4.100.0"
|
|
9997
|
+
resolved "https://registry.yarnpkg.com/openai/-/openai-4.100.0.tgz#eb630a97f3531b7c91906b3a42920f9873efa392"
|
|
9998
|
+
integrity sha512-9soq/wukv3utxcuD7TWFqKdKp0INWdeyhUCvxwrne5KwnxaCp4eHL4GdT/tMFhYolxgNhxFzg5GFwM331Z5CZg==
|
|
10004
9999
|
dependencies:
|
|
10005
10000
|
"@types/node" "^18.11.18"
|
|
10006
10001
|
"@types/node-fetch" "^2.6.4"
|
|
@@ -12723,12 +12718,7 @@ uuid@^10.0.0:
|
|
|
12723
12718
|
resolved "https://registry.yarnpkg.com/uuid/-/uuid-10.0.0.tgz#5a95aa454e6e002725c79055fd42aaba30ca6294"
|
|
12724
12719
|
integrity sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==
|
|
12725
12720
|
|
|
12726
|
-
uuid@^11.0.0:
|
|
12727
|
-
version "11.0.3"
|
|
12728
|
-
resolved "https://registry.npmjs.org/uuid/-/uuid-11.0.3.tgz"
|
|
12729
|
-
integrity sha512-d0z310fCWv5dJwnX1Y/MncBAqGMKEzlBb1AOf7z9K8ALnd0utBX/msg/fA0+sbyN1ihbMsLhrBlnl1ak7Wa0rg==
|
|
12730
|
-
|
|
12731
|
-
uuid@^11.1.0:
|
|
12721
|
+
uuid@^11.0.0, uuid@^11.1.0:
|
|
12732
12722
|
version "11.1.0"
|
|
12733
12723
|
resolved "https://registry.yarnpkg.com/uuid/-/uuid-11.1.0.tgz#9549028be1753bb934fc96e2bca09bb4105ae912"
|
|
12734
12724
|
integrity sha512-0/A9rDy9P7cJ+8w1c9WD9V//9Wj15Ce2MPz8Ri6032usz+NfePxx5AcN3bN+r6ZL6jEo066/yNYB3tn4pQEx+A==
|
|
@@ -13150,16 +13140,11 @@ yallist@^5.0.0:
|
|
|
13150
13140
|
resolved "https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz"
|
|
13151
13141
|
integrity sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==
|
|
13152
13142
|
|
|
13153
|
-
yaml@^2.2.1:
|
|
13143
|
+
yaml@^2.2.1, yaml@^2.6.1:
|
|
13154
13144
|
version "2.7.1"
|
|
13155
13145
|
resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.7.1.tgz#44a247d1b88523855679ac7fa7cda6ed7e135cf6"
|
|
13156
13146
|
integrity sha512-10ULxpnOCQXxJvBgxsn9ptjq6uviG/htZKk9veJGhlqn3w/DxQ631zFF+nlQXLwmImeS5amR2dl2U8sg6U9jsQ==
|
|
13157
13147
|
|
|
13158
|
-
yaml@^2.6.1:
|
|
13159
|
-
version "2.7.0"
|
|
13160
|
-
resolved "https://registry.npmjs.org/yaml/-/yaml-2.7.0.tgz"
|
|
13161
|
-
integrity sha512-+hSoy/QHluxmC9kCIJyL/uyFmLmc+e5CFR5Wa+bpIhIj85LVb9ZH2nVnqrHoSvKogwODv0ClqZkmiSSaIH5LTA==
|
|
13162
|
-
|
|
13163
13148
|
yargs-parser@^18.1.2:
|
|
13164
13149
|
version "18.1.3"
|
|
13165
13150
|
resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz"
|
|
@@ -13332,12 +13317,7 @@ zod@3.23.8:
|
|
|
13332
13317
|
resolved "https://registry.npmjs.org/zod/-/zod-3.23.8.tgz"
|
|
13333
13318
|
integrity sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==
|
|
13334
13319
|
|
|
13335
|
-
zod@^3.22.3, zod@^3.22.4:
|
|
13320
|
+
zod@^3.22.3, zod@^3.22.4, zod@^3.24.1:
|
|
13336
13321
|
version "3.24.4"
|
|
13337
13322
|
resolved "https://registry.yarnpkg.com/zod/-/zod-3.24.4.tgz#e2e2cca5faaa012d76e527d0d36622e0a90c315f"
|
|
13338
13323
|
integrity sha512-OdqJE9UDRPwWsrHjLN2F8bPxvwJBK22EHLWtanu0LSYr5YqzsaaW3RMgmjwr8Rypg5k+meEJdSPXJZXE/yqOMg==
|
|
13339
|
-
|
|
13340
|
-
zod@^3.24.1:
|
|
13341
|
-
version "3.24.2"
|
|
13342
|
-
resolved "https://registry.npmjs.org/zod/-/zod-3.24.2.tgz"
|
|
13343
|
-
integrity "sha1-jvp0EmKHxnXpL0aHHPyNFcNDcrM= sha512-lY7CDW43ECgW9u1TcT3IoXHflywfVqDYze4waEz812jR/bZ8FHDsl7pFQoSZTz5N+2NqRXs8GBwnAwo3ZNxqhQ=="
|
package/oclif.manifest.json
CHANGED
|
@@ -57,13 +57,12 @@
|
|
|
57
57
|
"world:hello"
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
|
-
"hardis:
|
|
60
|
+
"hardis:cache:clear": {
|
|
61
61
|
"aliases": [],
|
|
62
62
|
"args": {},
|
|
63
|
-
"description": "
|
|
63
|
+
"description": "Clear cache generated by sfdx-hardis",
|
|
64
64
|
"examples": [
|
|
65
|
-
"$ sf hardis:
|
|
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,39 @@
|
|
|
126
103
|
},
|
|
127
104
|
"hasDynamicHelp": false,
|
|
128
105
|
"hiddenAliases": [],
|
|
129
|
-
"id": "hardis:
|
|
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": "
|
|
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
|
-
"
|
|
143
|
-
"
|
|
119
|
+
"cache",
|
|
120
|
+
"clear.js"
|
|
144
121
|
],
|
|
145
122
|
"aliasPermutations": [],
|
|
146
123
|
"permutations": [
|
|
147
|
-
"hardis:
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"hardis:
|
|
151
|
-
"
|
|
152
|
-
"
|
|
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:
|
|
132
|
+
"hardis:auth:login": {
|
|
156
133
|
"aliases": [],
|
|
157
134
|
"args": {},
|
|
158
|
-
"description": "
|
|
135
|
+
"description": "Login to salesforce org",
|
|
159
136
|
"examples": [
|
|
160
|
-
"$ sf hardis:
|
|
137
|
+
"$ sf hardis:auth:login",
|
|
138
|
+
"CI=true sf hardis:auth:login"
|
|
161
139
|
],
|
|
162
140
|
"flags": {
|
|
163
141
|
"json": {
|
|
@@ -175,6 +153,28 @@
|
|
|
175
153
|
"multiple": false,
|
|
176
154
|
"type": "option"
|
|
177
155
|
},
|
|
156
|
+
"instanceurl": {
|
|
157
|
+
"char": "r",
|
|
158
|
+
"description": "URL of org instance",
|
|
159
|
+
"name": "instanceurl",
|
|
160
|
+
"hasDynamicHelp": false,
|
|
161
|
+
"multiple": false,
|
|
162
|
+
"type": "option"
|
|
163
|
+
},
|
|
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
178
|
"debug": {
|
|
179
179
|
"char": "d",
|
|
180
180
|
"description": "Activate debug mode (more logs)",
|
|
@@ -198,30 +198,30 @@
|
|
|
198
198
|
},
|
|
199
199
|
"hasDynamicHelp": false,
|
|
200
200
|
"hiddenAliases": [],
|
|
201
|
-
"id": "hardis:
|
|
201
|
+
"id": "hardis:auth:login",
|
|
202
202
|
"pluginAlias": "sfdx-hardis",
|
|
203
203
|
"pluginName": "sfdx-hardis",
|
|
204
204
|
"pluginType": "core",
|
|
205
205
|
"strict": true,
|
|
206
206
|
"enableJsonFlag": true,
|
|
207
|
-
"title": "
|
|
207
|
+
"title": "Login",
|
|
208
208
|
"requiresProject": false,
|
|
209
209
|
"isESM": true,
|
|
210
210
|
"relativePath": [
|
|
211
211
|
"lib",
|
|
212
212
|
"commands",
|
|
213
213
|
"hardis",
|
|
214
|
-
"
|
|
215
|
-
"
|
|
214
|
+
"auth",
|
|
215
|
+
"login.js"
|
|
216
216
|
],
|
|
217
217
|
"aliasPermutations": [],
|
|
218
218
|
"permutations": [
|
|
219
|
-
"hardis:
|
|
220
|
-
"
|
|
221
|
-
"
|
|
222
|
-
"hardis:
|
|
223
|
-
"
|
|
224
|
-
"
|
|
219
|
+
"hardis:auth:login",
|
|
220
|
+
"auth:hardis:login",
|
|
221
|
+
"auth:login:hardis",
|
|
222
|
+
"hardis:login:auth",
|
|
223
|
+
"login:hardis:auth",
|
|
224
|
+
"login:auth:hardis"
|
|
225
225
|
]
|
|
226
226
|
},
|
|
227
227
|
"hardis:config:get": {
|
|
@@ -781,7 +781,7 @@
|
|
|
781
781
|
"hardis:doc:project2markdown": {
|
|
782
782
|
"aliases": [],
|
|
783
783
|
"args": {},
|
|
784
|
-
"description": "Generates a markdown documentation from a SFDX project\n\n- Objects (with fields, validation rules, relationships and dependencies)\n- Automations\n - Approval Processes\n - Assignment Rules\n - AutoResponse Rules\n - Escalation Rules\n - Flows\n- Authorizations\n - Profiles\n - Permission Set Groups\n - Permission Sets\n- Code\n - Apex\n - Lightning Web Components\n- Lightning Pages\n- SFDX-Hardis Config\n- Branches & Orgs\n-
|
|
784
|
+
"description": "Generates a markdown documentation from a SFDX project\n\n- Objects (with fields, validation rules, relationships and dependencies)\n- Automations\n - Approval Processes\n - Assignment Rules\n - AutoResponse Rules\n - Escalation Rules\n - Flows\n- Authorizations\n - Profiles\n - Permission Set Groups\n - Permission Sets\n- Code\n - Apex\n - Lightning Web Components\n- Lightning Pages\n- Packages\n- SFDX-Hardis Config\n- Branches & Orgs\n- Manifests\n\nCan work on any sfdx project, no need for it to be a sfdx-hardis flavored one.\n\nGenerates markdown files will be written in **docs** folder (except README.md where a link to doc index is added)\n\n- You can customize the pages following [mkdocs-material setup documentation](https://squidfunk.github.io/mkdocs-material/setup/)\n- You can manually add new markdown files in the \"docs\" folder to extend this documentation and add references to them in \"mkdocs.yml\"\n- You can also add images in folder \"docs/assets\" and embed them in markdown files.\n\nTo read Flow documentations if your markdown reader doesn't handle MermaidJS syntax, this command could require @mermaid-js/mermaid-cli\n\n- Run `npm install @mermaid-js/mermaid-cli --global` if puppeteer works in your environment\n- It can also be run as a docker image\n\nBoth modes will be tried by default, but you can also force one of them by defining environment variable `MERMAID_MODES=docker` or `MERMAID_MODES=cli`\n\n_sfdx-hardis docker image is alpine-based and does not succeed to run mermaid/puppeteer: if you can help, please submit a PR !_\n\nIf Flow history doc always display a single state, you probably need to update your workflow configuration:\n\n- on Gitlab: Env variable [`GIT_FETCH_EXTRA_FLAGS: --depth 10000`](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/defaults/monitoring/.gitlab-ci.yml#L11)\n- on GitHub: [`fetch-depth: 0`](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/defaults/monitoring/.github/workflows/org-monitoring.yml#L58)\n- on Azure: [`fetchDepth: \"0\"`](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/defaults/monitoring/azure-pipelines.yml#L39)\n- on Bitbucket: [`step: clone: depth: full`](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/defaults/monitoring/bitbucket-pipelines.yml#L18)\n\n\n\n\n\n\n\n\n\n\n\nIf it is a sfdx-hardis CI/CD project, a diagram of the branches and orgs strategy will be generated.\n\n\n\nIf [AI integration](https://sfdx-hardis.cloudity.com/salesforce-ai-setup/) is configured, documentation will contain a summary of the Flow.\n\nIf you have a complex strategy, you might need to input property **mergeTargets** in branch-scoped sfdx-hardis.yml file to have a correct diagram.\n\n## Doc HTML Pages\n\nTo read the documentation as HTML pages, run the following code (you need [**Python**](https://www.python.org/downloads/) on your computer)\n\n```python\npip install mkdocs-material mkdocs-exclude-search mdx_truly_sane_lists || python -m pip install mkdocs-material mkdocs-exclude-search mdx_truly_sane_lists || py -m pip install mkdocs-material mkdocs-exclude-search mdx_truly_sane_lists\nmkdocs serve -v || python -m mkdocs serve -v || py -m mkdocs serve -v\n```\n\nTo just generate HTML pages that you can host anywhere, run `mkdocs build -v || python -m mkdocs build -v || py -m mkdocs build -v`\n\n",
|
|
785
785
|
"examples": [
|
|
786
786
|
"$ sf hardis:doc:project2markdown",
|
|
787
787
|
"$ sf hardis:doc:project2markdown --with-history",
|
|
@@ -12162,119 +12162,6 @@
|
|
|
12162
12162
|
"v53flexipages:fix:project:hardis"
|
|
12163
12163
|
]
|
|
12164
12164
|
},
|
|
12165
|
-
"hardis:project:metadata:findduplicates": {
|
|
12166
|
-
"aliases": [],
|
|
12167
|
-
"args": {},
|
|
12168
|
-
"description": "find duplicate values in XML file(s).\n Find duplicate values in XML file(s). Keys to be checked can be configured in `config/sfdx-hardis.yml` using property metadataDuplicateFindKeys.\n\nDefault config :\nmetadataDuplicateFindKeys :\n[object Object]\n",
|
|
12169
|
-
"examples": [
|
|
12170
|
-
"\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Layout xmlns=\"http://soap.sforce.com/2006/04/metadata\">\n <layoutSections>\n ...\n <layoutColumns>\n <layoutItems>\n <behavior>Required</behavior>\n <field>Name</field>\n </layoutItems>\n <layoutItems>\n <behavior>Required</behavior>\n <field>Name</field>\n </layoutItems>\n </layoutColumns>\n </layoutSections>\n</Layout>\n",
|
|
12171
|
-
"\n$ sf hardis:project:metadata:findduplicates --file layout.layout-meta.xml\n[sfdx-hardis] Duplicate values in layout.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : Name\n",
|
|
12172
|
-
"\n$ sf hardis:project.metadata:findduplicates -f \"force-app/main/default/**/*.xml\"\n[sfdx-hardis] hardis:project:metadata:findduplicates execution time 0:00:00.397\n[sfdx-hardis] Duplicate values in layout1.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : CreatedById\n\n[sfdx-hardis] Duplicate values in layout2.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : LastModifiedById, Name\n"
|
|
12173
|
-
],
|
|
12174
|
-
"flags": {
|
|
12175
|
-
"json": {
|
|
12176
|
-
"description": "Format output as json.",
|
|
12177
|
-
"helpGroup": "GLOBAL",
|
|
12178
|
-
"name": "json",
|
|
12179
|
-
"allowNo": false,
|
|
12180
|
-
"type": "boolean"
|
|
12181
|
-
},
|
|
12182
|
-
"flags-dir": {
|
|
12183
|
-
"helpGroup": "GLOBAL",
|
|
12184
|
-
"name": "flags-dir",
|
|
12185
|
-
"summary": "Import flag values from a directory.",
|
|
12186
|
-
"hasDynamicHelp": false,
|
|
12187
|
-
"multiple": false,
|
|
12188
|
-
"type": "option"
|
|
12189
|
-
},
|
|
12190
|
-
"files": {
|
|
12191
|
-
"char": "f",
|
|
12192
|
-
"description": "XML metadata files path",
|
|
12193
|
-
"name": "files",
|
|
12194
|
-
"hasDynamicHelp": false,
|
|
12195
|
-
"multiple": true,
|
|
12196
|
-
"type": "option"
|
|
12197
|
-
},
|
|
12198
|
-
"websocket": {
|
|
12199
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
12200
|
-
"name": "websocket",
|
|
12201
|
-
"hasDynamicHelp": false,
|
|
12202
|
-
"multiple": false,
|
|
12203
|
-
"type": "option"
|
|
12204
|
-
},
|
|
12205
|
-
"skipauth": {
|
|
12206
|
-
"description": "Skip authentication check when a default username is required",
|
|
12207
|
-
"name": "skipauth",
|
|
12208
|
-
"allowNo": false,
|
|
12209
|
-
"type": "boolean"
|
|
12210
|
-
}
|
|
12211
|
-
},
|
|
12212
|
-
"hasDynamicHelp": false,
|
|
12213
|
-
"hiddenAliases": [],
|
|
12214
|
-
"id": "hardis:project:metadata:findduplicates",
|
|
12215
|
-
"pluginAlias": "sfdx-hardis",
|
|
12216
|
-
"pluginName": "sfdx-hardis",
|
|
12217
|
-
"pluginType": "core",
|
|
12218
|
-
"strict": true,
|
|
12219
|
-
"enableJsonFlag": true,
|
|
12220
|
-
"metadataDuplicateFindKeys": {
|
|
12221
|
-
"layout": [
|
|
12222
|
-
"Layout.layoutSections.layoutColumns.layoutItems.field",
|
|
12223
|
-
"Layout.quickActionListItems.quickActionName"
|
|
12224
|
-
],
|
|
12225
|
-
"profile": [
|
|
12226
|
-
"Profile.fieldPermissions.field",
|
|
12227
|
-
"Profile.objectPermissions.object",
|
|
12228
|
-
"Profile.classAccesses.apexClass"
|
|
12229
|
-
],
|
|
12230
|
-
"labels": [
|
|
12231
|
-
"CustomLabels.labels.fullName"
|
|
12232
|
-
],
|
|
12233
|
-
"permissionset": [
|
|
12234
|
-
"PermissionSet.fieldPermissions.field",
|
|
12235
|
-
"PermissionSet.objectPermissions.object",
|
|
12236
|
-
"PermissionSet.classAccesses.apexClass"
|
|
12237
|
-
]
|
|
12238
|
-
},
|
|
12239
|
-
"title": "XML duplicate values finder",
|
|
12240
|
-
"requiresProject": true,
|
|
12241
|
-
"isESM": true,
|
|
12242
|
-
"relativePath": [
|
|
12243
|
-
"lib",
|
|
12244
|
-
"commands",
|
|
12245
|
-
"hardis",
|
|
12246
|
-
"project",
|
|
12247
|
-
"metadata",
|
|
12248
|
-
"findduplicates.js"
|
|
12249
|
-
],
|
|
12250
|
-
"aliasPermutations": [],
|
|
12251
|
-
"permutations": [
|
|
12252
|
-
"hardis:project:metadata:findduplicates",
|
|
12253
|
-
"project:hardis:metadata:findduplicates",
|
|
12254
|
-
"project:metadata:hardis:findduplicates",
|
|
12255
|
-
"project:metadata:findduplicates:hardis",
|
|
12256
|
-
"hardis:metadata:project:findduplicates",
|
|
12257
|
-
"metadata:hardis:project:findduplicates",
|
|
12258
|
-
"metadata:project:hardis:findduplicates",
|
|
12259
|
-
"metadata:project:findduplicates:hardis",
|
|
12260
|
-
"hardis:metadata:findduplicates:project",
|
|
12261
|
-
"metadata:hardis:findduplicates:project",
|
|
12262
|
-
"metadata:findduplicates:hardis:project",
|
|
12263
|
-
"metadata:findduplicates:project:hardis",
|
|
12264
|
-
"hardis:project:findduplicates:metadata",
|
|
12265
|
-
"project:hardis:findduplicates:metadata",
|
|
12266
|
-
"project:findduplicates:hardis:metadata",
|
|
12267
|
-
"project:findduplicates:metadata:hardis",
|
|
12268
|
-
"hardis:findduplicates:project:metadata",
|
|
12269
|
-
"findduplicates:hardis:project:metadata",
|
|
12270
|
-
"findduplicates:project:hardis:metadata",
|
|
12271
|
-
"findduplicates:project:metadata:hardis",
|
|
12272
|
-
"hardis:findduplicates:metadata:project",
|
|
12273
|
-
"findduplicates:hardis:metadata:project",
|
|
12274
|
-
"findduplicates:metadata:hardis:project",
|
|
12275
|
-
"findduplicates:metadata:project:hardis"
|
|
12276
|
-
]
|
|
12277
|
-
},
|
|
12278
12165
|
"hardis:project:generate:bypass": {
|
|
12279
12166
|
"aliases": [],
|
|
12280
12167
|
"args": {},
|
|
@@ -12641,6 +12528,119 @@
|
|
|
12641
12528
|
"gitdelta:generate:project:hardis"
|
|
12642
12529
|
]
|
|
12643
12530
|
},
|
|
12531
|
+
"hardis:project:metadata:findduplicates": {
|
|
12532
|
+
"aliases": [],
|
|
12533
|
+
"args": {},
|
|
12534
|
+
"description": "find duplicate values in XML file(s).\n Find duplicate values in XML file(s). Keys to be checked can be configured in `config/sfdx-hardis.yml` using property metadataDuplicateFindKeys.\n\nDefault config :\nmetadataDuplicateFindKeys :\n[object Object]\n",
|
|
12535
|
+
"examples": [
|
|
12536
|
+
"\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Layout xmlns=\"http://soap.sforce.com/2006/04/metadata\">\n <layoutSections>\n ...\n <layoutColumns>\n <layoutItems>\n <behavior>Required</behavior>\n <field>Name</field>\n </layoutItems>\n <layoutItems>\n <behavior>Required</behavior>\n <field>Name</field>\n </layoutItems>\n </layoutColumns>\n </layoutSections>\n</Layout>\n",
|
|
12537
|
+
"\n$ sf hardis:project:metadata:findduplicates --file layout.layout-meta.xml\n[sfdx-hardis] Duplicate values in layout.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : Name\n",
|
|
12538
|
+
"\n$ sf hardis:project.metadata:findduplicates -f \"force-app/main/default/**/*.xml\"\n[sfdx-hardis] hardis:project:metadata:findduplicates execution time 0:00:00.397\n[sfdx-hardis] Duplicate values in layout1.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : CreatedById\n\n[sfdx-hardis] Duplicate values in layout2.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : LastModifiedById, Name\n"
|
|
12539
|
+
],
|
|
12540
|
+
"flags": {
|
|
12541
|
+
"json": {
|
|
12542
|
+
"description": "Format output as json.",
|
|
12543
|
+
"helpGroup": "GLOBAL",
|
|
12544
|
+
"name": "json",
|
|
12545
|
+
"allowNo": false,
|
|
12546
|
+
"type": "boolean"
|
|
12547
|
+
},
|
|
12548
|
+
"flags-dir": {
|
|
12549
|
+
"helpGroup": "GLOBAL",
|
|
12550
|
+
"name": "flags-dir",
|
|
12551
|
+
"summary": "Import flag values from a directory.",
|
|
12552
|
+
"hasDynamicHelp": false,
|
|
12553
|
+
"multiple": false,
|
|
12554
|
+
"type": "option"
|
|
12555
|
+
},
|
|
12556
|
+
"files": {
|
|
12557
|
+
"char": "f",
|
|
12558
|
+
"description": "XML metadata files path",
|
|
12559
|
+
"name": "files",
|
|
12560
|
+
"hasDynamicHelp": false,
|
|
12561
|
+
"multiple": true,
|
|
12562
|
+
"type": "option"
|
|
12563
|
+
},
|
|
12564
|
+
"websocket": {
|
|
12565
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
12566
|
+
"name": "websocket",
|
|
12567
|
+
"hasDynamicHelp": false,
|
|
12568
|
+
"multiple": false,
|
|
12569
|
+
"type": "option"
|
|
12570
|
+
},
|
|
12571
|
+
"skipauth": {
|
|
12572
|
+
"description": "Skip authentication check when a default username is required",
|
|
12573
|
+
"name": "skipauth",
|
|
12574
|
+
"allowNo": false,
|
|
12575
|
+
"type": "boolean"
|
|
12576
|
+
}
|
|
12577
|
+
},
|
|
12578
|
+
"hasDynamicHelp": false,
|
|
12579
|
+
"hiddenAliases": [],
|
|
12580
|
+
"id": "hardis:project:metadata:findduplicates",
|
|
12581
|
+
"pluginAlias": "sfdx-hardis",
|
|
12582
|
+
"pluginName": "sfdx-hardis",
|
|
12583
|
+
"pluginType": "core",
|
|
12584
|
+
"strict": true,
|
|
12585
|
+
"enableJsonFlag": true,
|
|
12586
|
+
"metadataDuplicateFindKeys": {
|
|
12587
|
+
"layout": [
|
|
12588
|
+
"Layout.layoutSections.layoutColumns.layoutItems.field",
|
|
12589
|
+
"Layout.quickActionListItems.quickActionName"
|
|
12590
|
+
],
|
|
12591
|
+
"profile": [
|
|
12592
|
+
"Profile.fieldPermissions.field",
|
|
12593
|
+
"Profile.objectPermissions.object",
|
|
12594
|
+
"Profile.classAccesses.apexClass"
|
|
12595
|
+
],
|
|
12596
|
+
"labels": [
|
|
12597
|
+
"CustomLabels.labels.fullName"
|
|
12598
|
+
],
|
|
12599
|
+
"permissionset": [
|
|
12600
|
+
"PermissionSet.fieldPermissions.field",
|
|
12601
|
+
"PermissionSet.objectPermissions.object",
|
|
12602
|
+
"PermissionSet.classAccesses.apexClass"
|
|
12603
|
+
]
|
|
12604
|
+
},
|
|
12605
|
+
"title": "XML duplicate values finder",
|
|
12606
|
+
"requiresProject": true,
|
|
12607
|
+
"isESM": true,
|
|
12608
|
+
"relativePath": [
|
|
12609
|
+
"lib",
|
|
12610
|
+
"commands",
|
|
12611
|
+
"hardis",
|
|
12612
|
+
"project",
|
|
12613
|
+
"metadata",
|
|
12614
|
+
"findduplicates.js"
|
|
12615
|
+
],
|
|
12616
|
+
"aliasPermutations": [],
|
|
12617
|
+
"permutations": [
|
|
12618
|
+
"hardis:project:metadata:findduplicates",
|
|
12619
|
+
"project:hardis:metadata:findduplicates",
|
|
12620
|
+
"project:metadata:hardis:findduplicates",
|
|
12621
|
+
"project:metadata:findduplicates:hardis",
|
|
12622
|
+
"hardis:metadata:project:findduplicates",
|
|
12623
|
+
"metadata:hardis:project:findduplicates",
|
|
12624
|
+
"metadata:project:hardis:findduplicates",
|
|
12625
|
+
"metadata:project:findduplicates:hardis",
|
|
12626
|
+
"hardis:metadata:findduplicates:project",
|
|
12627
|
+
"metadata:hardis:findduplicates:project",
|
|
12628
|
+
"metadata:findduplicates:hardis:project",
|
|
12629
|
+
"metadata:findduplicates:project:hardis",
|
|
12630
|
+
"hardis:project:findduplicates:metadata",
|
|
12631
|
+
"project:hardis:findduplicates:metadata",
|
|
12632
|
+
"project:findduplicates:hardis:metadata",
|
|
12633
|
+
"project:findduplicates:metadata:hardis",
|
|
12634
|
+
"hardis:findduplicates:project:metadata",
|
|
12635
|
+
"findduplicates:hardis:project:metadata",
|
|
12636
|
+
"findduplicates:project:hardis:metadata",
|
|
12637
|
+
"findduplicates:project:metadata:hardis",
|
|
12638
|
+
"hardis:findduplicates:metadata:project",
|
|
12639
|
+
"findduplicates:hardis:metadata:project",
|
|
12640
|
+
"findduplicates:metadata:hardis:project",
|
|
12641
|
+
"findduplicates:metadata:project:hardis"
|
|
12642
|
+
]
|
|
12643
|
+
},
|
|
12644
12644
|
"hardis:scratch:pool:create": {
|
|
12645
12645
|
"aliases": [],
|
|
12646
12646
|
"args": {},
|
|
@@ -14615,5 +14615,5 @@
|
|
|
14615
14615
|
]
|
|
14616
14616
|
}
|
|
14617
14617
|
},
|
|
14618
|
-
"version": "5.34.0"
|
|
14618
|
+
"version": "5.34.2-beta202505180037.0"
|
|
14619
14619
|
}
|