@simplysf/simply-package 4.0.1 → 4.0.2

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/README.md CHANGED
@@ -157,7 +157,7 @@ FLAG DESCRIPTIONS
157
157
  Packages not listed here use --retry-attempts.
158
158
  ```
159
159
 
160
- _See code: [lib/commands/simply/package/dependencies/install.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-package@4.0.1/packages/simply-package/lib/commands/simply/package/dependencies/install.js)_
160
+ _See code: [lib/commands/simply/package/dependencies/install.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-package@4.0.2/packages/simply-package/lib/commands/simply/package/dependencies/install.js)_
161
161
 
162
162
  ## `sf simply package dependencies manage`
163
163
 
@@ -216,7 +216,7 @@ FLAG DESCRIPTIONS
216
216
  version without interactive prompts. Mutually exclusive with --update-to-latest.
217
217
  ```
218
218
 
219
- _See code: [lib/commands/simply/package/dependencies/manage.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-package@4.0.1/packages/simply-package/lib/commands/simply/package/dependencies/manage.js)_
219
+ _See code: [lib/commands/simply/package/dependencies/manage.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-package@4.0.2/packages/simply-package/lib/commands/simply/package/dependencies/manage.js)_
220
220
 
221
221
  ## `sf simply package version cleanup`
222
222
 
@@ -273,7 +273,7 @@ FLAG DESCRIPTIONS
273
273
  that does not match any of the given selectors is deleted. Mutually exclusive with --selector.
274
274
  ```
275
275
 
276
- _See code: [lib/commands/simply/package/version/cleanup.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-package@4.0.1/packages/simply-package/lib/commands/simply/package/version/cleanup.js)_
276
+ _See code: [lib/commands/simply/package/version/cleanup.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-package@4.0.2/packages/simply-package/lib/commands/simply/package/version/cleanup.js)_
277
277
 
278
278
  ## `sf simply package version get`
279
279
 
@@ -333,7 +333,7 @@ FLAG DESCRIPTIONS
333
333
  "test-package@0.1.0+2", pass "test-package".
334
334
  ```
335
335
 
336
- _See code: [lib/commands/simply/package/version/get.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-package@4.0.1/packages/simply-package/lib/commands/simply/package/version/get.js)_
336
+ _See code: [lib/commands/simply/package/version/get.js](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-package@4.0.2/packages/simply-package/lib/commands/simply/package/version/get.js)_
337
337
  <!-- commandsstop -->
338
338
 
339
339
  ## Configuration Files
@@ -1,221 +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 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
3
  "simply:package:dependencies:install": {
220
4
  "aliases": [],
221
5
  "args": {},
@@ -581,7 +365,223 @@
581
365
  "manage:dependencies:simply:package",
582
366
  "manage:dependencies:package:simply"
583
367
  ]
