prodlysfcli 1.5.1 → 1.7.5

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.
Files changed (35) hide show
  1. package/LICENSE.txt +1 -1
  2. package/README.md +93 -64
  3. package/lib/commands/prodly/checkin.d.ts +1 -0
  4. package/lib/commands/prodly/checkin.js +24 -8
  5. package/lib/commands/prodly/checkin.js.map +1 -1
  6. package/lib/commands/prodly/checkout.d.ts +4 -0
  7. package/lib/commands/prodly/checkout.js +46 -5
  8. package/lib/commands/prodly/checkout.js.map +1 -1
  9. package/lib/commands/prodly/deploy.d.ts +4 -1
  10. package/lib/commands/prodly/deploy.js +55 -16
  11. package/lib/commands/prodly/deploy.js.map +1 -1
  12. package/lib/commands/prodly/manage.d.ts +1 -0
  13. package/lib/commands/prodly/manage.js +19 -6
  14. package/lib/commands/prodly/manage.js.map +1 -1
  15. package/lib/constants/index.d.ts +6 -0
  16. package/lib/constants/index.js +5 -0
  17. package/lib/constants/index.js.map +1 -1
  18. package/lib/helpers/index.d.ts +5 -1
  19. package/lib/helpers/index.js +43 -1
  20. package/lib/helpers/index.js.map +1 -1
  21. package/lib/services/connections.js +2 -2
  22. package/lib/services/connections.js.map +1 -1
  23. package/lib/services/connections.types.d.ts +1 -1
  24. package/lib/services/manage-instances.d.ts +3 -2
  25. package/lib/services/manage-instances.js +10 -1
  26. package/lib/services/manage-instances.js.map +1 -1
  27. package/lib/services/manage-instances.types.d.ts +4 -0
  28. package/lib/services/queries.d.ts +1 -1
  29. package/lib/types/prodly.d.ts +13 -0
  30. package/messages/prodly.json +6 -1
  31. package/messages/prodly.manage.md +2 -0
  32. package/npm-shrinkwrap.json +3703 -6059
  33. package/oclif.lock +2346 -3785
  34. package/oclif.manifest.json +105 -3
  35. package/package.json +25 -13
@@ -227,6 +227,14 @@
227
227
  "multiple": false,
228
228
  "type": "option"
229
229
  },
230
+ "metadata-quick-select-components": {
231
+ "char": "m",
232
+ "name": "metadata-quick-select-components",
233
+ "summary": "JSON string of metadata quick select components array, e.g., '[{\"type\":\"Profile\",\"ids\":[\"Profile1\",\"Profile2\"]}]'",
234
+ "hasDynamicHelp": false,
235
+ "multiple": false,
236
+ "type": "option"
237
+ },
230
238
  "branch": {
231
239
  "char": "b",
232
240
  "name": "branch",
@@ -254,6 +262,9 @@
254
262
  },
255
263
  "filter": {
256
264
  "char": "q",
265
+ "dependsOn": [
266
+ "dataset"
267
+ ],
257
268
  "name": "filter",
258
269
  "summary": "query filter override for a data set deployment",
259
270
  "hasDynamicHelp": false,
@@ -332,6 +343,17 @@
332
343
  "multiple": false,
333
344
  "type": "option"
334
345
  },
346
+ "apex-test-classes": {
347
+ "char": "a",
348
+ "dependsOn": [
349
+ "test-option"
350
+ ],
351
+ "name": "apex-test-classes",
352
+ "summary": "comma separated list of Apex test class names to run when RunSpecifiedTests is selected",
353
+ "hasDynamicHelp": false,
354
+ "multiple": false,
355
+ "type": "option"
356
+ },
335
357
  "data-folder": {
336
358
  "char": "f",
337
359
  "name": "data-folder",
@@ -360,6 +382,31 @@
360
382
  "multiple": false,
361
383
  "type": "option"
362
384
  },
