sfdx-hardis 5.41.0 → 5.41.1-alpha202506172136.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 +10 -0
- package/lib/commands/hardis/project/deploy/notify.js +2 -2
- package/lib/commands/hardis/project/deploy/notify.js.map +1 -1
- package/lib/commands/hardis/project/deploy/smart.d.ts +11 -1
- package/lib/commands/hardis/project/deploy/smart.js +95 -30
- package/lib/commands/hardis/project/deploy/smart.js.map +1 -1
- package/lib/common/gitProvider/azureDevops.d.ts +2 -2
- package/lib/common/gitProvider/azureDevops.js +16 -9
- package/lib/common/gitProvider/azureDevops.js.map +1 -1
- package/lib/common/gitProvider/bitbucket.d.ts +2 -2
- package/lib/common/gitProvider/bitbucket.js +15 -6
- package/lib/common/gitProvider/bitbucket.js.map +1 -1
- package/lib/common/gitProvider/gitProviderRoot.d.ts +4 -3
- package/lib/common/gitProvider/gitProviderRoot.js +20 -0
- package/lib/common/gitProvider/gitProviderRoot.js.map +1 -1
- package/lib/common/gitProvider/github.d.ts +2 -2
- package/lib/common/gitProvider/github.js +14 -6
- package/lib/common/gitProvider/github.js.map +1 -1
- package/lib/common/gitProvider/gitlab.d.ts +2 -2
- package/lib/common/gitProvider/gitlab.js +17 -7
- package/lib/common/gitProvider/gitlab.js.map +1 -1
- package/lib/common/gitProvider/index.d.ts +42 -1
- package/lib/common/gitProvider/index.js +12 -5
- package/lib/common/gitProvider/index.js.map +1 -1
- package/lib/common/ticketProvider/azureBoardsProvider.d.ts +3 -2
- package/lib/common/ticketProvider/azureBoardsProvider.js +7 -7
- package/lib/common/ticketProvider/azureBoardsProvider.js.map +1 -1
- package/lib/common/ticketProvider/genericProvider.d.ts +2 -1
- package/lib/common/ticketProvider/genericProvider.js.map +1 -1
- package/lib/common/ticketProvider/index.d.ts +2 -1
- package/lib/common/ticketProvider/index.js.map +1 -1
- package/lib/common/ticketProvider/jiraProvider.d.ts +2 -1
- package/lib/common/ticketProvider/jiraProvider.js +2 -2
- package/lib/common/ticketProvider/jiraProvider.js.map +1 -1
- package/lib/common/ticketProvider/ticketProviderRoot.d.ts +2 -1
- package/lib/common/ticketProvider/ticketProviderRoot.js +1 -1
- package/lib/common/ticketProvider/ticketProviderRoot.js.map +1 -1
- package/lib/common/utils/deployTips.js.map +1 -1
- package/lib/common/utils/deployUtils.d.ts +17 -1
- package/lib/common/utils/deployUtils.js +30 -11
- package/lib/common/utils/deployUtils.js.map +1 -1
- package/lib/common/utils/gitUtils.d.ts +2 -1
- package/lib/common/utils/gitUtils.js +8 -9
- package/lib/common/utils/gitUtils.js.map +1 -1
- package/lib/common/utils/orgUtils.js +2 -0
- package/lib/common/utils/orgUtils.js.map +1 -1
- package/oclif.manifest.json +364 -364
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -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[](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[](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": {},
|
|
@@ -7967,126 +7967,6 @@
|
|
|
7967
7967
|
"packageconfig:retrieve:org:hardis"
|
|
7968
7968
|
]
|
|
7969
7969
|
},
|
|
7970
|
-
"hardis:org:test:apex": {
|
|
7971
|
-
"aliases": [],
|
|
7972
|
-
"args": {},
|
|
7973
|
-
"description": "Run apex tests in Salesforce org\n\nIf following configuration is defined, it will fail if apex coverage target is not reached:\n\n- Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`\n- Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`\n\nYou can override env var SFDX_TEST_WAIT_MINUTES to wait more than 60 minutes.\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-apex-tests/) and can output Grafana, Slack and MsTeams Notifications.\n",
|
|
7974
|
-
"examples": [
|
|
7975
|
-
"$ sf hardis:org:test:apex"
|
|
7976
|
-
],
|
|
7977
|
-
"flags": {
|
|
7978
|
-
"json": {
|
|
7979
|
-
"description": "Format output as json.",
|
|
7980
|
-
"helpGroup": "GLOBAL",
|
|
7981
|
-
"name": "json",
|
|
7982
|
-
"allowNo": false,
|
|
7983
|
-
"type": "boolean"
|
|
7984
|
-
},
|
|
7985
|
-
"flags-dir": {
|
|
7986
|
-
"helpGroup": "GLOBAL",
|
|
7987
|
-
"name": "flags-dir",
|
|
7988
|
-
"summary": "Import flag values from a directory.",
|
|
7989
|
-
"hasDynamicHelp": false,
|
|
7990
|
-
"multiple": false,
|
|
7991
|
-
"type": "option"
|
|
7992
|
-
},
|
|
7993
|
-
"testlevel": {
|
|
7994
|
-
"char": "l",
|
|
7995
|
-
"description": "Level of tests to apply to validate deployment",
|
|
7996
|
-
"name": "testlevel",
|
|
7997
|
-
"default": "RunLocalTests",
|
|
7998
|
-
"hasDynamicHelp": false,
|
|
7999
|
-
"multiple": false,
|
|
8000
|
-
"options": [
|
|
8001
|
-
"NoTestRun",
|
|
8002
|
-
"RunSpecifiedTests",
|
|
8003
|
-
"RunLocalTests",
|
|
8004
|
-
"RunAllTestsInOrg"
|
|
8005
|
-
],
|
|
8006
|
-
"type": "option"
|
|
8007
|
-
},
|
|
8008
|
-
"debug": {
|
|
8009
|
-
"char": "d",
|
|
8010
|
-
"description": "Activate debug mode (more logs)",
|
|
8011
|
-
"name": "debug",
|
|
8012
|
-
"allowNo": false,
|
|
8013
|
-
"type": "boolean"
|
|
8014
|
-
},
|
|
8015
|
-
"websocket": {
|
|
8016
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
8017
|
-
"name": "websocket",
|
|
8018
|
-
"hasDynamicHelp": false,
|
|
8019
|
-
"multiple": false,
|
|
8020
|
-
"type": "option"
|
|
8021
|
-
},
|
|
8022
|
-
"skipauth": {
|
|
8023
|
-
"description": "Skip authentication check when a default username is required",
|
|
8024
|
-
"name": "skipauth",
|
|
8025
|
-
"allowNo": false,
|
|
8026
|
-
"type": "boolean"
|
|
8027
|
-
},
|
|
8028
|
-
"target-org": {
|
|
8029
|
-
"aliases": [
|
|
8030
|
-
"targetusername",
|
|
8031
|
-
"u"
|
|
8032
|
-
],
|
|
8033
|
-
"char": "o",
|
|
8034
|
-
"deprecateAliases": true,
|
|
8035
|
-
"name": "target-org",
|
|
8036
|
-
"noCacheDefault": true,
|
|
8037
|
-
"required": true,
|
|
8038
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
8039
|
-
"hasDynamicHelp": true,
|
|
8040
|
-
"multiple": false,
|
|
8041
|
-
"type": "option"
|
|
8042
|
-
}
|
|
8043
|
-
},
|
|
8044
|
-
"hasDynamicHelp": true,
|
|
8045
|
-
"hiddenAliases": [],
|
|
8046
|
-
"id": "hardis:org:test:apex",
|
|
8047
|
-
"pluginAlias": "sfdx-hardis",
|
|
8048
|
-
"pluginName": "sfdx-hardis",
|
|
8049
|
-
"pluginType": "core",
|
|
8050
|
-
"strict": true,
|
|
8051
|
-
"enableJsonFlag": true,
|
|
8052
|
-
"title": "Run apex tests",
|
|
8053
|
-
"isESM": true,
|
|
8054
|
-
"relativePath": [
|
|
8055
|
-
"lib",
|
|
8056
|
-
"commands",
|
|
8057
|
-
"hardis",
|
|
8058
|
-
"org",
|
|
8059
|
-
"test",
|
|
8060
|
-
"apex.js"
|
|
8061
|
-
],
|
|
8062
|
-
"aliasPermutations": [],
|
|
8063
|
-
"permutations": [
|
|
8064
|
-
"hardis:org:test:apex",
|
|
8065
|
-
"org:hardis:test:apex",
|
|
8066
|
-
"org:test:hardis:apex",
|
|
8067
|
-
"org:test:apex:hardis",
|
|
8068
|
-
"hardis:test:org:apex",
|
|
8069
|
-
"test:hardis:org:apex",
|
|
8070
|
-
"test:org:hardis:apex",
|
|
8071
|
-
"test:org:apex:hardis",
|
|
8072
|
-
"hardis:test:apex:org",
|
|
8073
|
-
"test:hardis:apex:org",
|
|
8074
|
-
"test:apex:hardis:org",
|
|
8075
|
-
"test:apex:org:hardis",
|
|
8076
|
-
"hardis:org:apex:test",
|
|
8077
|
-
"org:hardis:apex:test",
|
|
8078
|
-
"org:apex:hardis:test",
|
|
8079
|
-
"org:apex:test:hardis",
|
|
8080
|
-
"hardis:apex:org:test",
|
|
8081
|
-
"apex:hardis:org:test",
|
|
8082
|
-
"apex:org:hardis:test",
|
|
8083
|
-
"apex:org:test:hardis",
|
|
8084
|
-
"hardis:apex:test:org",
|
|
8085
|
-
"apex:hardis:test:org",
|
|
8086
|
-
"apex:test:hardis:org",
|
|
8087
|
-
"apex:test:org:hardis"
|
|
8088
|
-
]
|
|
8089
|
-
},
|
|
8090
7970
|
"hardis:org:user:activateinvalid": {
|
|
8091
7971
|
"aliases": [],
|
|
8092
7972
|
"args": {},
|
|
@@ -8461,30 +8341,150 @@
|
|
|
8461
8341
|
],
|
|
8462
8342
|
"aliasPermutations": [],
|
|
8463
8343
|
"permutations": [
|
|
8464
|
-
"hardis:org:user:unfreeze",
|
|
8465
|
-
"org:hardis:user:unfreeze",
|
|
8466
|
-
"org:user:hardis:unfreeze",
|
|
8467
|
-
"org:user:unfreeze:hardis",
|
|
8468
|
-
"hardis:user:org:unfreeze",
|
|
8469
|
-
"user:hardis:org:unfreeze",
|
|
8470
|
-
"user:org:hardis:unfreeze",
|
|
8471
|
-
"user:org:unfreeze:hardis",
|
|
8472
|
-
"hardis:user:unfreeze:org",
|
|
8473
|
-
"user:hardis:unfreeze:org",
|
|
8474
|
-
"user:unfreeze:hardis:org",
|
|
8475
|
-
"user:unfreeze:org:hardis",
|
|
8476
|
-
"hardis:org:unfreeze:user",
|
|
8477
|
-
"org:hardis:unfreeze:user",
|
|
8478
|
-
"org:unfreeze:hardis:user",
|
|
8479
|
-
"org:unfreeze:user:hardis",
|
|
8480
|
-
"hardis:unfreeze:org:user",
|
|
8481
|
-
"unfreeze:hardis:org:user",
|
|
8482
|
-
"unfreeze:org:hardis:user",
|
|
8483
|
-
"unfreeze:org:user:hardis",
|
|
8484
|
-
"hardis:unfreeze:user:org",
|
|
8485
|
-
"unfreeze:hardis:user:org",
|
|
8486
|
-
"unfreeze:user:hardis:org",
|
|
8487
|
-
"unfreeze:user:org:hardis"
|
|
8344
|
+
"hardis:org:user:unfreeze",
|
|
8345
|
+
"org:hardis:user:unfreeze",
|
|
8346
|
+
"org:user:hardis:unfreeze",
|
|
8347
|
+
"org:user:unfreeze:hardis",
|
|
8348
|
+
"hardis:user:org:unfreeze",
|
|
8349
|
+
"user:hardis:org:unfreeze",
|
|
8350
|
+
"user:org:hardis:unfreeze",
|
|
8351
|
+
"user:org:unfreeze:hardis",
|
|
8352
|
+
"hardis:user:unfreeze:org",
|
|
8353
|
+
"user:hardis:unfreeze:org",
|
|
8354
|
+
"user:unfreeze:hardis:org",
|
|
8355
|
+
"user:unfreeze:org:hardis",
|
|
8356
|
+
"hardis:org:unfreeze:user",
|
|
8357
|
+
"org:hardis:unfreeze:user",
|
|
8358
|
+
"org:unfreeze:hardis:user",
|
|
8359
|
+
"org:unfreeze:user:hardis",
|
|
8360
|
+
"hardis:unfreeze:org:user",
|
|
8361
|
+
"unfreeze:hardis:org:user",
|
|
8362
|
+
"unfreeze:org:hardis:user",
|
|
8363
|
+
"unfreeze:org:user:hardis",
|
|
8364
|
+
"hardis:unfreeze:user:org",
|
|
8365
|
+
"unfreeze:hardis:user:org",
|
|
8366
|
+
"unfreeze:user:hardis:org",
|
|
8367
|
+
"unfreeze:user:org:hardis"
|
|
8368
|
+
]
|
|
8369
|
+
},
|
|
8370
|
+
"hardis:org:test:apex": {
|
|
8371
|
+
"aliases": [],
|
|
8372
|
+
"args": {},
|
|
8373
|
+
"description": "Run apex tests in Salesforce org\n\nIf following configuration is defined, it will fail if apex coverage target is not reached:\n\n- Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`\n- Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`\n\nYou can override env var SFDX_TEST_WAIT_MINUTES to wait more than 60 minutes.\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-apex-tests/) and can output Grafana, Slack and MsTeams Notifications.\n",
|
|
8374
|
+
"examples": [
|
|
8375
|
+
"$ sf hardis:org:test:apex"
|
|
8376
|
+
],
|
|
8377
|
+
"flags": {
|
|
8378
|
+
"json": {
|
|
8379
|
+
"description": "Format output as json.",
|
|
8380
|
+
"helpGroup": "GLOBAL",
|
|
8381
|
+
"name": "json",
|
|
8382
|
+
"allowNo": false,
|
|
8383
|
+
"type": "boolean"
|
|
8384
|
+
},
|
|
8385
|
+
"flags-dir": {
|
|
8386
|
+
"helpGroup": "GLOBAL",
|
|
8387
|
+
"name": "flags-dir",
|
|
8388
|
+
"summary": "Import flag values from a directory.",
|
|
8389
|
+
"hasDynamicHelp": false,
|
|
8390
|
+
"multiple": false,
|
|
8391
|
+
"type": "option"
|
|
8392
|
+
},
|
|
8393
|
+
"testlevel": {
|
|
8394
|
+
"char": "l",
|
|
8395
|
+
"description": "Level of tests to apply to validate deployment",
|
|
8396
|
+
"name": "testlevel",
|
|
8397
|
+
"default": "RunLocalTests",
|
|
8398
|
+
"hasDynamicHelp": false,
|
|
8399
|
+
"multiple": false,
|
|
8400
|
+
"options": [
|
|
8401
|
+
"NoTestRun",
|
|
8402
|
+
"RunSpecifiedTests",
|
|
8403
|
+
"RunLocalTests",
|
|
8404
|
+
"RunAllTestsInOrg"
|
|
8405
|
+
],
|
|
8406
|
+
"type": "option"
|
|
8407
|
+
},
|
|
8408
|
+
"debug": {
|
|
8409
|
+
"char": "d",
|
|
8410
|
+
"description": "Activate debug mode (more logs)",
|
|
8411
|
+
"name": "debug",
|
|
8412
|
+
"allowNo": false,
|
|
8413
|
+
"type": "boolean"
|
|
8414
|
+
},
|
|
8415
|
+
"websocket": {
|
|
8416
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
8417
|
+
"name": "websocket",
|
|
8418
|
+
"hasDynamicHelp": false,
|
|
8419
|
+
"multiple": false,
|
|
8420
|
+
"type": "option"
|
|
8421
|
+
},
|
|
8422
|
+
"skipauth": {
|
|
8423
|
+
"description": "Skip authentication check when a default username is required",
|
|
8424
|
+
"name": "skipauth",
|
|
8425
|
+
"allowNo": false,
|
|
8426
|
+
"type": "boolean"
|
|
8427
|
+
},
|
|
8428
|
+
"target-org": {
|
|
8429
|
+
"aliases": [
|
|
8430
|
+
"targetusername",
|
|
8431
|
+
"u"
|
|
8432
|
+
],
|
|
8433
|
+
"char": "o",
|
|
8434
|
+
"deprecateAliases": true,
|
|
8435
|
+
"name": "target-org",
|
|
8436
|
+
"noCacheDefault": true,
|
|
8437
|
+
"required": true,
|
|
8438
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
8439
|
+
"hasDynamicHelp": true,
|
|
8440
|
+
"multiple": false,
|
|
8441
|
+
"type": "option"
|
|
8442
|
+
}
|
|
8443
|
+
},
|
|
8444
|
+
"hasDynamicHelp": true,
|
|
8445
|
+
"hiddenAliases": [],
|
|
8446
|
+
"id": "hardis:org:test:apex",
|
|
8447
|
+
"pluginAlias": "sfdx-hardis",
|
|
8448
|
+
"pluginName": "sfdx-hardis",
|
|
8449
|
+
"pluginType": "core",
|
|
8450
|
+
"strict": true,
|
|
8451
|
+
"enableJsonFlag": true,
|
|
8452
|
+
"title": "Run apex tests",
|
|
8453
|
+
"isESM": true,
|
|
8454
|
+
"relativePath": [
|
|
8455
|
+
"lib",
|
|
8456
|
+
"commands",
|
|
8457
|
+
"hardis",
|
|
8458
|
+
"org",
|
|
8459
|
+
"test",
|
|
8460
|
+
"apex.js"
|
|
8461
|
+
],
|
|
8462
|
+
"aliasPermutations": [],
|
|
8463
|
+
"permutations": [
|
|
8464
|
+
"hardis:org:test:apex",
|
|
8465
|
+
"org:hardis:test:apex",
|
|
8466
|
+
"org:test:hardis:apex",
|
|
8467
|
+
"org:test:apex:hardis",
|
|
8468
|
+
"hardis:test:org:apex",
|
|
8469
|
+
"test:hardis:org:apex",
|
|
8470
|
+
"test:org:hardis:apex",
|
|
8471
|
+
"test:org:apex:hardis",
|
|
8472
|
+
"hardis:test:apex:org",
|
|
8473
|
+
"test:hardis:apex:org",
|
|
8474
|
+
"test:apex:hardis:org",
|
|
8475
|
+
"test:apex:org:hardis",
|
|
8476
|
+
"hardis:org:apex:test",
|
|
8477
|
+
"org:hardis:apex:test",
|
|
8478
|
+
"org:apex:hardis:test",
|
|
8479
|
+
"org:apex:test:hardis",
|
|
8480
|
+
"hardis:apex:org:test",
|
|
8481
|
+
"apex:hardis:org:test",
|
|
8482
|
+
"apex:org:hardis:test",
|
|
8483
|
+
"apex:org:test:hardis",
|
|
8484
|
+
"hardis:apex:test:org",
|
|
8485
|
+
"apex:hardis:test:org",
|
|
8486
|
+
"apex:test:hardis:org",
|
|
8487
|
+
"apex:test:org:hardis"
|
|
8488
8488
|
]
|
|
8489
8489
|
},
|
|
8490
8490
|
"hardis:package:version:create": {
|
|
@@ -9374,6 +9374,109 @@
|
|
|
9374
9374
|
"auth:configure:project:hardis"
|
|
9375
9375
|
]
|
|
9376
9376
|
},
|
|
9377
|
+
"hardis:project:convert:profilestopermsets": {
|
|
9378
|
+
"aliases": [],
|
|
9379
|
+
"args": {},
|
|
9380
|
+
"description": "Creates permission sets from existing profiles, with id PS_PROFILENAME",
|
|
9381
|
+
"examples": [
|
|
9382
|
+
"$ sf hardis:project:convert:profilestopermsets"
|
|
9383
|
+
],
|
|
9384
|
+
"flags": {
|
|
9385
|
+
"json": {
|
|
9386
|
+
"description": "Format output as json.",
|
|
9387
|
+
"helpGroup": "GLOBAL",
|
|
9388
|
+
"name": "json",
|
|
9389
|
+
"allowNo": false,
|
|
9390
|
+
"type": "boolean"
|
|
9391
|
+
},
|
|
9392
|
+
"flags-dir": {
|
|
9393
|
+
"helpGroup": "GLOBAL",
|
|
9394
|
+
"name": "flags-dir",
|
|
9395
|
+
"summary": "Import flag values from a directory.",
|
|
9396
|
+
"hasDynamicHelp": false,
|
|
9397
|
+
"multiple": false,
|
|
9398
|
+
"type": "option"
|
|
9399
|
+
},
|
|
9400
|
+
"except": {
|
|
9401
|
+
"char": "e",
|
|
9402
|
+
"description": "List of filters",
|
|
9403
|
+
"name": "except",
|
|
9404
|
+
"default": [],
|
|
9405
|
+
"hasDynamicHelp": false,
|
|
9406
|
+
"multiple": true,
|
|
9407
|
+
"type": "option"
|
|
9408
|
+
},
|
|
9409
|
+
"debug": {
|
|
9410
|
+
"char": "d",
|
|
9411
|
+
"description": "Activate debug mode (more logs)",
|
|
9412
|
+
"name": "debug",
|
|
9413
|
+
"allowNo": false,
|
|
9414
|
+
"type": "boolean"
|
|
9415
|
+
},
|
|
9416
|
+
"websocket": {
|
|
9417
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
9418
|
+
"name": "websocket",
|
|
9419
|
+
"hasDynamicHelp": false,
|
|
9420
|
+
"multiple": false,
|
|
9421
|
+
"type": "option"
|
|
9422
|
+
},
|
|
9423
|
+
"skipauth": {
|
|
9424
|
+
"description": "Skip authentication check when a default username is required",
|
|
9425
|
+
"name": "skipauth",
|
|
9426
|
+
"allowNo": false,
|
|
9427
|
+
"type": "boolean"
|
|
9428
|
+
}
|
|
9429
|
+
},
|
|
9430
|
+
"hasDynamicHelp": false,
|
|
9431
|
+
"hiddenAliases": [],
|
|
9432
|
+
"id": "hardis:project:convert:profilestopermsets",
|
|
9433
|
+
"pluginAlias": "sfdx-hardis",
|
|
9434
|
+
"pluginName": "sfdx-hardis",
|
|
9435
|
+
"pluginType": "core",
|
|
9436
|
+
"strict": true,
|
|
9437
|
+
"enableJsonFlag": true,
|
|
9438
|
+
"title": "Convert Profiles into Permission Sets",
|
|
9439
|
+
"requiresProject": true,
|
|
9440
|
+
"requiresSfdxPlugins": [
|
|
9441
|
+
"shane-sfdx-plugins"
|
|
9442
|
+
],
|
|
9443
|
+
"isESM": true,
|
|
9444
|
+
"relativePath": [
|
|
9445
|
+
"lib",
|
|
9446
|
+
"commands",
|
|
9447
|
+
"hardis",
|
|
9448
|
+
"project",
|
|
9449
|
+
"convert",
|
|
9450
|
+
"profilestopermsets.js"
|
|
9451
|
+
],
|
|
9452
|
+
"aliasPermutations": [],
|
|
9453
|
+
"permutations": [
|
|
9454
|
+
"hardis:project:convert:profilestopermsets",
|
|
9455
|
+
"project:hardis:convert:profilestopermsets",
|
|
9456
|
+
"project:convert:hardis:profilestopermsets",
|
|
9457
|
+
"project:convert:profilestopermsets:hardis",
|
|
9458
|
+
"hardis:convert:project:profilestopermsets",
|
|
9459
|
+
"convert:hardis:project:profilestopermsets",
|
|
9460
|
+
"convert:project:hardis:profilestopermsets",
|
|
9461
|
+
"convert:project:profilestopermsets:hardis",
|
|
9462
|
+
"hardis:convert:profilestopermsets:project",
|
|
9463
|
+
"convert:hardis:profilestopermsets:project",
|
|
9464
|
+
"convert:profilestopermsets:hardis:project",
|
|
9465
|
+
"convert:profilestopermsets:project:hardis",
|
|
9466
|
+
"hardis:project:profilestopermsets:convert",
|
|
9467
|
+
"project:hardis:profilestopermsets:convert",
|
|
9468
|
+
"project:profilestopermsets:hardis:convert",
|
|
9469
|
+
"project:profilestopermsets:convert:hardis",
|
|
9470
|
+
"hardis:profilestopermsets:project:convert",
|
|
9471
|
+
"profilestopermsets:hardis:project:convert",
|
|
9472
|
+
"profilestopermsets:project:hardis:convert",
|
|
9473
|
+
"profilestopermsets:project:convert:hardis",
|
|
9474
|
+
"hardis:profilestopermsets:convert:project",
|
|
9475
|
+
"profilestopermsets:hardis:convert:project",
|
|
9476
|
+
"profilestopermsets:convert:hardis:project",
|
|
9477
|
+
"profilestopermsets:convert:project:hardis"
|
|
9478
|
+
]
|
|
9479
|
+
},
|
|
9377
9480
|
"hardis:project:clean:emptyitems": {
|
|
9378
9481
|
"aliases": [],
|
|
9379
9482
|
"args": {},
|
|
@@ -10859,109 +10962,6 @@
|
|
|
10859
10962
|
"xml:clean:project:hardis"
|
|
10860
10963
|
]
|
|
10861
10964
|
},
|
|
10862
|
-
"hardis:project:convert:profilestopermsets": {
|
|
10863
|
-
"aliases": [],
|
|
10864
|
-
"args": {},
|
|
10865
|
-
"description": "Creates permission sets from existing profiles, with id PS_PROFILENAME",
|
|
10866
|
-
"examples": [
|
|
10867
|
-
"$ sf hardis:project:convert:profilestopermsets"
|
|
10868
|
-
],
|
|
10869
|
-
"flags": {
|
|
10870
|
-
"json": {
|
|
10871
|
-
"description": "Format output as json.",
|
|
10872
|
-
"helpGroup": "GLOBAL",
|
|
10873
|
-
"name": "json",
|
|
10874
|
-
"allowNo": false,
|
|
10875
|
-
"type": "boolean"
|
|
10876
|
-
},
|
|
10877
|
-
"flags-dir": {
|
|
10878
|
-
"helpGroup": "GLOBAL",
|
|
10879
|
-
"name": "flags-dir",
|
|
10880
|
-
"summary": "Import flag values from a directory.",
|
|
10881
|
-
"hasDynamicHelp": false,
|
|
10882
|
-
"multiple": false,
|
|
10883
|
-
"type": "option"
|
|
10884
|
-
},
|
|
10885
|
-
"except": {
|
|
10886
|
-
"char": "e",
|
|
10887
|
-
"description": "List of filters",
|
|
10888
|
-
"name": "except",
|
|
10889
|
-
"default": [],
|
|
10890
|
-
"hasDynamicHelp": false,
|
|
10891
|
-
"multiple": true,
|
|
10892
|
-
"type": "option"
|
|
10893
|
-
},
|
|
10894
|
-
"debug": {
|
|
10895
|
-
"char": "d",
|
|
10896
|
-
"description": "Activate debug mode (more logs)",
|
|
10897
|
-
"name": "debug",
|
|
10898
|
-
"allowNo": false,
|
|
10899
|
-
"type": "boolean"
|
|
10900
|
-
},
|
|
10901
|
-
"websocket": {
|
|
10902
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
10903
|
-
"name": "websocket",
|
|
10904
|
-
"hasDynamicHelp": false,
|
|
10905
|
-
"multiple": false,
|
|
10906
|
-
"type": "option"
|
|
10907
|
-
},
|
|
10908
|
-
"skipauth": {
|
|
10909
|
-
"description": "Skip authentication check when a default username is required",
|
|
10910
|
-
"name": "skipauth",
|
|
10911
|
-
"allowNo": false,
|
|
10912
|
-
"type": "boolean"
|
|
10913
|
-
}
|
|
10914
|
-
},
|
|
10915
|
-
"hasDynamicHelp": false,
|
|
10916
|
-
"hiddenAliases": [],
|
|
10917
|
-
"id": "hardis:project:convert:profilestopermsets",
|
|
10918
|
-
"pluginAlias": "sfdx-hardis",
|
|
10919
|
-
"pluginName": "sfdx-hardis",
|
|
10920
|
-
"pluginType": "core",
|
|
10921
|
-
"strict": true,
|
|
10922
|
-
"enableJsonFlag": true,
|
|
10923
|
-
"title": "Convert Profiles into Permission Sets",
|
|
10924
|
-
"requiresProject": true,
|
|
10925
|
-
"requiresSfdxPlugins": [
|
|
10926
|
-
"shane-sfdx-plugins"
|
|
10927
|
-
],
|
|
10928
|
-
"isESM": true,
|
|
10929
|
-
"relativePath": [
|
|
10930
|
-
"lib",
|
|
10931
|
-
"commands",
|
|
10932
|
-
"hardis",
|
|
10933
|
-
"project",
|
|
10934
|
-
"convert",
|
|
10935
|
-
"profilestopermsets.js"
|
|
10936
|
-
],
|
|
10937
|
-
"aliasPermutations": [],
|
|
10938
|
-
"permutations": [
|
|
10939
|
-
"hardis:project:convert:profilestopermsets",
|
|
10940
|
-
"project:hardis:convert:profilestopermsets",
|
|
10941
|
-
"project:convert:hardis:profilestopermsets",
|
|
10942
|
-
"project:convert:profilestopermsets:hardis",
|
|
10943
|
-
"hardis:convert:project:profilestopermsets",
|
|
10944
|
-
"convert:hardis:project:profilestopermsets",
|
|
10945
|
-
"convert:project:hardis:profilestopermsets",
|
|
10946
|
-
"convert:project:profilestopermsets:hardis",
|
|
10947
|
-
"hardis:convert:profilestopermsets:project",
|
|
10948
|
-
"convert:hardis:profilestopermsets:project",
|
|
10949
|
-
"convert:profilestopermsets:hardis:project",
|
|
10950
|
-
"convert:profilestopermsets:project:hardis",
|
|
10951
|
-
"hardis:project:profilestopermsets:convert",
|
|
10952
|
-
"project:hardis:profilestopermsets:convert",
|
|
10953
|
-
"project:profilestopermsets:hardis:convert",
|
|
10954
|
-
"project:profilestopermsets:convert:hardis",
|
|
10955
|
-
"hardis:profilestopermsets:project:convert",
|
|
10956
|
-
"profilestopermsets:hardis:project:convert",
|
|
10957
|
-
"profilestopermsets:project:hardis:convert",
|
|
10958
|
-
"profilestopermsets:project:convert:hardis",
|
|
10959
|
-
"hardis:profilestopermsets:convert:project",
|
|
10960
|
-
"profilestopermsets:hardis:convert:project",
|
|
10961
|
-
"profilestopermsets:convert:hardis:project",
|
|
10962
|
-
"profilestopermsets:convert:project:hardis"
|
|
10963
|
-
]
|
|
10964
|
-
},
|
|
10965
10965
|
"hardis:project:deploy:notify": {
|
|
10966
10966
|
"aliases": [],
|
|
10967
10967
|
"args": {},
|
|
@@ -11363,7 +11363,7 @@
|
|
|
11363
11363
|
"hardis:project:deploy:sources:dx"
|
|
11364
11364
|
],
|
|
11365
11365
|
"args": {},
|
|
11366
|
-
"description": "Smart deploy of SFDX sources to target org, with many useful options.\n\nIn case of errors, [tips to fix them](https://sfdx-hardis.cloudity.com/deployTips/) will be included within the error messages.\n\n### Quick Deploy\n\nIn case Pull Request comments are configured on the project, Quick Deploy will try to be used (equivalent to button Quick Deploy)\n\nIf you do not want to use QuickDeploy, define variable `SFDX_HARDIS_QUICK_DEPLOY=false`\n\n- [GitHub Pull Requests comments config](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-github/)\n- [Gitlab Merge requests notes config](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-gitlab/)\n- [Azure Pull Requests comments config](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-azure/)\n\n### Delta deployments\n\nTo activate delta deployments, define property `useDeltaDeployment: true` in `config/.sfdx-hardis.yml`.\n\nThis will activate delta deployments only between minor and major branches (major to major remains full deployment mode)\n\nIf you want to force the delta deployment into major orgs (ex: preprod to prod), this is not recommended but you can use env variable ALWAYS_ENABLE_DELTA_DEPLOYMENT=true\n\n### Smart Deployments Tests\n\nNot all metadata updates can break test classes, use Smart Deployment Tests to skip running test classes if ALL the following conditions are met:\n\n- Delta deployment is activated and applicable to the source and target branches\n- Delta deployed metadatas are all matching the list of **NOT_IMPACTING_METADATA_TYPES** (see below)\n- Target org is not a production org\n\nActivate Smart Deployment tests with:\n\n- env variable `USE_SMART_DEPLOYMENT_TESTS=true`\n- .sfdx-hardis.yml config property `useSmartDeploymentTests: true`\n\nDefaut list for **NOT_IMPACTING_METADATA_TYPES** (can be overridden with comma-separated list on env var NOT_IMPACTING_METADATA_TYPES)\n\n- Audience\n- AuraDefinitionBundle\n- Bot\n- BotVersion\n- ContentAsset\n- CustomObjectTranslation\n- CustomSite\n- CustomTab\n- Dashboard\n- ExperienceBundle\n- Flexipage\n- GlobalValueSetTranslation\n- Layout\n- LightningComponentBundle\n- NavigationMenu\n- ReportType\n- Report\n- SiteDotCom\n- StandardValueSetTranslation\n- StaticResource\n- Translations\n\nNote: if you want to disable Smart test classes for a PR, add **nosmart** in the text of the latest commit.\n\n### Dynamic deployment items / Overwrite management\n\nIf necessary,you can define the following files (that supports wildcards <members>*</members>):\n\n- `manifest/package-no-overwrite.xml`: Every element defined in this file will be deployed only if it is not existing yet in the target org (can be useful with ListView for example, if the client wants to update them directly in production org).\n - Can be overridden for a branch using .sfdx-hardis.yml property **packageNoOverwritePath** or environment variable PACKAGE_NO_OVERWRITE_PATH (for example, define: `packageNoOverwritePath: manifest/package-no-overwrite-main.xml` in config file `config/.sfdx-hardis.main.yml`)\n- `manifest/packageXmlOnChange.xml`: Every element defined in this file will not be deployed if it already has a similar definition in target org (can be useful for SharingRules for example)\n\nSee [Overwrite management documentation](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-config-overwrite/)\n\n### Deployment plan\n\nIf you need to deploy in multiple steps, you can define a property `deploymentPlan` in `.sfdx-hardis.yml`.\n\n- If a file `manifest/package.xml` is found, it will be placed with order 0 in the deployment plan\n\n- If a file `manifest/destructiveChanges.xml` is found, it will be executed as --postdestructivechanges\n\n- If env var `SFDX_HARDIS_DEPLOY_IGNORE_SPLIT_PACKAGES` is defined as `false` , split of package.xml will be applied\n\nExample:\n\n```yaml\ndeploymentPlan:\n packages:\n - label: Deploy Flow-Workflow\n packageXmlFile: manifest/splits/packageXmlFlowWorkflow.xml\n order: 6\n - label: Deploy SharingRules - Case\n packageXmlFile: manifest/splits/packageXmlSharingRulesCase.xml\n order: 30\n waitAfter: 30\n```\n\n### Packages installation\n\nYou can define a list of package to install during deployments using property `installedPackages`\n\n- If `INSTALL_PACKAGES_DURING_CHECK_DEPLOY` is defined as `true` (or `installPackagesDuringCheckDeploy: true` in `.sfdx-hardis.yml`), packages will be installed even if the command is called with `--check` mode\n- You can automatically update this property by listing all packages installed on an org using command `sf hardis:org:retrieve:packageconfig`\n\nExample:\n\n```yaml\ninstalledPackages:\n - Id: 0A35r0000009EtECAU\n SubscriberPackageId: 033i0000000LVMYAA4\n SubscriberPackageName: Marketing Cloud\n SubscriberPackageNamespace: et4ae5\n SubscriberPackageVersionId: 04t6S000000l11iQAA\n SubscriberPackageVersionName: Marketing Cloud\n SubscriberPackageVersionNumber: 236.0.0.2\n installOnScratchOrgs: true // true or false depending you want to install this package when creating a new scratch org\n installDuringDeployments: true // set as true to install package during a deployment using sf hardis:project:deploy:smart\n installationkey: xxxxxxxxxxxxxxxxxxxx // if the package has a password, write it in this property\n - Id: 0A35r0000009F9CCAU\n SubscriberPackageId: 033b0000000Pf2AAAS\n SubscriberPackageName: Declarative Lookup Rollup Summaries Tool\n SubscriberPackageNamespace: dlrs\n SubscriberPackageVersionId: 04t5p000001BmLvAAK\n SubscriberPackageVersionName: Release\n SubscriberPackageVersionNumber: 2.15.0.9\n installOnScratchOrgs: true\n installDuringDeployments: true\n```\n\n### Deployment pre or post commands\n\nYou can define command lines to run before or after a deployment, with parameters:\n\n- **id**: Unique Id for the command\n- **label**: Human readable label for the command\n- **skipIfError**: If defined to \"true\", the post-command won't be run if there is a deployment failure\n- **context**: Defines the context where the command will be run. Can be **all** (default), **check-deployment-only** or **process-deployment-only**\n- **runOnlyOnceByOrg**: If set to true, the command will be run only one time per org. A record of SfdxHardisTrace__c is stored to make that possible (it needs to be existing in target org)\n\nIf the commands are not the same depending on the target org, you can define them into **config/branches/.sfdx-hardis-BRANCHNAME.yml** instead of root **config/.sfdx-hardis.yml**\n\nExample:\n\n```yaml\ncommandsPreDeploy:\n - id: knowledgeUnassign\n label: Remove KnowledgeUser right to the user who has it\n command: sf data update record --sobject User --where \"UserPermissionsKnowledgeUser='true'\" --values \"UserPermissionsKnowledgeUser='false'\" --json\n - id: knowledgeAssign\n label: Assign Knowledge user to the deployment user\n command: sf data update record --sobject User --where \"Username='deploy.github@myclient.com'\" --values \"UserPermissionsKnowledgeUser='true'\" --json\n\ncommandsPostDeploy:\n - id: knowledgeUnassign\n label: Remove KnowledgeUser right to the user who has it\n command: sf data update record --sobject User --where \"UserPermissionsKnowledgeUser='true'\" --values \"UserPermissionsKnowledgeUser='false'\" --json\n - id: knowledgeAssign\n label: Assign Knowledge user to desired username\n command: sf data update record --sobject User --where \"Username='admin-yser@myclient.com'\" --values \"UserPermissionsKnowledgeUser='true'\" --json\n - id: someActionToRunJustOneTime\n label: And to run only if deployment is success\n command: sf sfdmu:run ...\n skipIfError: true\n context: process-deployment-only\n runOnlyOnceByOrg: true\n```\n\n### Automated fixes post deployments\n\n#### List view with scope Mine\n\nIf you defined a property **listViewsToSetToMine** in your .sfdx-hardis.yml, related ListViews will be set to Mine ( see command <https://sfdx-hardis.cloudity.com/hardis/org/fix/listviewmine/> )\n\nExample:\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 fix ListViews with mine 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\nIf you need to increase the deployment waiting time (sf project deploy start --wait arg), you can define env variable SFDX_DEPLOY_WAIT_MINUTES (default: 120)\n\nIf you need notifications to be sent using the current Pull Request and not the one just merged ([see use case](https://github.com/hardisgroupcom/sfdx-hardis/issues/637#issuecomment-2230798904)), define env variable SFDX_HARDIS_DEPLOY_BEFORE_MERGE=true\n\nIf you want to disable the calculation and display of Flow Visual Git Diff in Pull Request comments, define variable **SFDX_DISABLE_FLOW_DIFF=true**\n",
|
|
11366
|
+
"description": "Smart deploy of SFDX sources to target org, with many useful options.\n\nIn case of errors, [tips to fix them](https://sfdx-hardis.cloudity.com/deployTips/) will be included within the error messages.\n\n### Quick Deploy\n\nIn case Pull Request comments are configured on the project, Quick Deploy will try to be used (equivalent to button Quick Deploy)\n\nIf you do not want to use QuickDeploy, define variable `SFDX_HARDIS_QUICK_DEPLOY=false`\n\n- [GitHub Pull Requests comments config](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-github/)\n- [Gitlab Merge requests notes config](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-gitlab/)\n- [Azure Pull Requests comments config](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-azure/)\n\n### Delta deployments\n\nTo activate delta deployments, define property `useDeltaDeployment: true` in `config/.sfdx-hardis.yml`.\n\nThis will activate delta deployments only between minor and major branches (major to major remains full deployment mode)\n\nIf you want to force the delta deployment into major orgs (ex: preprod to prod), this is not recommended but you can use env variable ALWAYS_ENABLE_DELTA_DEPLOYMENT=true\n\n### Smart Deployments Tests\n\nNot all metadata updates can break test classes, use Smart Deployment Tests to skip running test classes if ALL the following conditions are met:\n\n- Delta deployment is activated and applicable to the source and target branches\n- Delta deployed metadatas are all matching the list of **NOT_IMPACTING_METADATA_TYPES** (see below)\n- Target org is not a production org\n\nActivate Smart Deployment tests with:\n\n- env variable `USE_SMART_DEPLOYMENT_TESTS=true`\n- .sfdx-hardis.yml config property `useSmartDeploymentTests: true`\n\nDefaut list for **NOT_IMPACTING_METADATA_TYPES** (can be overridden with comma-separated list on env var NOT_IMPACTING_METADATA_TYPES)\n\n- Audience\n- AuraDefinitionBundle\n- Bot\n- BotVersion\n- ContentAsset\n- CustomObjectTranslation\n- CustomSite\n- CustomTab\n- Dashboard\n- ExperienceBundle\n- Flexipage\n- GlobalValueSetTranslation\n- Layout\n- LightningComponentBundle\n- NavigationMenu\n- ReportType\n- Report\n- SiteDotCom\n- StandardValueSetTranslation\n- StaticResource\n- Translations\n\nNote: if you want to disable Smart test classes for a PR, add **nosmart** in the text of the latest commit.\n\n### Dynamic deployment items / Overwrite management\n\nIf necessary,you can define the following files (that supports wildcards <members>*</members>):\n\n- `manifest/package-no-overwrite.xml`: Every element defined in this file will be deployed only if it is not existing yet in the target org (can be useful with ListView for example, if the client wants to update them directly in production org).\n - Can be overridden for a branch using .sfdx-hardis.yml property **packageNoOverwritePath** or environment variable PACKAGE_NO_OVERWRITE_PATH (for example, define: `packageNoOverwritePath: manifest/package-no-overwrite-main.xml` in config file `config/.sfdx-hardis.main.yml`)\n- `manifest/packageXmlOnChange.xml`: Every element defined in this file will not be deployed if it already has a similar definition in target org (can be useful for SharingRules for example)\n\nSee [Overwrite management documentation](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-config-overwrite/)\n\n### Packages installation\n\nYou can define a list of package to install during deployments using property `installedPackages`\n\n- If `INSTALL_PACKAGES_DURING_CHECK_DEPLOY` is defined as `true` (or `installPackagesDuringCheckDeploy: true` in `.sfdx-hardis.yml`), packages will be installed even if the command is called with `--check` mode\n- You can automatically update this property by listing all packages installed on an org using command `sf hardis:org:retrieve:packageconfig`\n\nExample:\n\n```yaml\ninstalledPackages:\n - Id: 0A35r0000009EtECAU\n SubscriberPackageId: 033i0000000LVMYAA4\n SubscriberPackageName: Marketing Cloud\n SubscriberPackageNamespace: et4ae5\n SubscriberPackageVersionId: 04t6S000000l11iQAA\n SubscriberPackageVersionName: Marketing Cloud\n SubscriberPackageVersionNumber: 236.0.0.2\n installOnScratchOrgs: true // true or false depending you want to install this package when creating a new scratch org\n installDuringDeployments: true // set as true to install package during a deployment using sf hardis:project:deploy:smart\n installationkey: xxxxxxxxxxxxxxxxxxxx // if the package has a password, write it in this property\n - Id: 0A35r0000009F9CCAU\n SubscriberPackageId: 033b0000000Pf2AAAS\n SubscriberPackageName: Declarative Lookup Rollup Summaries Tool\n SubscriberPackageNamespace: dlrs\n SubscriberPackageVersionId: 04t5p000001BmLvAAK\n SubscriberPackageVersionName: Release\n SubscriberPackageVersionNumber: 2.15.0.9\n installOnScratchOrgs: true\n installDuringDeployments: true\n```\n\n### Deployment pre or post commands\n\nYou can define command lines to run before or after a deployment, with parameters:\n\n- **id**: Unique Id for the command\n- **label**: Human readable label for the command\n- **skipIfError**: If defined to \"true\", the post-command won't be run if there is a deployment failure\n- **context**: Defines the context where the command will be run. Can be **all** (default), **check-deployment-only** or **process-deployment-only**\n- **runOnlyOnceByOrg**: If set to true, the command will be run only one time per org. A record of SfdxHardisTrace__c is stored to make that possible (it needs to be existing in target org)\n\nIf the commands are not the same depending on the target org, you can define them into **config/branches/.sfdx-hardis-BRANCHNAME.yml** instead of root **config/.sfdx-hardis.yml**\n\nExample:\n\n```yaml\ncommandsPreDeploy:\n - id: knowledgeUnassign\n label: Remove KnowledgeUser right to the user who has it\n command: sf data update record --sobject User --where \"UserPermissionsKnowledgeUser='true'\" --values \"UserPermissionsKnowledgeUser='false'\" --json\n - id: knowledgeAssign\n label: Assign Knowledge user to the deployment user\n command: sf data update record --sobject User --where \"Username='deploy.github@myclient.com'\" --values \"UserPermissionsKnowledgeUser='true'\" --json\n\ncommandsPostDeploy:\n - id: knowledgeUnassign\n label: Remove KnowledgeUser right to the user who has it\n command: sf data update record --sobject User --where \"UserPermissionsKnowledgeUser='true'\" --values \"UserPermissionsKnowledgeUser='false'\" --json\n - id: knowledgeAssign\n label: Assign Knowledge user to desired username\n command: sf data update record --sobject User --where \"Username='admin-yser@myclient.com'\" --values \"UserPermissionsKnowledgeUser='true'\" --json\n - id: someActionToRunJustOneTime\n label: And to run only if deployment is success\n command: sf sfdmu:run ...\n skipIfError: true\n context: process-deployment-only\n runOnlyOnceByOrg: true\n```\n\n### Pull Requests Custom Behaviors\n\nIf some words are found **in the Pull Request description**, special behaviors will be applied\n\n| Word | Behavior |\n| :--- | :--- |\n| NO_DELTA | Even if delta deployments are activated, a deployment in mode **full** will be performed for this Pull Request |\n| PURGE_FLOW_VERSIONS | After deployment, inactive and obsolete Flow Versions will be deleted (equivalent to command sf hardis:org:purge:flow)<br/>**Caution: This will also purge active Flow Interviews !** |\n| DESTRUCTIVE_CHANGES_AFTER_DEPLOYMENT | If a file manifest/destructiveChanges.xml is found, it will be executed in a separate step, after the deployment of the main package |\n\n> For example, define `PURGE_FLOW_VERSIONS` and `DESTRUCTIVE_CHANGES_AFTER_DEPLOYMENT` in your Pull Request comments if you want to delete fields that are used in an active flow.\n\nNote: it is also possible to define these behaviors as ENV variables:\n\n- For all deployments (example: `PURGE_FLOW_VERSIONS=true`)\n- For a specific branch, by appending the target branch name (example: `PURGE_FLOW_VERSIONS_UAT=true`)\n\n### Deployment plan (deprecated)\n\nIf you need to deploy in multiple steps, you can define a property `deploymentPlan` in `.sfdx-hardis.yml`.\n\n- If a file `manifest/package.xml` is found, it will be placed with order 0 in the deployment plan\n\n- If a file `manifest/destructiveChanges.xml` is found, it will be executed as --postdestructivechanges\n\n- If env var `SFDX_HARDIS_DEPLOY_IGNORE_SPLIT_PACKAGES` is defined as `false` , split of package.xml will be applied\n\nExample:\n\n```yaml\ndeploymentPlan:\n packages:\n - label: Deploy Flow-Workflow\n packageXmlFile: manifest/splits/packageXmlFlowWorkflow.xml\n order: 6\n - label: Deploy SharingRules - Case\n packageXmlFile: manifest/splits/packageXmlSharingRulesCase.xml\n order: 30\n waitAfter: 30\n```\n\n### Automated fixes post deployments\n\n#### List view with scope Mine\n\nIf you defined a property **listViewsToSetToMine** in your .sfdx-hardis.yml, related ListViews will be set to Mine ( see command <https://sfdx-hardis.cloudity.com/hardis/org/fix/listviewmine/> )\n\nExample:\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 fix ListViews with mine 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\nIf you need to increase the deployment waiting time (sf project deploy start --wait arg), you can define env variable SFDX_DEPLOY_WAIT_MINUTES (default: 120)\n\nIf you need notifications to be sent using the current Pull Request and not the one just merged ([see use case](https://github.com/hardisgroupcom/sfdx-hardis/issues/637#issuecomment-2230798904)), define env variable SFDX_HARDIS_DEPLOY_BEFORE_MERGE=true\n\nIf you want to disable the calculation and display of Flow Visual Git Diff in Pull Request comments, define variable **SFDX_DISABLE_FLOW_DIFF=true**\n",
|
|
11367
11367
|
"examples": [
|
|
11368
11368
|
"$ sf hardis:project:deploy:smart",
|
|
11369
11369
|
"$ sf hardis:project:deploy:smart --check",
|
|
@@ -14805,5 +14805,5 @@
|
|
|
14805
14805
|
]
|
|
14806
14806
|
}
|
|
14807
14807
|
},
|
|
14808
|
-
"version": "5.41.0"
|
|
14808
|
+
"version": "5.41.1-alpha202506172136.0"
|
|
14809
14809
|
}
|