@simplysf/simply-package 1.1.7 → 1.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.
@@ -1,106 +1,5 @@
1
1
  {
2
2
  "commands": {
3
- "simply:package:version:cleanup": {
4
- "aliases": [],
5
- "args": {},
6
- "description": "Delete package versions for a given package provided a MAJOR.MINOR.PATCH matcher. Does not delete released pacakge versions.",
7
- "examples": [
8
- "<%= config.bin %> <%= command.id %> --package 0Hoxx00000000CqCAI --matcher 2.10.0 --target-dev-hub myDevHub"
9
- ],
10
- "flags": {
11
- "json": {
12
- "description": "Format output as json.",
13
- "helpGroup": "GLOBAL",
14
- "name": "json",
15
- "allowNo": false,
16
- "type": "boolean"
17
- },
18
- "api-version": {
19
- "description": "Override the api version used for api requests made by this command",
20
- "name": "api-version",
21
- "hasDynamicHelp": false,
22
- "multiple": false,
23
- "type": "option"
24
- },
25
- "matcher": {
26
- "char": "s",
27
- "description": "The MAJOR.MINOR.PATCH matcher that should be used to find package versions to delete.",
28
- "name": "matcher",
29
- "required": true,
30
- "summary": "MAJOR.MINOR.PATCH",
31
- "hasDynamicHelp": false,
32
- "multiple": false,
33
- "type": "option"
34
- },
35
- "package": {
36
- "char": "p",
37
- "description": "The 0Ht Package Id that you wish to cleanup versions for.",
38
- "name": "package",
39
- "required": true,
40
- "summary": "Package Id",
41
- "hasDynamicHelp": false,
42
- "multiple": false,
43
- "type": "option"
44
- },
45
- "target-dev-hub": {
46
- "char": "v",
47
- "name": "target-dev-hub",
48
- "noCacheDefault": true,
49
- "required": true,
50
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
51
- "hasDynamicHelp": true,
52
- "multiple": false,
53
- "type": "option"
54
- }
55
- },
56
- "hasDynamicHelp": true,
57
- "hiddenAliases": [],
58
- "id": "simply:package:version:cleanup",
59
- "pluginAlias": "@simplysf/simply-package",
60
- "pluginName": "@simplysf/simply-package",
61
- "pluginType": "core",
62
- "strict": true,
63
- "summary": "Cleanup package versions.",
64
- "enableJsonFlag": true,
65
- "SF_ENV": "SF_ENV",
66
- "requiresProject": true,
67
- "isESM": true,
68
- "relativePath": [
69
- "lib",
70
- "commands",
71
- "simply",
72
- "package",
73
- "version",
74
- "cleanup.js"
75
- ],
76
- "aliasPermutations": [],
77
- "permutations": [
78
- "simply:package:version:cleanup",
79
- "package:simply:version:cleanup",
80
- "package:version:simply:cleanup",
81
- "package:version:cleanup:simply",
82
- "simply:version:package:cleanup",
83
- "version:simply:package:cleanup",
84
- "version:package:simply:cleanup",
85
- "version:package:cleanup:simply",
86
- "simply:version:cleanup:package",
87
- "version:simply:cleanup:package",
88
- "version:cleanup:simply:package",
89
- "version:cleanup:package:simply",
90
- "simply:package:cleanup:version",
91
- "package:simply:cleanup:version",
92
- "package:cleanup:simply:version",
93
- "package:cleanup:version:simply",
94
- "simply:cleanup:package:version",
95
- "cleanup:simply:package:version",
96
- "cleanup:package:simply:version",
97
- "cleanup:package:version:simply",
98
- "simply:cleanup:version:package",
99
- "cleanup:simply:version:package",
100
- "cleanup:version:simply:package",
101
- "cleanup:version:package:simply"
102
- ]
103
- },
104
3
  "simply:package:dependencies:install": {
105
4
  "aliases": [],
106
5
  "args": {},
@@ -118,6 +17,14 @@
118
17
  "allowNo": false,
119
18
  "type": "boolean"
120
19
  },
20
+ "flags-dir": {
21
+ "helpGroup": "GLOBAL",
22
+ "name": "flags-dir",
23
+ "summary": "Import flag values from a directory.",
24
+ "hasDynamicHelp": false,
25
+ "multiple": false,
26
+ "type": "option"
27
+ },
121
28
  "apex-compile": {
122
29
  "char": "a",
123
30
  "description": "Applies to unlocked packages only. Specifies whether to compile all Apex in the org and package, or only the Apex in the package.\n\nFor package installs into production orgs, or any org that has Apex Compile on Deploy enabled, the platform compiles all Apex in the org after the package install or upgrade operation completes.\n\nThis approach assures that package installs and upgrades don’t impact the performance of an org, and is done even if --apex-compile package is specified.",
@@ -184,11 +91,7 @@
184
91
  "char": "b",
185
92
  "name": "publish-wait",
186
93
  "summary": "Maximum number of minutes to wait for the Subscriber Package Version ID to become available in the target org before canceling the install request.",
187
- "default": {
188
- "quantity": 0,
189
- "unit": 0
190
- },
191
- "hasDynamicHelp": false,
94
+ "hasDynamicHelp": true,
192
95
  "multiple": false,
193
96
  "type": "option"
194
97
  },
@@ -255,11 +158,7 @@
255
158
  "char": "w",
256
159
  "name": "wait",
257
160
  "summary": "Number of minutes to wait for installation status.",
258
- "default": {
259
- "quantity": 30,
260
- "unit": 0
261
- },
262
- "hasDynamicHelp": false,
161
+ "hasDynamicHelp": true,
263
162
  "multiple": false,
264
163
  "type": "option"
265
164
  }
@@ -273,7 +172,6 @@
273
172
  "strict": true,
274
173
  "summary": "Install package dependencies for a Salesforce project.",
275
174
  "enableJsonFlag": true,
276
- "SF_ENV": "SF_ENV",
277
175
  "requiresProject": true,
278
176
  "isESM": true,
279
177
  "relativePath": [
@@ -311,7 +209,115 @@
311
209
  "install:dependencies:simply:package",
312
210
  "install:dependencies:package:simply"
313
211
  ]
212
+ },
213
+ "simply:package:version:cleanup": {
214
+ "aliases": [],
215
+ "args": {},
216
+ "description": "Delete package versions for a given package provided a MAJOR.MINOR.PATCH matcher. Does not delete released pacakge versions.",
217
+ "examples": [
218
+ "<%= config.bin %> <%= command.id %> --package 0Hoxx00000000CqCAI --matcher 2.10.0 --target-dev-hub myDevHub"
219
+ ],
220
+ "flags": {
221
+ "json": {
222
+ "description": "Format output as json.",
223
+ "helpGroup": "GLOBAL",
224
+ "name": "json",
225
+ "allowNo": false,
226
+ "type": "boolean"
227
+ },
228
+ "flags-dir": {
229
+ "helpGroup": "GLOBAL",
230
+ "name": "flags-dir",
231
+ "summary": "Import flag values from a directory.",
232
+ "hasDynamicHelp": false,
233
+ "multiple": false,
234
+ "type": "option"
235
+ },
236
+ "api-version": {
237
+ "description": "Override the api version used for api requests made by this command",
238
+ "name": "api-version",
239
+ "hasDynamicHelp": false,
240
+ "multiple": false,
241
+ "type": "option"
242
+ },
243
+ "matcher": {
244
+ "char": "s",
245
+ "description": "The MAJOR.MINOR.PATCH matcher that should be used to find package versions to delete.",
246
+ "name": "matcher",
247
+ "required": true,
248
+ "summary": "MAJOR.MINOR.PATCH",
249
+ "hasDynamicHelp": false,
250
+ "multiple": false,
251
+ "type": "option"
252
+ },
253
+ "package": {
254
+ "char": "p",
255
+ "description": "The 0Ht Package Id that you wish to cleanup versions for.",
256
+ "name": "package",
257
+ "required": true,
258
+ "summary": "Package Id",
259
+ "hasDynamicHelp": false,
260
+ "multiple": false,
261
+ "type": "option"
262
+ },
263
+ "target-dev-hub": {
264
+ "char": "v",
265
+ "name": "target-dev-hub",
266
+ "noCacheDefault": true,
267
+ "required": true,
268
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
269
+ "hasDynamicHelp": true,
270
+ "multiple": false,
271
+ "type": "option"
272
+ }
273
+ },
274
+ "hasDynamicHelp": true,
275
+ "hiddenAliases": [],
276
+ "id": "simply:package:version:cleanup",
277
+ "pluginAlias": "@simplysf/simply-package",
278
+ "pluginName": "@simplysf/simply-package",
279
+ "pluginType": "core",
280
+ "strict": true,
281
+ "summary": "Cleanup package versions.",
282
+ "enableJsonFlag": true,
283
+ "requiresProject": true,
284
+ "isESM": true,
285
+ "relativePath": [
286
+ "lib",
287
+ "commands",
288
+ "simply",
289
+ "package",
290
+ "version",
291
+ "cleanup.js"
292
+ ],
293
+ "aliasPermutations": [],
294
+ "permutations": [
295
+ "simply:package:version:cleanup",
296
+ "package:simply:version:cleanup",
297
+ "package:version:simply:cleanup",
298
+ "package:version:cleanup:simply",
299
+ "simply:version:package:cleanup",
300
+ "version:simply:package:cleanup",
301
+ "version:package:simply:cleanup",
302
+ "version:package:cleanup:simply",
303
+ "simply:version:cleanup:package",
304
+ "version:simply:cleanup:package",
305
+ "version:cleanup:simply:package",
306
+ "version:cleanup:package:simply",
307
+ "simply:package:cleanup:version",
308
+ "package:simply:cleanup:version",
309
+ "package:cleanup:simply:version",
310
+ "package:cleanup:version:simply",
311
+ "simply:cleanup:package:version",
312
+ "cleanup:simply:package:version",
313
+ "cleanup:package:simply:version",
314
+ "cleanup:package:version:simply",
315
+ "simply:cleanup:version:package",
316
+ "cleanup:simply:version:package",
317
+ "cleanup:version:simply:package",
318
+ "cleanup:version:package:simply"
319
+ ]
314
320
  }
