sfdx-hardis 5.35.0 → 5.35.1-beta202505181019.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 +2 -0
- package/defaults/ci/.github/workflows/check-deploy.yml +1 -0
- package/defaults/ci/.github/workflows/process-deploy.yml +1 -0
- package/defaults/ci/Jenkinsfile +1 -0
- package/defaults/ci/azure-pipelines-checks.yml +1 -0
- package/defaults/ci/azure-pipelines-deployment.yml +1 -0
- package/lib/commands/hardis/auth/login.js +24 -1
- package/lib/commands/hardis/auth/login.js.map +1 -1
- package/lib/commands/hardis/doc/flow2markdown.js +2 -1
- package/lib/commands/hardis/doc/flow2markdown.js.map +1 -1
- package/lib/commands/hardis/doc/project2markdown.js +2 -1
- package/lib/commands/hardis/doc/project2markdown.js.map +1 -1
- package/lib/commands/hardis/lint/access.js +2 -1
- package/lib/commands/hardis/lint/access.js.map +1 -1
- package/lib/commands/hardis/lint/metadatastatus.js +2 -1
- package/lib/commands/hardis/lint/metadatastatus.js.map +1 -1
- package/lib/commands/hardis/lint/missingattributes.js +2 -1
- package/lib/commands/hardis/lint/missingattributes.js.map +1 -1
- package/lib/commands/hardis/lint/unusedmetadatas.js +2 -1
- package/lib/commands/hardis/lint/unusedmetadatas.js.map +1 -1
- package/lib/commands/hardis/org/diagnose/audittrail.js +2 -1
- package/lib/commands/hardis/org/diagnose/audittrail.js.map +1 -1
- package/lib/commands/hardis/org/diagnose/instanceupgrade.js +2 -1
- package/lib/commands/hardis/org/diagnose/instanceupgrade.js.map +1 -1
- package/lib/commands/hardis/org/diagnose/legacyapi.js +2 -1
- package/lib/commands/hardis/org/diagnose/legacyapi.js.map +1 -1
- package/lib/commands/hardis/org/diagnose/licenses.js +2 -1
- package/lib/commands/hardis/org/diagnose/licenses.js.map +1 -1
- package/lib/commands/hardis/org/diagnose/releaseupdates.js +2 -1
- package/lib/commands/hardis/org/diagnose/releaseupdates.js.map +1 -1
- package/lib/commands/hardis/org/diagnose/unused-apex-classes.js +2 -1
- package/lib/commands/hardis/org/diagnose/unused-apex-classes.js.map +1 -1
- package/lib/commands/hardis/org/diagnose/unused-connected-apps.js +2 -1
- package/lib/commands/hardis/org/diagnose/unused-connected-apps.js.map +1 -1
- package/lib/commands/hardis/org/diagnose/unusedlicenses.js +2 -1
- package/lib/commands/hardis/org/diagnose/unusedlicenses.js.map +1 -1
- package/lib/commands/hardis/org/diagnose/unusedusers.js +2 -1
- package/lib/commands/hardis/org/diagnose/unusedusers.js.map +1 -1
- package/lib/commands/hardis/org/monitor/backup.js +2 -1
- package/lib/commands/hardis/org/monitor/backup.js.map +1 -1
- package/lib/commands/hardis/org/monitor/limits.js +2 -1
- package/lib/commands/hardis/org/monitor/limits.js.map +1 -1
- package/lib/commands/hardis/org/test/apex.js +2 -1
- package/lib/commands/hardis/org/test/apex.js.map +1 -1
- package/lib/commands/hardis/project/deploy/notify.js +2 -0
- package/lib/commands/hardis/project/deploy/notify.js.map +1 -1
- package/lib/commands/hardis/project/deploy/quick.js +2 -0
- package/lib/commands/hardis/project/deploy/quick.js.map +1 -1
- package/lib/commands/hardis/project/deploy/simulate.js +2 -1
- package/lib/commands/hardis/project/deploy/simulate.js.map +1 -1
- package/lib/commands/hardis/project/deploy/smart.js +2 -1
- package/lib/commands/hardis/project/deploy/smart.js.map +1 -1
- package/lib/commands/hardis/project/deploy/start.js +2 -0
- package/lib/commands/hardis/project/deploy/start.js.map +1 -1
- package/lib/commands/hardis/project/deploy/validate.js +2 -0
- package/lib/commands/hardis/project/deploy/validate.js.map +1 -1
- package/lib/common/aiProvider/agentforceProvider.js +1 -1
- package/lib/common/aiProvider/agentforceProvider.js.map +1 -1
- package/lib/common/aiProvider/utils.js +1 -1
- package/lib/common/aiProvider/utils.js.map +1 -1
- package/lib/common/utils/authUtils.js +3 -3
- package/lib/common/utils/authUtils.js.map +1 -1
- package/lib/common/utils/gitUtils.js +2 -1
- package/lib/common/utils/gitUtils.js.map +1 -1
- package/lib/common/utils/orgUtils.d.ts +1 -0
- package/lib/common/utils/orgUtils.js +39 -1
- package/lib/common/utils/orgUtils.js.map +1 -1
- package/oclif.manifest.json +50 -50
- package/package.json +1 -1
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": "\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",
|
|
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": {
|
|
@@ -14615,5 +14615,5 @@
|
|
|
14615
14615
|
]
|
|
14616
14616
|
}
|
|
14617
14617
|
},
|
|
14618
|
-
"version": "5.35.0"
|
|
14618
|
+
"version": "5.35.1-beta202505181019.0"
|
|
14619
14619
|
}
|
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.35.0",
|
|
6
|
+
"version": "5.35.1-beta202505181019.0",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@actions/github": "^6.0.1",
|
|
9
9
|
"@cparra/apexdocs": "^3.12.1",
|