sfdx-hardis 5.2.0 → 5.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@
4
4
 
5
5
  Note: Can be used with `sfdx plugins:install sfdx-hardis@beta` and docker image `hardisgroupcom/sfdx-hardis@beta`
6
6
 
7
+ ## [5.2.1] 2024-10-14
8
+
9
+ - 2 hardis commands: rename `-d` into something else when the short option was available twice on the same command
10
+
7
11
  ## [5.2.0] 2024-10-14
8
12
 
9
13
  - Improve [BUILD & RUN documentation](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-hotfixes/)
@@ -13,7 +13,7 @@ export default class PackageVersionPromote extends SfCommand {
13
13
  // public static args = [{name: 'file'}];
14
14
  static flags = {
15
15
  auto: Flags.boolean({
16
- char: 'd',
16
+ char: 'f',
17
17
  default: false,
18
18
  description: 'Auto-detect which versions of which packages need to be promoted',
19
19
  }),
@@ -18,7 +18,7 @@ Used by VsCode Extension`;
18
18
  // public static args = [{name: 'file'}];
19
19
  static flags = {
20
20
  "source-dir": Flags.string({
21
- char: "d",
21
+ char: "f",
22
22
  description: "Source file or directory to simulate the deployment",
23
23
  multiple: true,
24
24
  required: true
@@ -57,12 +57,12 @@
57
57
  "world:hello"
58
58
  ]
59
59
  },
60
- "hardis:auth:login": {
60
+ "hardis:cache:clear": {
61
61
  "aliases": [],
62
62
  "args": {},
63
- "description": "Login to salesforce org",
63
+ "description": "Clear cache generated by sfdx-hardis",
64
64
  "examples": [
65
- "$ sf hardis:auth:login"
65
+ "$ sf hardis:cache:clear"
66
66
  ],
67
67
  "flags": {
68
68
  "json": {
@@ -80,28 +80,6 @@
80
80
  "multiple": false,
81
81
  "type": "option"
82
82
  },
83
- "instanceurl": {
84
- "char": "r",
85
- "description": "URL of org instance",
86
- "name": "instanceurl",
87
- "hasDynamicHelp": false,
88
- "multiple": false,
89
- "type": "option"
90
- },
91
- "devhub": {
92
- "char": "h",
93
- "description": "Also connect associated DevHub",
94
- "name": "devhub",
95
- "allowNo": false,
96
- "type": "boolean"
97
- },
98
- "scratchorg": {
99
- "char": "s",
100
- "description": "Scratch org",
101
- "name": "scratchorg",
102
- "allowNo": false,
103
- "type": "boolean"
104
- },
105
83
  "debug": {
106
84
  "char": "d",
107
85
  "description": "Activate debug mode (more logs)",
@@ -125,38 +103,38 @@
125
103
  },
126
104
  "hasDynamicHelp": false,
127
105
  "hiddenAliases": [],
128
- "id": "hardis:auth:login",
106
+ "id": "hardis:cache:clear",
129
107
  "pluginAlias": "sfdx-hardis",
130
108
  "pluginName": "sfdx-hardis",
131
109
  "pluginType": "core",
132
110
  "strict": true,
133
111
  "enableJsonFlag": true,
134
- "title": "Login",
112
+ "title": "Clear sfdx-hardis cache",
135
113
  "requiresProject": false,
136
114
  "isESM": true,
137
115
  "relativePath": [
138
116
  "lib",
139
117
  "commands",
140
118
  "hardis",
141
- "auth",
142
- "login.js"
119
+ "cache",
120
+ "clear.js"
143
121
  ],
144
122
  "aliasPermutations": [],
145
123
  "permutations": [
146
- "hardis:auth:login",
147
- "auth:hardis:login",
148
- "auth:login:hardis",
149
- "hardis:login:auth",
150
- "login:hardis:auth",
151
- "login:auth:hardis"
124
+ "hardis:cache:clear",
125
+ "cache:hardis:clear",
126
+ "cache:clear:hardis",
127
+ "hardis:clear:cache",
128
+ "clear:hardis:cache",
129
+ "clear:cache:hardis"
152
130
  ]
153
131
  },
154
- "hardis:cache:clear": {
132
+ "hardis:auth:login": {
155
133
  "aliases": [],
156
134
  "args": {},
157
- "description": "Clear cache generated by sfdx-hardis",
135
+ "description": "Login to salesforce org",
158
136
  "examples": [
159
- "$ sf hardis:cache:clear"
137
+ "$ sf hardis:auth:login"
160
138
  ],
161
139
  "flags": {
162
140
  "json": {
@@ -174,6 +152,28 @@
174
152
  "multiple": false,
175
153
  "type": "option"
176
154
  },
155
+ "instanceurl": {
156
+ "char": "r",
157
+ "description": "URL of org instance",
158
+ "name": "instanceurl",
159
+ "hasDynamicHelp": false,
160
+ "multiple": false,
161
+ "type": "option"
162
+ },
163
+ "devhub": {
164
+ "char": "h",
165
+ "description": "Also connect associated DevHub",
166
+ "name": "devhub",
167
+ "allowNo": false,
168
+ "type": "boolean"
169
+ },
170
+ "scratchorg": {
171
+ "char": "s",
172
+ "description": "Scratch org",
173
+ "name": "scratchorg",
174
+ "allowNo": false,
175
+ "type": "boolean"
176
+ },
177
177
  "debug": {
178
178
  "char": "d",
179
179
  "description": "Activate debug mode (more logs)",
@@ -197,30 +197,30 @@
197
197
  },
198
198
  "hasDynamicHelp": false,
199
199
  "hiddenAliases": [],
200
- "id": "hardis:cache:clear",
200
+ "id": "hardis:auth:login",
201
201
  "pluginAlias": "sfdx-hardis",
202
202
  "pluginName": "sfdx-hardis",
203
203
  "pluginType": "core",
204
204
  "strict": true,
205
205
  "enableJsonFlag": true,
206
- "title": "Clear sfdx-hardis cache",
206
+ "title": "Login",
207
207
  "requiresProject": false,
208
208
  "isESM": true,
209
209
  "relativePath": [
210
210
  "lib",
211
211
  "commands",
212
212
  "hardis",
213
- "cache",
214
- "clear.js"
213
+ "auth",
214
+ "login.js"
215
215
  ],
216
216
  "aliasPermutations": [],
217
217
  "permutations": [
218
- "hardis:cache:clear",
219
- "cache:hardis:clear",
220
- "cache:clear:hardis",
221
- "hardis:clear:cache",
222
- "clear:hardis:cache",
223
- "clear:cache:hardis"
218
+ "hardis:auth:login",
219
+ "auth:hardis:login",
220
+ "auth:login:hardis",
221
+ "hardis:login:auth",
222
+ "login:hardis:auth",
223
+ "login:auth:hardis"
224
224
  ]
225
225
  },
226
226
  "hardis:config:get": {
@@ -7150,7 +7150,7 @@
7150
7150
  "type": "option"
7151
7151
  },
7152
7152
  "auto": {
7153
- "char": "d",
7153
+ "char": "f",
7154
7154
  "description": "Auto-detect which versions of which packages need to be promoted",
7155
7155
  "name": "auto",
7156
7156
  "allowNo": false,
@@ -9502,7 +9502,7 @@
9502
9502
  "type": "option"
9503
9503
  },
9504
9504
  "source-dir": {
9505
- "char": "d",
9505
+ "char": "f",
9506
9506
  "description": "Source file or directory to simulate the deployment",
9507
9507
  "name": "source-dir",
9508
9508
  "required": true,
@@ -12765,5 +12765,5 @@
12765
12765
  ]
12766
12766
  }
12767
12767
  },
12768
- "version": "5.2.0"
12768
+ "version": "5.2.1"
12769
12769
  }
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.2.0",
6
+ "version": "5.2.1",
7
7
  "dependencies": {
8
8
  "@actions/github": "^6.0.0",
9
9
  "@gitbeaker/node": "^35.8.1",