315
321
  },
316
- "version": "1.1.7"
322
+ "version": "1.2.1"
317
323
  }
package/package.json CHANGED
@@ -1,26 +1,26 @@
1
1
  {
2
2
  "name": "@simplysf/simply-package",
3
3
  "description": "Utilities for working with packages",
4
- "version": "1.1.7",
4
+ "version": "1.2.1",
5
5
  "author": "@ClayChipps",
6
6
  "bugs": "https://github.com/SimplySF/simply-package/issues",
7
7
  "dependencies": {
8
8
  "@oclif/core": "^3.25.0",
9
9
  "@salesforce/core": "^6.5.6",
10
- "@salesforce/kit": "^3.0.15",
10
+ "@salesforce/kit": "^3.1.0",
11
11
  "@salesforce/packaging": "^3.2.29",
12
- "@salesforce/sf-plugins-core": "^5.0.13",
12
+ "@salesforce/sf-plugins-core": "^8.0.0",
13
13
  "@salesforce/ts-types": "^2.0.9"
14
14
  },
15
15
  "devDependencies": {
16
- "@oclif/plugin-command-snapshot": "^5.1.1",
17
- "@salesforce/cli-plugins-testkit": "^5.1.10",
18
- "@salesforce/plugin-command-reference": "^3.0.70",
16
+ "@oclif/plugin-command-snapshot": "^5.1.4",
17
+ "@salesforce/cli-plugins-testkit": "^5.1.12",
18
+ "@salesforce/plugin-command-reference": "^3.0.71",
19
19
  "@salesforce/ts-sinon": "1.4.19",
20
20
  "@simplysf/dev-scripts": "^2.1.2",
21
21
  "@types/shelljs": "^0.8.15",
22
22
  "eslint-plugin-sf-plugin": "^1.17.4",
23
- "oclif": "^4.5.4",
23
+ "oclif": "^4.7.1",
24
24
  "shelljs": "^0.8.5",
25
25
  "ts-node": "^10.9.2",
26
26
  "typescript": "^5.4.2"