368
+ },
369
+ "simply:package:version:cleanup": {
370
+ "aliases": [],
371
+ "args": {},
372
+ "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.",
373
+ "examples": [
374
+ "<%= config.bin %> <%= command.id %> --package 0Hoxx00000000CqCAI --selector 2.10.0 --target-dev-hub myDevHub",
375
+ "<%= config.bin %> <%= command.id %> --package 0Hoxx00000000CqCAI --selector 2.10.0 --selector 2.11.0 --target-dev-hub myDevHub",
376
+ "<%= config.bin %> <%= command.id %> --package 0Hoxx00000000CqCAI --selector-exclude 2.10.0 --target-dev-hub myDevHub"
377
+ ],
378
+ "flags": {
379
+ "json": {
380
+ "description": "Format output as json.",
381
+ "helpGroup": "GLOBAL",
382
+ "name": "json",
383
+ "allowNo": false,
384
+ "type": "boolean"
385
+ },
386
+ "flags-dir": {
387
+ "helpGroup": "GLOBAL",
388
+ "name": "flags-dir",
389
+ "summary": "Import flag values from a directory.",
390
+ "hasDynamicHelp": false,
391
+ "multiple": false,
392
+ "type": "option"
393
+ },
394
+ "api-version": {
395
+ "description": "Override the api version used for api requests made by this command",
396
+ "name": "api-version",
397
+ "hasDynamicHelp": false,
398
+ "multiple": false,
399
+ "type": "option"
400
+ },
401
+ "selector": {
402
+ "char": "s",
403
+ "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.",
404
+ "exclusive": [
405
+ "selector-exclude"
406
+ ],
407
+ "name": "selector",
408
+ "summary": "One or more MAJOR.MINOR.PATCH values to select on",
409
+ "hasDynamicHelp": false,
410
+ "multiple": true,
411
+ "type": "option"
412
+ },
413
+ "selector-exclude": {
414
+ "char": "x",
415
+ "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.",
416
+ "exclusive": [
417
+ "selector"
418
+ ],
419
+ "name": "selector-exclude",
420
+ "summary": "One or more MAJOR.MINOR.PATCH values to exclude on",
421
+ "hasDynamicHelp": false,
422
+ "multiple": true,
423
+ "type": "option"
424
+ },
425
+ "package": {
426
+ "char": "p",
427
+ "description": "The 0Ht Package Id that you wish to cleanup versions for.",
428
+ "name": "package",
429
+ "required": true,
430
+ "summary": "Package Id",
431
+ "hasDynamicHelp": false,
432
+ "multiple": false,
433
+ "type": "option"
434
+ },
435
+ "target-dev-hub": {
436
+ "char": "v",
437
+ "name": "target-dev-hub",
438
+ "noCacheDefault": true,
439
+ "required": true,
440
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
441
+ "hasDynamicHelp": true,
442
+ "multiple": false,
443
+ "type": "option"
444
+ }
445
+ },
446
+ "hasDynamicHelp": true,
447
+ "hiddenAliases": [],
448
+ "id": "simply:package:version:cleanup",
449
+ "pluginAlias": "@simplysf/simply-package",
450
+ "pluginName": "@simplysf/simply-package",
451
+ "pluginType": "core",
452
+ "strict": true,
453
+ "summary": "Cleanup package versions.",
454
+ "enableJsonFlag": true,
455
+ "requiresProject": true,
456
+ "isESM": true,
457
+ "relativePath": [
458
+ "lib",
459
+ "commands",
460
+ "simply",
461
+ "package",
462
+ "version",
463
+ "cleanup.js"
464
+ ],
465
+ "aliasPermutations": [],
466
+ "permutations": [
467
+ "simply:package:version:cleanup",
468
+ "package:simply:version:cleanup",
469
+ "package:version:simply:cleanup",
470
+ "package:version:cleanup:simply",
471
+ "simply:version:package:cleanup",
472
+ "version:simply:package:cleanup",
473
+ "version:package:simply:cleanup",
474
+ "version:package:cleanup:simply",
475
+ "simply:version:cleanup:package",
476
+ "version:simply:cleanup:package",
477
+ "version:cleanup:simply:package",
478
+ "version:cleanup:package:simply",
479
+ "simply:package:cleanup:version",
480
+ "package:simply:cleanup:version",
481
+ "package:cleanup:simply:version",
482
+ "package:cleanup:version:simply",
483
+ "simply:cleanup:package:version",
484
+ "cleanup:simply:package:version",
485
+ "cleanup:package:simply:version",
486
+ "cleanup:package:version:simply",
487
+ "simply:cleanup:version:package",
488
+ "cleanup:simply:version:package",
489
+ "cleanup:version:simply:package",
490
+ "cleanup:version:package:simply"
491
+ ]
492
+ },
493
+ "simply:package:version:get": {
494
+ "aliases": [],
495
+ "args": {},
496
+ "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.",
497
+ "examples": [
498
+ "Get the version of a dependency:\n<%= config.bin %> <%= command.id %> --package test-package",
499
+ "Get the version of the package the project itself builds:\n<%= config.bin %> <%= command.id %> --package my-package",
500
+ "Get a dependency's version from one package directory:\n<%= config.bin %> <%= command.id %> --package test-package --directory force-app"
501
+ ],
502
+ "flags": {
503
+ "json": {
504
+ "description": "Format output as json.",
505
+ "helpGroup": "GLOBAL",
506
+ "name": "json",
507
+ "allowNo": false,
508
+ "type": "boolean"
509
+ },
510
+ "flags-dir": {
511
+ "helpGroup": "GLOBAL",
512
+ "name": "flags-dir",
513
+ "summary": "Import flag values from a directory.",
514
+ "hasDynamicHelp": false,
515
+ "multiple": false,
516
+ "type": "option"
517
+ },
518
+ "package": {
519
+ "char": "p",
520
+ "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\".",
521
+ "name": "package",
522
+ "required": true,
523
+ "summary": "Package name or alias to look up.",
524
+ "hasDynamicHelp": false,
525
+ "multiple": false,
526
+ "type": "option"
527
+ },
528
+ "directory": {
529
+ "char": "d",
530
+ "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.",
531
+ "name": "directory",
532
+ "summary": "Package directory to search.",
533
+ "hasDynamicHelp": false,
534
+ "multiple": false,
535
+ "type": "option"
536
+ }
537
+ },
538
+ "hasDynamicHelp": false,
539
+ "hiddenAliases": [],
540
+ "id": "simply:package:version:get",
541
+ "pluginAlias": "@simplysf/simply-package",
542
+ "pluginName": "@simplysf/simply-package",
543
+ "pluginType": "core",
544
+ "strict": true,
545
+ "summary": "Get a package version from sfdx-project.json.",
546
+ "enableJsonFlag": true,
547
+ "requiresProject": true,
548
+ "isESM": true,
549
+ "relativePath": [
550
+ "lib",
551
+ "commands",
552
+ "simply",
553
+ "package",
554
+ "version",
555
+ "get.js"
556
+ ],
557
+ "aliasPermutations": [],
558
+ "permutations": [
559
+ "simply:package:version:get",
560
+ "package:simply:version:get",
561
+ "package:version:simply:get",
562
+ "package:version:get:simply",
563
+ "simply:version:package:get",
564
+ "version:simply:package:get",
565
+ "version:package:simply:get",
566
+ "version:package:get:simply",
567
+ "simply:version:get:package",
568
+ "version:simply:get:package",
569
+ "version:get:simply:package",
570
+ "version:get:package:simply",
571
+ "simply:package:get:version",
572
+ "package:simply:get:version",
573
+ "package:get:simply:version",
574
+ "package:get:version:simply",
575
+ "simply:get:package:version",
576
+ "get:simply:package:version",
577
+ "get:package:simply:version",
578
+ "get:package:version:simply",
579
+ "simply:get:version:package",
580
+ "get:simply:version:package",
581
+ "get:version:simply:package",
582
+ "get:version:package:simply"
583
+ ]
584
584
  }