385
+ "test-option": {
386
+ "char": "r",
387
+ "dependsOn": [
388
+ "metadata-quick-select-components"
389
+ ],
390
+ "name": "test-option",
391
+ "summary": "specifies the Salesforce Validate Change Set tests to run before deploying metadata. Default runs no tests, except when deploying Apex classes or triggers to production, Default runs local tests. Local tests are tests that do not originate from a managed package.",
392
+ "hasDynamicHelp": false,
393
+ "multiple": false,
394
+ "options": [
395
+ "NoTestRun",
396
+ "RunLocalTests",
397
+ "RunAllTestsInOrg",
398
+ "RunSpecifiedTests"
399
+ ],
400
+ "type": "option"
401
+ },
402
+ "metadata-quick-select-components": {
403
+ "char": "m",
404
+ "name": "metadata-quick-select-components",
405
+ "summary": "JSON string of metadata quick select components array, e.g., '[{\"type\":\"Profile\",\"ids\":[\"Profile1\",\"Profile2\"]}]'",
406
+ "hasDynamicHelp": false,
407
+ "multiple": false,
408
+ "type": "option"
409
+ },
363
410
  "branch": {
364
411
  "char": "b",
365
412
  "name": "branch",
@@ -422,6 +469,13 @@
422
469
  "hasDynamicHelp": false,
423
470
  "multiple": false,
424
471
  "type": "option"
472
+ },
473
+ "simulation": {
474
+ "char": "l",
475
+ "name": "simulation",
476
+ "summary": "perform a data and/or metadata simulation",
477
+ "allowNo": false,
478
+ "type": "boolean"
425
479
  }
426
480
  },
427
481
  "hasDynamicHelp": true,
@@ -472,6 +526,17 @@
472
526
  "multiple": false,
473
527
  "type": "option"
474
528
  },
529
+ "apex-test-classes": {
530
+ "char": "a",
531
+ "dependsOn": [
532
+ "test-option"
533
+ ],
534
+ "name": "apex-test-classes",
535
+ "summary": "comma separated list of Apex test class names to run when RunSpecifiedTests is selected",
536
+ "hasDynamicHelp": false,
537
+ "multiple": false,
538
+ "type": "option"
539
+ },
475
540
  "target-dev-hub": {
476
541
  "char": "v",
477
542
  "name": "target-dev-hub",
@@ -492,6 +557,31 @@
492
557
  "multiple": false,
493
558
  "type": "option"
494
559
  },
560
+ "test-option": {
561
+ "char": "r",
562
+ "dependsOn": [
563
+ "metadata-quick-select-components"
564
+ ],
565
+ "name": "test-option",
566
+ "summary": "specifies the Salesforce Validate Change Set tests to run before deploying metadata. Default runs no tests, except when deploying Apex classes or triggers to production, Default runs local tests. Local tests are tests that do not originate from a managed package.",
567
+ "hasDynamicHelp": false,
568
+ "multiple": false,
569
+ "options": [
570
+ "NoTestRun",
571
+ "RunLocalTests",
572
+ "RunAllTestsInOrg",
573
+ "RunSpecifiedTests"
574
+ ],
575
+ "type": "option"
576
+ },
577
+ "metadata-quick-select-components": {
578
+ "char": "m",
579
+ "name": "metadata-quick-select-components",
580
+ "summary": "JSON string of metadata quick select components array, e.g., '[{\"type\":\"Profile\",\"ids\":[\"Profile1\",\"Profile2\"]}]'",
581
+ "hasDynamicHelp": false,
582
+ "multiple": false,
583
+ "type": "option"
584
+ },
495
585
  "dataset": {
496
586
  "char": "t",
497
587
  "name": "dataset",
@@ -517,6 +607,9 @@
517
607
  },
