@simplysf/simply-package 3.1.4 → 3.1.6
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/oclif.manifest.json +587 -0
- package/package.json +5 -3
|
@@ -0,0 +1,587 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commands": {
|
|
3
|
+
"simply:package:version:cleanup": {
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"args": {},
|
|
6
|
+
"description": "Delete package versions for a given package provided one or more MAJOR.MINOR.PATCH selectors, either to select on or to exclude on. Does not delete released package versions.\n\nIf --selector is provided, only the unreleased versions matching any of the given MAJOR.MINOR.PATCH values are deleted. If --selector-exclude is provided instead, every unreleased version that does _not_ match any of the given MAJOR.MINOR.PATCH values is deleted. Exactly one of --selector or --selector-exclude must be specified; each accepts multiple values.",
|
|
7
|
+
"examples": [
|
|
8
|
+
"<%= config.bin %> <%= command.id %> --package 0Hoxx00000000CqCAI --selector 2.10.0 --target-dev-hub myDevHub",
|
|
9
|
+
"<%= config.bin %> <%= command.id %> --package 0Hoxx00000000CqCAI --selector 2.10.0 --selector 2.11.0 --target-dev-hub myDevHub",
|
|
10
|
+
"<%= config.bin %> <%= command.id %> --package 0Hoxx00000000CqCAI --selector-exclude 2.10.0 --target-dev-hub myDevHub"
|
|
11
|
+
],
|
|
12
|
+
"flags": {
|
|
13
|
+
"json": {
|
|
14
|
+
"description": "Format output as json.",
|
|
15
|
+
"helpGroup": "GLOBAL",
|
|
16
|
+
"name": "json",
|
|
17
|
+
"allowNo": false,
|
|
18
|
+
"type": "boolean"
|
|
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
|
+
},
|
|
28
|
+
"api-version": {
|
|
29
|
+
"description": "Override the api version used for api requests made by this command",
|
|
30
|
+
"name": "api-version",
|
|
31
|
+
"hasDynamicHelp": false,
|
|
32
|
+
"multiple": false,
|
|
33
|
+
"type": "option"
|
|
34
|
+
},
|
|
35
|
+
"selector": {
|
|
36
|
+
"char": "s",
|
|
37
|
+
"description": "The MAJOR.MINOR.PATCH selector(s) that should be used to find package versions to delete. Only unreleased versions matching any of the given selectors are deleted. Mutually exclusive with --selector-exclude.",
|
|
38
|
+
"exclusive": [
|
|
39
|
+
"selector-exclude"
|
|
40
|
+
],
|
|
41
|
+
"name": "selector",
|
|
42
|
+
"summary": "One or more MAJOR.MINOR.PATCH values to select on",
|
|
43
|
+
"hasDynamicHelp": false,
|
|
44
|
+
"multiple": true,
|
|
45
|
+
"type": "option"
|
|
46
|
+
},
|
|
47
|
+
"selector-exclude": {
|
|
48
|
+
"char": "x",
|
|
49
|
+
"description": "The MAJOR.MINOR.PATCH selector(s) that should be used to find package versions to keep. Every unreleased version that does not match any of the given selectors is deleted. Mutually exclusive with --selector.",
|
|
50
|
+
"exclusive": [
|
|
51
|
+
"selector"
|
|
52
|
+
],
|
|
53
|
+
"name": "selector-exclude",
|
|
54
|
+
"summary": "One or more MAJOR.MINOR.PATCH values to exclude on",
|
|
55
|
+
"hasDynamicHelp": false,
|
|
56
|
+
"multiple": true,
|
|
57
|
+
"type": "option"
|
|
58
|
+
},
|
|
59
|
+
"package": {
|
|
60
|
+
"char": "p",
|
|
61
|
+
"description": "The 0Ht Package Id that you wish to cleanup versions for.",
|
|
62
|
+
"name": "package",
|
|
63
|
+
"required": true,
|
|
64
|
+
"summary": "Package Id",
|
|
65
|
+
"hasDynamicHelp": false,
|
|
66
|
+
"multiple": false,
|
|
67
|
+
"type": "option"
|
|
68
|
+
},
|
|
69
|
+
"target-dev-hub": {
|
|
70
|
+
"char": "v",
|
|
71
|
+
"name": "target-dev-hub",
|
|
72
|
+
"noCacheDefault": true,
|
|
73
|
+
"required": true,
|
|
74
|
+
"summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
|
|
75
|
+
"hasDynamicHelp": true,
|
|
76
|
+
"multiple": false,
|
|
77
|
+
"type": "option"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"hasDynamicHelp": true,
|
|
81
|
+
"hiddenAliases": [],
|
|
82
|
+
"id": "simply:package:version:cleanup",
|
|
83
|
+
"pluginAlias": "@simplysf/simply-package",
|
|
84
|
+
"pluginName": "@simplysf/simply-package",
|
|
85
|
+
"pluginType": "core",
|
|
86
|
+
"strict": true,
|
|
87
|
+
"summary": "Cleanup package versions.",
|
|
88
|
+
"enableJsonFlag": true,
|
|
89
|
+
"requiresProject": true,
|
|
90
|
+
"isESM": true,
|
|
91
|
+
"relativePath": [
|
|
92
|
+
"lib",
|
|
93
|
+
"commands",
|
|
94
|
+
"simply",
|
|
95
|
+
"package",
|
|
96
|
+
"version",
|
|
97
|
+
"cleanup.js"
|
|
98
|
+
],
|
|
99
|
+
"aliasPermutations": [],
|
|
100
|
+
"permutations": [
|
|
101
|
+
"simply:package:version:cleanup",
|
|
102
|
+
"package:simply:version:cleanup",
|
|
103
|
+
"package:version:simply:cleanup",
|
|
104
|
+
"package:version:cleanup:simply",
|
|
105
|
+
"simply:version:package:cleanup",
|
|
106
|
+
"version:simply:package:cleanup",
|
|
107
|
+
"version:package:simply:cleanup",
|
|
108
|
+
"version:package:cleanup:simply",
|
|
109
|
+
"simply:version:cleanup:package",
|
|
110
|
+
"version:simply:cleanup:package",
|
|
111
|
+
"version:cleanup:simply:package",
|
|
112
|
+
"version:cleanup:package:simply",
|
|
113
|
+
"simply:package:cleanup:version",
|
|
114
|
+
"package:simply:cleanup:version",
|
|
115
|
+
"package:cleanup:simply:version",
|
|
116
|
+
"package:cleanup:version:simply",
|
|
117
|
+
"simply:cleanup:package:version",
|
|
118
|
+
"cleanup:simply:package:version",
|
|
119
|
+
"cleanup:package:simply:version",
|
|
120
|
+
"cleanup:package:version:simply",
|
|
121
|
+
"simply:cleanup:version:package",
|
|
122
|
+
"cleanup:simply:version:package",
|
|
123
|
+
"cleanup:version:simply:package",
|
|
124
|
+
"cleanup:version:package:simply"
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
"simply:package:version:get": {
|
|
128
|
+
"aliases": [],
|
|
129
|
+
"args": {},
|
|
130
|
+
"description": "Reads the version a package is declared at in your project's sfdx-project.json and prints it, so a script doesn't have to parse the project file itself.\n\nBoth dependencies and the project's own package are searched. A dependency declared as an alias (test-package@0.1.0+2) resolves to the version portion of the alias; a dependency declared as a package name plus a versionNumber resolves to that versionNumber; a dependency declared as a raw ID resolves through packageAliases. A package directory that builds the package resolves to that directory's versionNumber.\n\nThe version is returned exactly as it appears in the project file — no normalizing between the 0.1.0+2, 57.0.0-3, and 1.2.3.LATEST forms, since each means something to the tool that consumes it.\n\nThis command reads the project file only. It never contacts an org or a Dev Hub, so it can run in a pipeline before any authentication step.",
|
|
131
|
+
"examples": [
|
|
132
|
+
"Get the version of a dependency:\n<%= config.bin %> <%= command.id %> --package test-package",
|
|
133
|
+
"Get the version of the package the project itself builds:\n<%= config.bin %> <%= command.id %> --package my-package",
|
|
134
|
+
"Get a dependency's version from one package directory:\n<%= config.bin %> <%= command.id %> --package test-package --directory force-app"
|
|
135
|
+
],
|
|
136
|
+
"flags": {
|
|
137
|
+
"json": {
|
|
138
|
+
"description": "Format output as json.",
|
|
139
|
+
"helpGroup": "GLOBAL",
|
|
140
|
+
"name": "json",
|
|
141
|
+
"allowNo": false,
|
|
142
|
+
"type": "boolean"
|
|
143
|
+
},
|
|
144
|
+
"flags-dir": {
|
|
145
|
+
"helpGroup": "GLOBAL",
|
|
146
|
+
"name": "flags-dir",
|
|
147
|
+
"summary": "Import flag values from a directory.",
|
|
148
|
+
"hasDynamicHelp": false,
|
|
149
|
+
"multiple": false,
|
|
150
|
+
"type": "option"
|
|
151
|
+
},
|
|
152
|
+
"package": {
|
|
153
|
+
"char": "p",
|
|
154
|
+
"description": "The package name as it appears in sfdx-project.json, without a version suffix. For a dependency declared as \"test-package@0.1.0+2\", pass \"test-package\".",
|
|
155
|
+
"name": "package",
|
|
156
|
+
"required": true,
|
|
157
|
+
"summary": "Package name or alias to look up.",
|
|
158
|
+
"hasDynamicHelp": false,
|
|
159
|
+
"multiple": false,
|
|
160
|
+
"type": "option"
|
|
161
|
+
},
|
|
162
|
+
"directory": {
|
|
163
|
+
"char": "d",
|
|
164
|
+
"description": "The path of a single package directory to search, matching a \"path\" value in packageDirectories. Use this when the same package is declared at different versions in more than one package directory.",
|
|
165
|
+
"name": "directory",
|
|
166
|
+
"summary": "Package directory to search.",
|
|
167
|
+
"hasDynamicHelp": false,
|
|
168
|
+
"multiple": false,
|
|
169
|
+
"type": "option"
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"hasDynamicHelp": false,
|
|
173
|
+
"hiddenAliases": [],
|
|
174
|
+
"id": "simply:package:version:get",
|
|
175
|
+
"pluginAlias": "@simplysf/simply-package",
|
|
176
|
+
"pluginName": "@simplysf/simply-package",
|
|
177
|
+
"pluginType": "core",
|
|
178
|
+
"strict": true,
|
|
179
|
+
"summary": "Get a package version from sfdx-project.json.",
|
|
180
|
+
"enableJsonFlag": true,
|
|
181
|
+
"requiresProject": true,
|
|
182
|
+
"isESM": true,
|
|
183
|
+
"relativePath": [
|
|
184
|
+
"lib",
|
|
185
|
+
"commands",
|
|
186
|
+
"simply",
|
|
187
|
+
"package",
|
|
188
|
+
"version",
|
|
189
|
+
"get.js"
|
|
190
|
+
],
|
|
191
|
+
"aliasPermutations": [],
|
|
192
|
+
"permutations": [
|
|
193
|
+
"simply:package:version:get",
|
|
194
|
+
"package:simply:version:get",
|
|
195
|
+
"package:version:simply:get",
|
|
196
|
+
"package:version:get:simply",
|
|
197
|
+
"simply:version:package:get",
|
|
198
|
+
"version:simply:package:get",
|
|
199
|
+
"version:package:simply:get",
|
|
200
|
+
"version:package:get:simply",
|
|
201
|
+
"simply:version:get:package",
|
|
202
|
+
"version:simply:get:package",
|
|
203
|
+
"version:get:simply:package",
|
|
204
|
+
"version:get:package:simply",
|
|
205
|
+
"simply:package:get:version",
|
|
206
|
+
"package:simply:get:version",
|
|
207
|
+
"package:get:simply:version",
|
|
208
|
+
"package:get:version:simply",
|
|
209
|
+
"simply:get:package:version",
|
|
210
|
+
"get:simply:package:version",
|
|
211
|
+
"get:package:simply:version",
|
|
212
|
+
"get:package:version:simply",
|
|
213
|
+
"simply:get:version:package",
|
|
214
|
+
"get:simply:version:package",
|
|
215
|
+
"get:version:simply:package",
|
|
216
|
+
"get:version:package:simply"
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
"simply:package:dependencies:install": {
|
|
220
|
+
"aliases": [],
|
|
221
|
+
"args": {},
|
|
222
|
+
"description": "Installs all specified package dependencies in a Salesforce DX project using the sfdx-project.json definition.",
|
|
223
|
+
"examples": [
|
|
224
|
+
"<%= config.bin %> <%= command.id %> --target-org myTargetOrg --target-dev-hub myTargetDevHub",
|
|
225
|
+
"<%= config.bin %> <%= command.id %> --target-org myTargetOrg --target-dev-hub myTargetDevHub --installation-key \"MyPackage1Alias:MyPackage1Key\"",
|
|
226
|
+
"<%= config.bin %> <%= command.id %> --target-org myTargetOrg --target-dev-hub myTargetDevHub --installation-key \"MyPackage1Alias:MyPackage1Key\" --installation-key \"MyPackage2Alias:MyPackage2Key\"",
|
|
227
|
+
"<%= config.bin %> <%= command.id %> --target-org myTargetOrg --target-dev-hub myTargetDevHub --output-file install-report.json",
|
|
228
|
+
"<%= config.bin %> <%= command.id %> --target-org myTargetOrg --target-dev-hub myTargetDevHub --retry-attempts 3 --retry-backoff 2",
|
|
229
|
+
"<%= config.bin %> <%= command.id %> --target-org myTargetOrg --target-dev-hub myTargetDevHub --retry-attempts 1 --package-retry-attempts \"MyPackage1Alias:5\""
|
|
230
|
+
],
|
|
231
|
+
"flags": {
|
|
232
|
+
"json": {
|
|
233
|
+
"description": "Format output as json.",
|
|
234
|
+
"helpGroup": "GLOBAL",
|
|
235
|
+
"name": "json",
|
|
236
|
+
"allowNo": false,
|
|
237
|
+
"type": "boolean"
|
|
238
|
+
},
|
|
239
|
+
"flags-dir": {
|
|
240
|
+
"helpGroup": "GLOBAL",
|
|
241
|
+
"name": "flags-dir",
|
|
242
|
+
"summary": "Import flag values from a directory.",
|
|
243
|
+
"hasDynamicHelp": false,
|
|
244
|
+
"multiple": false,
|
|
245
|
+
"type": "option"
|
|
246
|
+
},
|
|
247
|
+
"apex-compile": {
|
|
248
|
+
"char": "a",
|
|
249
|
+
"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.",
|
|
250
|
+
"name": "apex-compile",
|
|
251
|
+
"summary": "Compile all Apex in the org and package, or only Apex in the package; unlocked packages only.",
|
|
252
|
+
"hasDynamicHelp": false,
|
|
253
|
+
"multiple": false,
|
|
254
|
+
"options": [
|
|
255
|
+
"all",
|
|
256
|
+
"package"
|
|
257
|
+
],
|
|
258
|
+
"type": "option"
|
|
259
|
+
},
|
|
260
|
+
"api-version": {
|
|
261
|
+
"description": "Override the api version used for api requests made by this command",
|
|
262
|
+
"name": "api-version",
|
|
263
|
+
"hasDynamicHelp": false,
|
|
264
|
+
"multiple": false,
|
|
265
|
+
"type": "option"
|
|
266
|
+
},
|
|
267
|
+
"target-org": {
|
|
268
|
+
"char": "o",
|
|
269
|
+
"name": "target-org",
|
|
270
|
+
"noCacheDefault": true,
|
|
271
|
+
"required": true,
|
|
272
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
273
|
+
"hasDynamicHelp": true,
|
|
274
|
+
"multiple": false,
|
|
275
|
+
"type": "option"
|
|
276
|
+
},
|
|
277
|
+
"branch": {
|
|
278
|
+
"char": "z",
|
|
279
|
+
"description": "For dependencies specified by Package/VersionNumber combination, you can specify the branch group of builds to work from by entering the branch build name. If not specified, the builds from NULL branch will be considered.",
|
|
280
|
+
"name": "branch",
|
|
281
|
+
"summary": "Package branch to consider when specifiying a Package/VersionNumber combination",
|
|
282
|
+
"default": "",
|
|
283
|
+
"hasDynamicHelp": false,
|
|
284
|
+
"multiple": false,
|
|
285
|
+
"type": "option"
|
|
286
|
+
},
|
|
287
|
+
"install-type": {
|
|
288
|
+
"char": "i",
|
|
289
|
+
"description": "If 'All' is specified, then all packages specified in package dependencies are installed, regardless of if the version already is installed in the org. If 'Delta' is specified, then only packages that differ from what is installed in the org will be installed. If 'Upgrade' is specified, then a package is installed only if it isn't already installed, or if its semantic version (major.minor.patch.build) is newer than the version currently installed in the org; packages with an installed version that is the same as or newer than the target version are skipped.",
|
|
290
|
+
"name": "install-type",
|
|
291
|
+
"summary": "Install all packages, only deltas, or only newer versions.",
|
|
292
|
+
"default": "Upgrade",
|
|
293
|
+
"hasDynamicHelp": false,
|
|
294
|
+
"multiple": false,
|
|
295
|
+
"options": [
|
|
296
|
+
"All",
|
|
297
|
+
"Delta",
|
|
298
|
+
"Upgrade"
|
|
299
|
+
],
|
|
300
|
+
"type": "option"
|
|
301
|
+
},
|
|
302
|
+
"installation-key": {
|
|
303
|
+
"char": "k",
|
|
304
|
+
"description": "Installation key for key-protected packages in the key:value format of SubscriberPackageVersionId:Key",
|
|
305
|
+
"name": "installation-key",
|
|
306
|
+
"summary": "Installation key for key-protected packages",
|
|
307
|
+
"hasDynamicHelp": false,
|
|
308
|
+
"multiple": true,
|
|
309
|
+
"type": "option"
|
|
310
|
+
},
|
|
311
|
+
"no-prompt": {
|
|
312
|
+
"char": "r",
|
|
313
|
+
"description": "Allows the following without an explicit confirmation response: 1) Remote Site Settings and Content Security Policy websites to send or receive data, and 2) --upgrade-type Delete to proceed.",
|
|
314
|
+
"name": "no-prompt",
|
|
315
|
+
"required": false,
|
|
316
|
+
"summary": "Don't prompt for confirmation.",
|
|
317
|
+
"allowNo": false,
|
|
318
|
+
"type": "boolean"
|
|
319
|
+
},
|
|
320
|
+
"output-file": {
|
|
321
|
+
"description": "When specified, a JSON report of the install outcome for every resolved dependency is written to this path, in addition to the normal terminal output you can continue to monitor as the command runs. Each entry includes the package name, the SubscriberPackageVersionId already installed in the org (if any), the SubscriberPackageVersionId that was attempted, and the decision made (Skipped, Installed, Installing, or Failed).",
|
|
322
|
+
"name": "output-file",
|
|
323
|
+
"summary": "Path to write a JSON install report to.",
|
|
324
|
+
"hasDynamicHelp": false,
|
|
325
|
+
"multiple": false,
|
|
326
|
+
"type": "option"
|
|
327
|
+
},
|
|
328
|
+
"package-retry-attempts": {
|
|
329
|
+
"description": "Retry attempts for a specific package in the key:value format of SubscriberPackageVersionId:RetryAttempts. You can use an alias in place of the SubscriberPackageVersionId. Repeat this flag to set overrides for multiple packages. Packages not listed here use --retry-attempts.",
|
|
330
|
+
"name": "package-retry-attempts",
|
|
331
|
+
"summary": "Number of retry attempts for a specific package, overriding --retry-attempts for that package only.",
|
|
332
|
+
"hasDynamicHelp": false,
|
|
333
|
+
"multiple": true,
|
|
334
|
+
"type": "option"
|
|
335
|
+
},
|
|
336
|
+
"publish-wait": {
|
|
337
|
+
"char": "b",
|
|
338
|
+
"name": "publish-wait",
|
|
339
|
+
"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.",
|
|
340
|
+
"hasDynamicHelp": true,
|
|
341
|
+
"multiple": false,
|
|
342
|
+
"type": "option"
|
|
343
|
+
},
|
|
344
|
+
"retry-attempts": {
|
|
345
|
+
"name": "retry-attempts",
|
|
346
|
+
"summary": "Number of additional attempts to make if a package install fails, before giving up on that package. Defaults to 0 (no retries). Does not apply when the install is still In-Progress when polling times out, since retrying could race or duplicate an install that may still complete server-side. Overridden per-package by --package-retry-attempts.",
|
|
347
|
+
"default": 0,
|
|
348
|
+
"hasDynamicHelp": false,
|
|
349
|
+
"multiple": false,
|
|
350
|
+
"type": "option"
|
|
351
|
+
},
|
|
352
|
+
"retry-backoff": {
|
|
353
|
+
"name": "retry-backoff",
|
|
354
|
+
"summary": "Factor the delay between install retries grows by after each failed attempt (e.g. 2 doubles the delay each time). Only relevant when a package has retries enabled via --retry-attempts or --package-retry-attempts. Applies to every package's retries; there is no per-package override.",
|
|
355
|
+
"default": 2,
|
|
356
|
+
"hasDynamicHelp": false,
|
|
357
|
+
"multiple": false,
|
|
358
|
+
"type": "option"
|
|
359
|
+
},
|
|
360
|
+
"security-type": {
|
|
361
|
+
"char": "s",
|
|
362
|
+
"name": "security-type",
|
|
363
|
+
"summary": "Security access type for the installed package. (deprecation notice: The default --security-type value will change from AllUsers to AdminsOnly in v47.0 or later.)",
|
|
364
|
+
"default": "AdminsOnly",
|
|
365
|
+
"hasDynamicHelp": false,
|
|
366
|
+
"multiple": false,
|
|
367
|
+
"options": [
|
|
368
|
+
"AllUsers",
|
|
369
|
+
"AdminsOnly"
|
|
370
|
+
],
|
|
371
|
+
"type": "option"
|
|
372
|
+
},
|
|
373
|
+
"skip-handlers": {
|
|
374
|
+
"char": "l",
|
|
375
|
+
"description": "Allows the installer of a package to optionally skip install handlers in order to decrease overall installation time (available handlers: FeatureEnforcement).",
|
|
376
|
+
"hidden": true,
|
|
377
|
+
"name": "skip-handlers",
|
|
378
|
+
"summary": "Skip install handlers (available handlers: FeatureEnforcement).",
|
|
379
|
+
"hasDynamicHelp": false,
|
|
380
|
+
"multiple": true,
|
|
381
|
+
"options": [
|
|
382
|
+
"FeatureEnforcement"
|
|
383
|
+
],
|
|
384
|
+
"type": "option"
|
|
385
|
+
},
|
|
386
|
+
"target-dev-hub": {
|
|
387
|
+
"char": "v",
|
|
388
|
+
"name": "target-dev-hub",
|
|
389
|
+
"summary": "Username or alias of the Dev Hub org.",
|
|
390
|
+
"hasDynamicHelp": false,
|
|
391
|
+
"multiple": false,
|
|
392
|
+
"type": "option"
|
|
393
|
+
},
|
|
394
|
+
"upgrade-type": {
|
|
395
|
+
"char": "t",
|
|
396
|
+
"description": "For package upgrades, specifies whether to mark all removed components as deprecated (DeprecateOnly), to delete removed components that can be safely deleted and deprecate the others (Mixed), or to delete all removed components, except for custom objects and custom fields, that don't have dependencies (Delete). The default is Mixed. Can specify DeprecateOnly or Delete only for unlocked package upgrades.",
|
|
397
|
+
"name": "upgrade-type",
|
|
398
|
+
"summary": "Upgrade type for the package installation; available only for unlocked packages.",
|
|
399
|
+
"default": "Mixed",
|
|
400
|
+
"hasDynamicHelp": false,
|
|
401
|
+
"multiple": false,
|
|
402
|
+
"options": [
|
|
403
|
+
"DeprecateOnly",
|
|
404
|
+
"Mixed",
|
|
405
|
+
"Delete"
|
|
406
|
+
],
|
|
407
|
+
"type": "option"
|
|
408
|
+
},
|
|
409
|
+
"wait": {
|
|
410
|
+
"char": "w",
|
|
411
|
+
"name": "wait",
|
|
412
|
+
"summary": "Number of minutes to wait for installation status.",
|
|
413
|
+
"hasDynamicHelp": true,
|
|
414
|
+
"multiple": false,
|
|
415
|
+
"type": "option"
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
"hasDynamicHelp": true,
|
|
419
|
+
"hiddenAliases": [],
|
|
420
|
+
"id": "simply:package:dependencies:install",
|
|
421
|
+
"pluginAlias": "@simplysf/simply-package",
|
|
422
|
+
"pluginName": "@simplysf/simply-package",
|
|
423
|
+
"pluginType": "core",
|
|
424
|
+
"strict": true,
|
|
425
|
+
"summary": "Install package dependencies for a Salesforce project.",
|
|
426
|
+
"enableJsonFlag": true,
|
|
427
|
+
"requiresProject": true,
|
|
428
|
+
"isESM": true,
|
|
429
|
+
"relativePath": [
|
|
430
|
+
"lib",
|
|
431
|
+
"commands",
|
|
432
|
+
"simply",
|
|
433
|
+
"package",
|
|
434
|
+
"dependencies",
|
|
435
|
+
"install.js"
|
|
436
|
+
],
|
|
437
|
+
"aliasPermutations": [],
|
|
438
|
+
"permutations": [
|
|
439
|
+
"simply:package:dependencies:install",
|
|
440
|
+
"package:simply:dependencies:install",
|
|
441
|
+
"package:dependencies:simply:install",
|
|
442
|
+
"package:dependencies:install:simply",
|
|
443
|
+
"simply:dependencies:package:install",
|
|
444
|
+
"dependencies:simply:package:install",
|
|
445
|
+
"dependencies:package:simply:install",
|
|
446
|
+
"dependencies:package:install:simply",
|
|
447
|
+
"simply:dependencies:install:package",
|
|
448
|
+
"dependencies:simply:install:package",
|
|
449
|
+
"dependencies:install:simply:package",
|
|
450
|
+
"dependencies:install:package:simply",
|
|
451
|
+
"simply:package:install:dependencies",
|
|
452
|
+
"package:simply:install:dependencies",
|
|
453
|
+
"package:install:simply:dependencies",
|
|
454
|
+
"package:install:dependencies:simply",
|
|
455
|
+
"simply:install:package:dependencies",
|
|
456
|
+
"install:simply:package:dependencies",
|
|
457
|
+
"install:package:simply:dependencies",
|
|
458
|
+
"install:package:dependencies:simply",
|
|
459
|
+
"simply:install:dependencies:package",
|
|
460
|
+
"install:simply:dependencies:package",
|
|
461
|
+
"install:dependencies:simply:package",
|
|
462
|
+
"install:dependencies:package:simply"
|
|
463
|
+
]
|
|
464
|
+
},
|
|
465
|
+
"simply:package:dependencies:manage": {
|
|
466
|
+
"aliases": [],
|
|
467
|
+
"args": {},
|
|
468
|
+
"description": "Interactively updates package dependency versions in sfdx-project.json by querying the Dev Hub for available versions. Supports interactive selection or automatic update to the latest released or latest build version.\n\nProject-level configuration (in sfdx-project.json) is read from the following keys:\n\n- plugins.simply.dependencies.ignore — array of Package2Ids or aliases to leave unchanged\n- plugins.simply.package.brancheswithreleasedversions — array of branch names that contain released versions",
|
|
469
|
+
"examples": [
|
|
470
|
+
"<%= config.bin %> <%= command.id %> --target-dev-hub myDevHub",
|
|
471
|
+
"<%= config.bin %> <%= command.id %> --target-dev-hub myDevHub --branch my-feature-branch",
|
|
472
|
+
"<%= config.bin %> <%= command.id %> --target-dev-hub myDevHub --update-to-released",
|
|
473
|
+
"<%= config.bin %> <%= command.id %> --target-dev-hub myDevHub --update-to-latest"
|
|
474
|
+
],
|
|
475
|
+
"flags": {
|
|
476
|
+
"json": {
|
|
477
|
+
"description": "Format output as json.",
|
|
478
|
+
"helpGroup": "GLOBAL",
|
|
479
|
+
"name": "json",
|
|
480
|
+
"allowNo": false,
|
|
481
|
+
"type": "boolean"
|
|
482
|
+
},
|
|
483
|
+
"flags-dir": {
|
|
484
|
+
"helpGroup": "GLOBAL",
|
|
485
|
+
"name": "flags-dir",
|
|
486
|
+
"summary": "Import flag values from a directory.",
|
|
487
|
+
"hasDynamicHelp": false,
|
|
488
|
+
"multiple": false,
|
|
489
|
+
"type": "option"
|
|
490
|
+
},
|
|
491
|
+
"branch": {
|
|
492
|
+
"char": "b",
|
|
493
|
+
"description": "When specified, the command will include the latest build on this branch as a selectable option for each dependency.",
|
|
494
|
+
"name": "branch",
|
|
495
|
+
"summary": "Package branch to consider when evaluating version options.",
|
|
496
|
+
"hasDynamicHelp": false,
|
|
497
|
+
"multiple": false,
|
|
498
|
+
"type": "option"
|
|
499
|
+
},
|
|
500
|
+
"update-to-released": {
|
|
501
|
+
"description": "When specified, all dependencies managed by the Dev Hub are automatically updated to the latest released package version without interactive prompts. Mutually exclusive with --update-to-latest.",
|
|
502
|
+
"exclusive": [
|
|
503
|
+
"update-to-latest"
|
|
504
|
+
],
|
|
505
|
+
"name": "update-to-released",
|
|
506
|
+
"summary": "Automatically update all dependencies to the latest released version.",
|
|
507
|
+
"allowNo": false,
|
|
508
|
+
"type": "boolean"
|
|
509
|
+
},
|
|
510
|
+
"update-to-latest": {
|
|
511
|
+
"description": "When specified, all dependencies managed by the Dev Hub are automatically set to a non-pinned X.Y.Z.LATEST version number without interactive prompts. Mutually exclusive with --update-to-released.",
|
|
512
|
+
"exclusive": [
|
|
513
|
+
"update-to-released"
|
|
514
|
+
],
|
|
515
|
+
"name": "update-to-latest",
|
|
516
|
+
"summary": "Automatically set all dependencies to the latest non-pinned build.",
|
|
517
|
+
"allowNo": false,
|
|
518
|
+
"type": "boolean"
|
|
519
|
+
},
|
|
520
|
+
"api-version": {
|
|
521
|
+
"description": "Override the api version used for api requests made by this command",
|
|
522
|
+
"name": "api-version",
|
|
523
|
+
"hasDynamicHelp": false,
|
|
524
|
+
"multiple": false,
|
|
525
|
+
"type": "option"
|
|
526
|
+
},
|
|
527
|
+
"target-dev-hub": {
|
|
528
|
+
"char": "v",
|
|
529
|
+
"name": "target-dev-hub",
|
|
530
|
+
"noCacheDefault": true,
|
|
531
|
+
"required": true,
|
|
532
|
+
"summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
|
|
533
|
+
"hasDynamicHelp": true,
|
|
534
|
+
"multiple": false,
|
|
535
|
+
"type": "option"
|
|
536
|
+
}
|
|
537
|
+
},
|
|
538
|
+
"hasDynamicHelp": true,
|
|
539
|
+
"hiddenAliases": [],
|
|
540
|
+
"id": "simply:package:dependencies:manage",
|
|
541
|
+
"pluginAlias": "@simplysf/simply-package",
|
|
542
|
+
"pluginName": "@simplysf/simply-package",
|
|
543
|
+
"pluginType": "core",
|
|
544
|
+
"strict": true,
|
|
545
|
+
"summary": "Manage package dependency versions for a Salesforce project.",
|
|
546
|
+
"enableJsonFlag": true,
|
|
547
|
+
"requiresProject": true,
|
|
548
|
+
"isESM": true,
|
|
549
|
+
"relativePath": [
|
|
550
|
+
"lib",
|
|
551
|
+
"commands",
|
|
552
|
+
"simply",
|
|
553
|
+
"package",
|
|
554
|
+
"dependencies",
|
|
555
|
+
"manage.js"
|
|
556
|
+
],
|
|
557
|
+
"aliasPermutations": [],
|
|
558
|
+
"permutations": [
|
|
559
|
+
"simply:package:dependencies:manage",
|
|
560
|
+
"package:simply:dependencies:manage",
|
|
561
|
+
"package:dependencies:simply:manage",
|
|
562
|
+
"package:dependencies:manage:simply",
|
|
563
|
+
"simply:dependencies:package:manage",
|
|
564
|
+
"dependencies:simply:package:manage",
|
|
565
|
+
"dependencies:package:simply:manage",
|
|
566
|
+
"dependencies:package:manage:simply",
|
|
567
|
+
"simply:dependencies:manage:package",
|
|
568
|
+
"dependencies:simply:manage:package",
|
|
569
|
+
"dependencies:manage:simply:package",
|
|
570
|
+
"dependencies:manage:package:simply",
|
|
571
|
+
"simply:package:manage:dependencies",
|
|
572
|
+
"package:simply:manage:dependencies",
|
|
573
|
+
"package:manage:simply:dependencies",
|
|
574
|
+
"package:manage:dependencies:simply",
|
|
575
|
+
"simply:manage:package:dependencies",
|
|
576
|
+
"manage:simply:package:dependencies",
|
|
577
|
+
"manage:package:simply:dependencies",
|
|
578
|
+
"manage:package:dependencies:simply",
|
|
579
|
+
"simply:manage:dependencies:package",
|
|
580
|
+
"manage:simply:dependencies:package",
|
|
581
|
+
"manage:dependencies:simply:package",
|
|
582
|
+
"manage:dependencies:package:simply"
|
|
583
|
+
]
|
|
584
|
+
}
|
|
585
|
+
},
|
|
586
|
+
"version": "3.1.6"
|
|
587
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplysf/simply-package",
|
|
3
3
|
"description": "Utilities for working with packages",
|
|
4
|
-
"version": "3.1.
|
|
4
|
+
"version": "3.1.6",
|
|
5
5
|
"author": "@ClayChipps",
|
|
6
6
|
"homepage": "https://github.com/SimplySF/simply-plugins",
|
|
7
7
|
"bugs": "https://github.com/SimplySF/simply-plugins/issues",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
84
|
"@oclif/plugin-command-snapshot": "^5.4.0",
|
|
85
|
-
"@salesforce/plugin-command-reference": "^3.1.
|
|
85
|
+
"@salesforce/plugin-command-reference": "^3.1.134",
|
|
86
86
|
"@vitest/coverage-v8": "^4.1.10",
|
|
87
87
|
"vitest": "^4.1.10"
|
|
88
88
|
},
|
|
@@ -95,6 +95,8 @@
|
|
|
95
95
|
"fix-license": "eslint src test --fix --rule \"header/header: [2]\"",
|
|
96
96
|
"format": "wireit",
|
|
97
97
|
"lint": "wireit",
|
|
98
|
+
"postpack": "node -e \"require('node:fs').rmSync('oclif.manifest.json', { force: true })\"",
|
|
99
|
+
"prepack": "oclif manifest .",
|
|
98
100
|
"readme": "oclif readme --no-aliases",
|
|
99
101
|
"test": "wireit",
|
|
100
102
|
"test:coverage": "vitest run --coverage --project simply-package",
|
|
@@ -213,5 +215,5 @@
|
|
|
213
215
|
"output": []
|
|
214
216
|
}
|
|
215
217
|
},
|
|
216
|
-
"gitHead": "
|
|
218
|
+
"gitHead": "a5aac006f9776347e6d0f845d270660d2db81a28"
|
|
217
219
|
}
|