585
585
  },
586
- "version": "4.0.1"
586
+ "version": "4.0.2"
587
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": "4.0.1",
4
+ "version": "4.0.2",
5
5
  "author": "@ClayChipps",
6
6
  "homepage": "https://github.com/SimplySF/simply-plugins",
7
7
  "bugs": "https://github.com/SimplySF/simply-plugins/issues",
@@ -76,8 +76,8 @@
76
76
  "@salesforce/kit": "^3.2.6",
77
77
  "@salesforce/packaging": "^4.22.16",
78
78
  "@salesforce/sf-plugins-core": "^12.2.16",
79
- "@simplysf/simply-core": "^1.6.11",
80
- "@simplysf/simply-package-core": "^0.3.11",
79
+ "@simplysf/simply-core": "^1.6.12",
80
+ "@simplysf/simply-package-core": "^0.5.0",
81
81
  "@simplysf/simply-plugin-kit": "^1.0.9"
82
82
  },
83
83
  "devDependencies": {
@@ -216,5 +216,5 @@
216
216
  "output": []
217
217
  }
218
218
  },
219
- "gitHead": "e1efb80d4dcaa3e8543a7b3794ef47d83e5f4031"
219
+ "gitHead": "a56733c880575b87e67571f179b98ab4f8990242"
220
220
  }