518
608
  "filter": {
519
609
  "char": "q",
610
+ "dependsOn": [
611
+ "dataset"
612
+ ],
520
613
  "name": "filter",
521
614
  "summary": "query filter override for a data set deployment",
522
615
  "hasDynamicHelp": false,
@@ -534,6 +627,7 @@
534
627
  "name": {
535
628
  "char": "n",
536
629
  "name": "name",
630
+ "required": true,
537
631
  "summary": "name for the deployment",
538
632
  "hasDynamicHelp": false,
539
633
  "multiple": false,
@@ -558,7 +652,7 @@
558
652
  "simulation": {
559
653
  "char": "l",
560
654
  "name": "simulation",
561
- "summary": "perform a data simulation",
655
+ "summary": "perform a data and/or metadata simulation",
562
656
  "allowNo": false,
563
657
  "type": "boolean"
564
658
  },
@@ -665,7 +759,8 @@
665
759
  "examples": [
666
760
  "<%= config.bin %> prodly:manage -l -p\nList and print all of the managed instances for the Prodly account associated with the default DevHub control org.",
667
761
  "<%= config.bin %> prodly:manage -m --target-org test-utxac7gbati9@example.com --target-dev-hub jsmith@acme.com\nManage the org associated with the target username under the Prodly account associated with the provided DevHub control org.",
668
- "<%= config.bin %> prodly:manage -m --target-org test-utxac7gbati9@example.com -n dev7sbx\nManage and version the org associated with the target username under the Prodly account associated with the default DevHub control org."
762
+ "<%= config.bin %> prodly:manage -m --target-org test-utxac7gbati9@example.com -n dev7sbx\nManage and version the org associated with the target username under the Prodly account associated with the default DevHub control org.",
763
+ "<%= config.bin %> prodly:manage -r -i e1738072-f9fd-4d6a-8278-35fde79c85a9\nRefresh the managed instance org ID after a sandbox has been refreshed."
669
764
  ],
670
765
  "flags": {
671
766
  "json": {
@@ -756,6 +851,13 @@
756
851
  "allowNo": false,
757
852
  "type": "boolean"
758
853
  },
854
+ "refresh": {
855
+ "char": "r",
856
+ "name": "refresh",
857
+ "summary": "refresh the org ID of a managed instance after a sandbox refresh",
858
+ "allowNo": false,
859
+ "type": "boolean"
860
+ },
759
861
  "unmanage": {
760
862
  "char": "x",
761
863
  "name": "unmanage",
@@ -1036,5 +1138,5 @@
1036
1138
  ]
1037
1139
  }
1038
1140
  },
1039
- "version": "1.5.1"
1141
+ "version": "1.7.5"
1040
1142
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "prodlysfcli",
3
3
  "description": "A plugin which provides Prodly application commands on top of the Salesforce CLI.",
4
- "version": "1.5.1",
4
+ "version": "1.7.5",
5
5
  "author": "Prodly Inc.",
6
6
  "repository": {
7
7
  "type": "git",
@@ -11,24 +11,35 @@
11
11
  "url": "https://github.com/prodly/prodly-sf-cli/issues"
12
12
  },
13
13
  "dependencies": {
14
- "@oclif/core": "4.3.0",
15
- "@salesforce/core": "8.11.4",
16
- "@salesforce/sf-plugins-core": "12.2.2"
14
+ "@oclif/core": "5.1.2",
15
+ "@salesforce/core": "9.3.0",
16
+ "@salesforce/sf-plugins-core": "13.0.4"
17
17
  },
18
18
  "devDependencies": {
19
- "@oclif/plugin-command-snapshot": "^5.2.40",
20
- "@salesforce/cli-plugins-testkit": "^5.3.39",
21
- "@salesforce/dev-scripts": "^11.0.2",
22
- "eslint-plugin-sf-plugin": "^1.20.24",
23
- "oclif": "^4.17.46",
19
+ "@oclif/plugin-command-snapshot": "^6.0.2",
20
+ "@salesforce/cli-plugins-testkit": "^5.3.67",
21
+ "@salesforce/dev-scripts": "^14.0.0",
22
+ "@types/chai": "^4.3.17",
23
+ "@types/mocha": "^10.0.10",
24
+ "@types/node": "^22",
25
+ "@types/sinon": "^10.0.20",
26
+ "eslint": "^10.11.0",
27
+ "eslint-config-salesforce-typescript": "^7.0.0",
28
+ "eslint-plugin-sf-plugin": "^3.0.1",
29
+ "oclif": "^6.0.2",
24
30
  "ts-node": "^10.9.2",
25
- "typescript": "^5.8.3"
31
+ "typescript": "^6.0.3"
32
+ },
33
+ "resolutions": {
34
+ "@types/node": "^22.0.0",
35
+ "serialize-javascript": "^7.0.3",
36
+ "uuid": "^11.1.1"
26
37
  },
27
38
  "lint-staged": {
28
39
  "**/*.{ts}": "eslint --cache --fix"
29
40
  },
30
41
  "engines": {
31
- "node": ">=18.0.0"
42
+ "node": ">=22.0.0"
32
43
  },
33
44
  "files": [
34
45
  "/lib",
@@ -46,7 +57,6 @@
46
57
  "sfdx",
47
58
  "sfdx-plugin"
48
59
  ],
49
- "license": "Apache-2.0",
50
60
  "oclif": {
51
61
  "commands": "./lib/commands",
52
62
  "bin": "sf",
@@ -119,6 +129,7 @@
119
129
  "src/**/*.ts",
120
130
  "test/**/*.ts",
121
131
  "messages/**",
132
+ "**/eslint.config.*",
122
133
  "**/.eslint*",
123
134
  "**/tsconfig.json"
124
135
  ],
@@ -194,5 +205,6 @@
194
205
  }
195
206
  },
196
207
  "exports": "./lib/index.js",
197
- "type": "module"
208
+ "type": "module",
209
+ "license": "Apache-2.0"
198
210
  }