@sharinpix/sharinpix-sf-cli 1.11.0 → 1.12.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.
@@ -65,7 +65,8 @@
65
65
  "examples": [
66
66
  "Push all assets to the default org:\n<%= config.bin %> <%= command.id %>",
67
67
  "Push all assets to a specific org:\n<%= config.bin %> <%= command.id %> --target-org myorg@example.com",
68
- "Push all assets and delete missing ones from the org:\n<%= config.bin %> <%= command.id %> --delete"
68
+ "Push all assets and delete missing ones from the org:\n<%= config.bin %> <%= command.id %> --delete",
69
+ "Push all assets and activate new form versions:\n<%= config.bin %> <%= command.id %> --activate"
69
70
  ],
70
71
  "flags": {
71
72
  "json": {
@@ -101,6 +102,14 @@
101
102
  "summary": "Delete assets in the org that do not exist locally.",
102
103
  "allowNo": false,
103
104
  "type": "boolean"
105
+ },
106
+ "activate": {
107
+ "char": "a",
108
+ "description": "When enabled, newly pushed form template versions are set as active in Salesforce. Without this flag, versions are created but not activated. Forwarded to form push only.",
109
+ "name": "activate",
110
+ "summary": "Activate the pushed form template version.",
111
+ "allowNo": false,
112
+ "type": "boolean"
104
113
  }
105
114
  },
106
115
  "hasDynamicHelp": true,
@@ -308,13 +317,12 @@
308
317
  "push:config:sharinpix"
309
318
  ]
310
319
  },
311
- "sharinpix:permission:pull": {
320
+ "sharinpix:form:csv2json": {
312
321
  "aliases": [],
313
322
  "args": {},
314
- "description": "Retrieves all SharinPix permissions from the connected Salesforce org and saves them as JSON files in the local sharinpix/permissions directory. This command fetches the permission metadata and the JSON configuration data stored in the sharinpix**Json**c field.",
323
+ "description": "Scans the local `sharinpix/forms` directory for SharinPix form CSV definition files and generates corresponding JSON files. Each CSV file is expected to have a header row of element keys and one row per element, as produced by the json2csv command.",
315
324
  "examples": [
316
- "Pull all SharinPix permissions from the default org:\n<%= config.bin %> <%= command.id %>",
317
- "Pull SharinPix permissions from a specific org:\n<%= config.bin %> <%= command.id %> --target-org myorg@example.com"
325
+ "Generate JSON files for all local SharinPix form CSV definitions:\n<%= config.bin %> <%= command.id %>"
318
326
  ],
319
327
  "flags": {
320
328
  "json": {
@@ -331,54 +339,41 @@
331
339
  "hasDynamicHelp": false,
332
340
  "multiple": false,
333
341
  "type": "option"
334
- },
335
- "org": {
336
- "char": "o",
337
- "description": "The target Salesforce org containing the SharinPix permissions to be pulled.",
338
- "name": "org",
339
- "noCacheDefault": true,
340
- "required": true,
341
- "summary": "The Salesforce org to pull SharinPix permissions from.",
342
- "hasDynamicHelp": true,
343
- "multiple": false,
344
- "type": "option"
345
342
  }
346
343
  },
347
- "hasDynamicHelp": true,
344
+ "hasDynamicHelp": false,
348
345
  "hiddenAliases": [],
349
- "id": "sharinpix:permission:pull",
346
+ "id": "sharinpix:form:csv2json",
350
347
  "pluginAlias": "@sharinpix/sharinpix-sf-cli",
351
348
  "pluginName": "@sharinpix/sharinpix-sf-cli",
352
349
  "pluginType": "core",
353
350
  "strict": true,
354
- "summary": "Pull SharinPix permissions from Salesforce org.",
351
+ "summary": "Generate JSON files from SharinPix form CSV definitions.",
355
352
  "enableJsonFlag": true,
356
353
  "isESM": true,
357
354
  "relativePath": [
358
355
  "lib",
359
356
  "commands",
360
357
  "sharinpix",
361
- "permission",
362
- "pull.js"
358
+ "form",
359
+ "csv2json.js"
363
360
  ],
364
361
  "aliasPermutations": [],
365
362
  "permutations": [
366
- "sharinpix:permission:pull",
367
- "permission:sharinpix:pull",
368
- "permission:pull:sharinpix",
369
- "sharinpix:pull:permission",
370
- "pull:sharinpix:permission",
371
- "pull:permission:sharinpix"
363
+ "sharinpix:form:csv2json",
364
+ "form:sharinpix:csv2json",
365
+ "form:csv2json:sharinpix",
366
+ "sharinpix:csv2json:form",
367
+ "csv2json:sharinpix:form",
368
+ "csv2json:form:sharinpix"
372
369
  ]
373
370
  },
374
- "sharinpix:permission:push": {
371
+ "sharinpix:form:json2csv": {
375
372
  "aliases": [],
376
373
  "args": {},
377
- "description": "Uploads SharinPix permissions from local JSON files to the connected Salesforce org. This command reads permission configurations from the local directory and creates or updates corresponding records in Salesforce. The sharinpix**Json**c field will be updated with the JSON configuration data.",
374
+ "description": "Scans the local `sharinpix/forms` directory for SharinPix form JSON definition files and generates corresponding CSV files. The CSV files contain a header row built from all element keys and one row per element. Nested values are stringified.",
378
375
  "examples": [
379
- "Push all SharinPix permissions to the default org:\n<%= config.bin %> <%= command.id %>",
380
- "Push SharinPix permissions to a specific org:\n<%= config.bin %> <%= command.id %> --target-org myorg@example.com",
381
- "Push SharinPix permissions and delete orphaned records:\n<%= config.bin %> <%= command.id %> --delete"
376
+ "Generate CSV files for all local SharinPix form JSON definitions:\n<%= config.bin %> <%= command.id %>"
382
377
  ],
383
378
  "flags": {
384
379
  "json": {
@@ -395,60 +390,43 @@
395
390
  "hasDynamicHelp": false,
396
391
  "multiple": false,
397
392
  "type": "option"
398
- },
399
- "org": {
400
- "char": "o",
401
- "description": "The target Salesforce org where the SharinPix permissions will be uploaded and stored.",
402
- "name": "org",
403
- "noCacheDefault": true,
404
- "required": true,
405
- "summary": "The Salesforce org to push SharinPix permissions to.",
406
- "hasDynamicHelp": true,
407
- "multiple": false,
408
- "type": "option"
409
- },
410
- "delete": {
411
- "char": "d",
412
- "description": "When enabled, this flag will delete SharinPix permission records from the Salesforce org if their corresponding local JSON files are missing. Use with caution as this operation cannot be undone.",
413
- "name": "delete",
414
- "summary": "Delete SharinPix permissions from org that no longer have corresponding local files.",
415
- "allowNo": false,
416
- "type": "boolean"
417
393
  }
418
394
  },
419
- "hasDynamicHelp": true,
395
+ "hasDynamicHelp": false,
420
396
  "hiddenAliases": [],
421
- "id": "sharinpix:permission:push",
397
+ "id": "sharinpix:form:json2csv",
422
398
  "pluginAlias": "@sharinpix/sharinpix-sf-cli",
423
399
  "pluginName": "@sharinpix/sharinpix-sf-cli",
424
400
  "pluginType": "core",
425
401
  "strict": true,
426
- "summary": "Push SharinPix permissions to Salesforce org.",
402
+ "summary": "Generate CSV files from SharinPix form JSON definitions.",
427
403
  "enableJsonFlag": true,
428
404
  "isESM": true,
429
405
  "relativePath": [
430
406
  "lib",
431
407
  "commands",
432
408
  "sharinpix",
433
- "permission",
434
- "push.js"
409
+ "form",
410
+ "json2csv.js"
435
411
  ],
436
412
  "aliasPermutations": [],
437
413
  "permutations": [
438
- "sharinpix:permission:push",
439
- "permission:sharinpix:push",
440
- "permission:push:sharinpix",
441
- "sharinpix:push:permission",
442
- "push:sharinpix:permission",
443
- "push:permission:sharinpix"
414
+ "sharinpix:form:json2csv",
415
+ "form:sharinpix:json2csv",
416
+ "form:json2csv:sharinpix",
417
+ "sharinpix:json2csv:form",
418
+ "json2csv:sharinpix:form",
419
+ "json2csv:form:sharinpix"
444
420
  ]
445
421
  },
446
- "sharinpix:form:csv2json": {
422
+ "sharinpix:form:pull": {
447
423
  "aliases": [],
448
424
  "args": {},
449
- "description": "Scans the local `sharinpix/forms` directory for SharinPix form CSV definition files and generates corresponding JSON files. Each CSV file is expected to have a header row of element keys and one row per element, as produced by the json2csv command.",
425
+ "description": "Retrieves active, version-record SharinPix form templates from the connected Salesforce org and saves them as JSON files in the local sharinpix/forms directory. This command fetches the form template metadata and downloads the actual form definition files.",
450
426
  "examples": [
451
- "Generate JSON files for all local SharinPix form CSV definitions:\n<%= config.bin %> <%= command.id %>"
427
+ "Pull active form templates from the default org:\n<%= config.bin %> <%= command.id %>",
428
+ "Pull form templates from a specific org:\n<%= config.bin %> <%= command.id %> --target-org myorg@example.com",
429
+ "Pull form templates and also generate CSV files:\n<%= config.bin %> <%= command.id %> --csv"
452
430
  ],
453
431
  "flags": {
454
432
  "json": {
@@ -465,16 +443,35 @@
465
443
  "hasDynamicHelp": false,
466
444
  "multiple": false,
467
445
  "type": "option"
446
+ },
447
+ "org": {
448
+ "char": "o",
449
+ "description": "The target Salesforce org containing the SharinPix form templates to be pulled.",
450
+ "name": "org",
451
+ "noCacheDefault": true,
452
+ "required": true,
453
+ "summary": "The Salesforce org to pull form templates from.",
454
+ "hasDynamicHelp": true,
455
+ "multiple": false,
456
+ "type": "option"
457
+ },
458
+ "csv": {
459
+ "char": "c",
460
+ "description": "When enabled, after downloading all form templates as JSON into `sharinpix/forms`, the command runs the JSON-to-CSV conversion (same as `sharinpix:form:json2csv`).",
461
+ "name": "csv",
462
+ "summary": "Also generate CSV files from the downloaded JSON form definitions.",
463
+ "allowNo": false,
464
+ "type": "boolean"
468
465
  }
469
466
  },
470
- "hasDynamicHelp": false,
467
+ "hasDynamicHelp": true,
471
468
  "hiddenAliases": [],
472
- "id": "sharinpix:form:csv2json",
469
+ "id": "sharinpix:form:pull",
473
470
  "pluginAlias": "@sharinpix/sharinpix-sf-cli",
474
471
  "pluginName": "@sharinpix/sharinpix-sf-cli",
475
472
  "pluginType": "core",
476
473
  "strict": true,
477
- "summary": "Generate JSON files from SharinPix form CSV definitions.",
474
+ "summary": "Pull SharinPix form templates from Salesforce org.",
478
475
  "enableJsonFlag": true,
479
476
  "isESM": true,
480
477
  "relativePath": [
@@ -482,24 +479,28 @@
482
479
  "commands",
483
480
  "sharinpix",
484
481
  "form",
485
- "csv2json.js"
482
+ "pull.js"
486
483
  ],
487
484
  "aliasPermutations": [],
488
485
  "permutations": [
489
- "sharinpix:form:csv2json",
490
- "form:sharinpix:csv2json",
491
- "form:csv2json:sharinpix",
492
- "sharinpix:csv2json:form",
493
- "csv2json:sharinpix:form",
494
- "csv2json:form:sharinpix"
486
+ "sharinpix:form:pull",
487
+ "form:sharinpix:pull",
488
+ "form:pull:sharinpix",
489
+ "sharinpix:pull:form",
490
+ "pull:sharinpix:form",
491
+ "pull:form:sharinpix"
495
492
  ]
496
493
  },
497
- "sharinpix:form:json2csv": {
494
+ "sharinpix:form:push": {
498
495
  "aliases": [],
499
496
  "args": {},
500
- "description": "Scans the local `sharinpix/forms` directory for SharinPix form JSON definition files and generates corresponding CSV files. The CSV files contain a header row built from all element keys and one row per element. Nested values are stringified.",
497
+ "description": "Uploads SharinPix form templates from local JSON files to the connected Salesforce org. This command reads form templates from the local directory and creates or updates corresponding records in Salesforce. Each file is matched to an existing form template only by its `mainId`; if the file has no `mainId` or it is not found in the target org, a new form template is created. Pushing to a different org is therefore a one-time copy.",
501
498
  "examples": [
502
- "Generate CSV files for all local SharinPix form JSON definitions:\n<%= config.bin %> <%= command.id %>"
499
+ "Push all form templates to the default org:\n<%= config.bin %> <%= command.id %>",
500
+ "Push form templates to a specific org:\n<%= config.bin %> <%= command.id %> --target-org myorg@example.com",
501
+ "Push form templates and delete orphaned records:\n<%= config.bin %> <%= command.id %> --delete",
502
+ "Convert CSV to JSON, then push:\n<%= config.bin %> <%= command.id %> --csv",
503
+ "Push form templates and activate the new versions:\n<%= config.bin %> <%= command.id %> --activate"
503
504
  ],
504
505
  "flags": {
505
506
  "json": {
@@ -516,16 +517,51 @@
516
517
  "hasDynamicHelp": false,
517
518
  "multiple": false,
518
519
  "type": "option"
520
+ },
521
+ "org": {
522
+ "char": "o",
523
+ "description": "The target Salesforce org where the SharinPix form templates will be uploaded and stored.",
524
+ "name": "org",
525
+ "noCacheDefault": true,
526
+ "required": true,
527
+ "summary": "The Salesforce org to push form templates to.",
528
+ "hasDynamicHelp": true,
529
+ "multiple": false,
530
+ "type": "option"
531
+ },
532
+ "delete": {
533
+ "char": "d",
534
+ "description": "When enabled, this flag will delete form template records from the Salesforce org if their corresponding local JSON files are missing. Use with caution as this operation cannot be undone.",
535
+ "name": "delete",
536
+ "summary": "Delete form templates from org that no longer have corresponding local files.",
537
+ "allowNo": false,
538
+ "type": "boolean"
539
+ },
540
+ "csv": {
541
+ "char": "c",
542
+ "description": "When enabled, the command first runs the CSV-to-JSON conversion (same as `sharinpix:form:csv2json`) on files in `sharinpix/forms`, then proceeds to push the resulting JSON files.",
543
+ "name": "csv",
544
+ "summary": "Convert local CSV files to JSON before pushing.",
545
+ "allowNo": false,
546
+ "type": "boolean"
547
+ },
548
+ "activate": {
549
+ "char": "a",
550
+ "description": "When enabled, the newly pushed form template version is set as the active version in Salesforce. Without this flag, the version is created but not activated.",
551
+ "name": "activate",
552
+ "summary": "Activate the pushed form template version.",
553
+ "allowNo": false,
554
+ "type": "boolean"
519
555
  }
520
556
  },
521
- "hasDynamicHelp": false,
557
+ "hasDynamicHelp": true,
522
558
  "hiddenAliases": [],
523
- "id": "sharinpix:form:json2csv",
559
+ "id": "sharinpix:form:push",
524
560
  "pluginAlias": "@sharinpix/sharinpix-sf-cli",
525
561
  "pluginName": "@sharinpix/sharinpix-sf-cli",
526
562
  "pluginType": "core",
527
563
  "strict": true,
528
- "summary": "Generate CSV files from SharinPix form JSON definitions.",
564
+ "summary": "Push SharinPix form templates to Salesforce org.",
529
565
  "enableJsonFlag": true,
530
566
  "isESM": true,
531
567
  "relativePath": [
@@ -533,26 +569,25 @@
533
569
  "commands",
534
570
  "sharinpix",
535
571
  "form",
536
- "json2csv.js"
572
+ "push.js"
537
573
  ],
538
574
  "aliasPermutations": [],
539
575
  "permutations": [
540
- "sharinpix:form:json2csv",
541
- "form:sharinpix:json2csv",
542
- "form:json2csv:sharinpix",
543
- "sharinpix:json2csv:form",
544
- "json2csv:sharinpix:form",
545
- "json2csv:form:sharinpix"
576
+ "sharinpix:form:push",
577
+ "form:sharinpix:push",
578
+ "form:push:sharinpix",
579
+ "sharinpix:push:form",
580
+ "push:sharinpix:form",
581
+ "push:form:sharinpix"
546
582
  ]
547
583
  },
548
- "sharinpix:form:pull": {
584
+ "sharinpix:permission:pull": {
549
585
  "aliases": [],
550
586
  "args": {},
551
- "description": "Retrieves all SharinPix form templates from the connected Salesforce org and saves them as JSON files in the local sharinpix/forms directory. This command fetches the form template metadata and downloads the actual form definition files.",
587
+ "description": "Retrieves all SharinPix permissions from the connected Salesforce org and saves them as JSON files in the local sharinpix/permissions directory. This command fetches the permission metadata and the JSON configuration data stored in the sharinpix**Json**c field.",
552
588
  "examples": [
553
- "Pull all form templates from the default org:\n<%= config.bin %> <%= command.id %>",
554
- "Pull form templates from a specific org:\n<%= config.bin %> <%= command.id %> --target-org myorg@example.com",
555
- "Pull form templates and also generate CSV files:\n<%= config.bin %> <%= command.id %> --csv"
589
+ "Pull all SharinPix permissions from the default org:\n<%= config.bin %> <%= command.id %>",
590
+ "Pull SharinPix permissions from a specific org:\n<%= config.bin %> <%= command.id %> --target-org myorg@example.com"
556
591
  ],
557
592
  "flags": {
558
593
  "json": {
@@ -572,60 +607,51 @@
572
607
  },
573
608
  "org": {
574
609
  "char": "o",
575
- "description": "The target Salesforce org containing the SharinPix form templates to be pulled.",
610
+ "description": "The target Salesforce org containing the SharinPix permissions to be pulled.",
576
611
  "name": "org",
577
612
  "noCacheDefault": true,
578
613
  "required": true,
579
- "summary": "The Salesforce org to pull form templates from.",
614
+ "summary": "The Salesforce org to pull SharinPix permissions from.",
580
615
  "hasDynamicHelp": true,
581
616
  "multiple": false,
582
617
  "type": "option"
583
- },
584
- "csv": {
585
- "char": "c",
586
- "description": "When enabled, after downloading all form templates as JSON into `sharinpix/forms`, the command runs the JSON-to-CSV conversion (same as `sharinpix:form:json2csv`).",
587
- "name": "csv",
588
- "summary": "Also generate CSV files from the downloaded JSON form definitions.",
589
- "allowNo": false,
590
- "type": "boolean"
591
618
  }
592
619
  },
593
620
  "hasDynamicHelp": true,
594
621
  "hiddenAliases": [],
595
- "id": "sharinpix:form:pull",
622
+ "id": "sharinpix:permission:pull",
596
623
  "pluginAlias": "@sharinpix/sharinpix-sf-cli",
597
624
  "pluginName": "@sharinpix/sharinpix-sf-cli",
598
625
  "pluginType": "core",
599
626
  "strict": true,
600
- "summary": "Pull SharinPix form templates from Salesforce org.",
627
+ "summary": "Pull SharinPix permissions from Salesforce org.",
601
628
  "enableJsonFlag": true,
602
629
  "isESM": true,
603
630
  "relativePath": [
604
631
  "lib",
605
632
  "commands",
606
633
  "sharinpix",
607
- "form",
634
+ "permission",
608
635
  "pull.js"
609
636
  ],
610
637
  "aliasPermutations": [],
611
638
  "permutations": [
612
- "sharinpix:form:pull",
613
- "form:sharinpix:pull",
614
- "form:pull:sharinpix",
615
- "sharinpix:pull:form",
616
- "pull:sharinpix:form",
617
- "pull:form:sharinpix"
639
+ "sharinpix:permission:pull",
640
+ "permission:sharinpix:pull",
641
+ "permission:pull:sharinpix",
642
+ "sharinpix:pull:permission",
643
+ "pull:sharinpix:permission",
644
+ "pull:permission:sharinpix"
618
645
  ]
619
646
  },
620
- "sharinpix:form:push": {
647
+ "sharinpix:permission:push": {
621
648
  "aliases": [],
622
649
  "args": {},
623
- "description": "Uploads SharinPix form templates from local JSON files to the connected Salesforce org. This command reads form templates from the local directory and creates or updates corresponding records in Salesforce. Existing forms will be updated unless the force flag is used to skip them.",
650
+ "description": "Uploads SharinPix permissions from local JSON files to the connected Salesforce org. This command reads permission configurations from the local directory and creates or updates corresponding records in Salesforce. The sharinpix**Json**c field will be updated with the JSON configuration data.",
624
651
  "examples": [
625
- "Push all form templates to the default org:\n<%= config.bin %> <%= command.id %>",
626
- "Push form templates to a specific org:\n<%= config.bin %> <%= command.id %> --target-org myorg@example.com",
627
- "Push form templates and delete orphaned records:\n<%= config.bin %> <%= command.id %> --delete",
628
- "Convert CSV to JSON, then push:\n<%= config.bin %> <%= command.id %> --csv"
652
+ "Push all SharinPix permissions to the default org:\n<%= config.bin %> <%= command.id %>",
653
+ "Push SharinPix permissions to a specific org:\n<%= config.bin %> <%= command.id %> --target-org myorg@example.com",
654
+ "Push SharinPix permissions and delete orphaned records:\n<%= config.bin %> <%= command.id %> --delete"
629
655
  ],
630
656
  "flags": {
631
657
  "json": {
@@ -645,59 +671,51 @@
645
671
  },
646
672
  "org": {
647
673
  "char": "o",
648
- "description": "The target Salesforce org where the SharinPix form templates will be uploaded and stored.",
674
+ "description": "The target Salesforce org where the SharinPix permissions will be uploaded and stored.",
649
675
  "name": "org",
650
676
  "noCacheDefault": true,
651
677
  "required": true,
652
- "summary": "The Salesforce org to push form templates to.",
678
+ "summary": "The Salesforce org to push SharinPix permissions to.",
653
679
  "hasDynamicHelp": true,
654
680
  "multiple": false,
655
681
  "type": "option"
656
682
  },
657
683
  "delete": {
658
684
  "char": "d",
659
- "description": "When enabled, this flag will delete form template records from the Salesforce org if their corresponding local JSON files are missing. Use with caution as this operation cannot be undone.",
685
+ "description": "When enabled, this flag will delete SharinPix permission records from the Salesforce org if their corresponding local JSON files are missing. Use with caution as this operation cannot be undone.",
660
686
  "name": "delete",
661
- "summary": "Delete form templates from org that no longer have corresponding local files.",
662
- "allowNo": false,
663
- "type": "boolean"
664
- },
665
- "csv": {
666
- "char": "c",
667
- "description": "When enabled, the command first runs the CSV-to-JSON conversion (same as `sharinpix:form:csv2json`) on files in `sharinpix/forms`, then proceeds to push the resulting JSON files.",
668
- "name": "csv",
669
- "summary": "Convert local CSV files to JSON before pushing.",
687
+ "summary": "Delete SharinPix permissions from org that no longer have corresponding local files.",
670
688
  "allowNo": false,
671
689
  "type": "boolean"
672
690
  }
673
691
  },
674
692
  "hasDynamicHelp": true,
675
693
  "hiddenAliases": [],
676
- "id": "sharinpix:form:push",
694
+ "id": "sharinpix:permission:push",
677
695
  "pluginAlias": "@sharinpix/sharinpix-sf-cli",
678
696
  "pluginName": "@sharinpix/sharinpix-sf-cli",
679
697
  "pluginType": "core",
680
698
  "strict": true,
681
- "summary": "Push SharinPix form templates to Salesforce org.",
699
+ "summary": "Push SharinPix permissions to Salesforce org.",
682
700
  "enableJsonFlag": true,
683
701
  "isESM": true,
684
702
  "relativePath": [
685
703
  "lib",
686
704
  "commands",
687
705
  "sharinpix",
688
- "form",
706
+ "permission",
689
707
  "push.js"
690
708
  ],
691
709
  "aliasPermutations": [],
692
710
  "permutations": [
693
- "sharinpix:form:push",
694
- "form:sharinpix:push",
695
- "form:push:sharinpix",
696
- "sharinpix:push:form",
697
- "push:sharinpix:form",
698
- "push:form:sharinpix"
711
+ "sharinpix:permission:push",
712
+ "permission:sharinpix:push",
713
+ "permission:push:sharinpix",
714
+ "sharinpix:push:permission",
715
+ "push:sharinpix:permission",
716
+ "push:permission:sharinpix"
699
717
  ]
700
718
  }
701
719
  },
702
- "version": "1.11.0"
720
+ "version": "1.12.1"
703
721
  }
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@sharinpix/sharinpix-sf-cli",
3
3
  "description": "SharinPix salesforce cli plugin",
4
- "version": "1.11.0",
4
+ "version": "1.12.1",
5
5
  "dependencies": {
6
6
  "@oclif/core": "^4",
7
7
  "@salesforce/core": "^8",
8
8
  "@salesforce/sf-plugins-core": "^12",
9
- "csv": "^6.4.1"
9
+ "csv": "^6.4.1",
10
+ "csv-parse": "^6.1.0"
10
11
  },
11
12
  "engines": {
12
13
  "node": ">=18.0.0"
@@ -174,24 +175,55 @@
174
175
  "type": "module",
175
176
  "author": "SharinPix",
176
177
  "resolutions": {
177
- "@types/node": "^20.5.1"
178
+ "@types/node": "^20.5.1",
179
+ "@oclif/core": "4.11.11",
180
+ "@actions/http-client/undici": "^6.27.0",
181
+ "@semantic-release/github/undici": "^7.24.0",
182
+ "serialize-javascript": "^7.0.5"
178
183
  },
179
184
  "overrides": {
180
- "@types/node": "^20.5.1"
185
+ "@types/node": "^20.5.1",
186
+ "@oclif/core": "$@oclif/core"
181
187
  },
182
188
  "devDependencies": {
183
- "@oclif/plugin-command-snapshot": "^5.1.9",
189
+ "@oclif/plugin-command-snapshot": "^5.3.10",
184
190
  "@salesforce/cli-plugins-testkit": "^5.3.41",
185
- "@salesforce/dev-scripts": "^10",
191
+ "@salesforce/dev-scripts": "^11",
186
192
  "@types/mocha": "^10.0.7",
187
- "@types/mock-fs": "^4.13.4",
188
193
  "cross-env": "^7.0.3",
189
194
  "eslint-plugin-sf-plugin": "^1.20.33",
195
+ "fs-monkey": "^1.1.0",
190
196
  "husky": "^9.1.7",
191
- "mock-fs": "^5.5.0",
192
- "oclif": "^4.22.67",
193
- "semantic-release": "^24.2.7",
197
+ "memfs": "^4.30.1",
198
+ "oclif": "^4.23.24",
199
+ "semantic-release": "^25.0.5",
194
200
  "ts-node": "^10.9.2",
195
- "typescript": "^5.9.2"
201
+ "typescript": "^5.9.3"
202
+ },
203
+ "release": {
204
+ "plugins": [
205
+ [
206
+ "@semantic-release/commit-analyzer",
207
+ {
208
+ "releaseRules": [
209
+ {
210
+ "breaking": true,
211
+ "release": "major"
212
+ },
213
+ {
214
+ "type": "feat",
215
+ "release": "minor"
216
+ },
217
+ {
218
+ "header": "**",
219
+ "release": "patch"
220
+ }
221
+ ]
222
+ }
223
+ ],
224
+ "@semantic-release/release-notes-generator",
225
+ "@semantic-release/npm",
226
+ "@semantic-release/github"
227
+ ]
196
228
  }
197
229
  }
@@ -1 +0,0 @@
1
- export declare const ELEMENT_KEY_ORDER: readonly string[];
@@ -1,53 +0,0 @@
1
- export const ELEMENT_KEY_ORDER = [
2
- 'id',
3
- 'index',
4
- 'label',
5
- 'type',
6
- 'elemType',
7
- 'richDescription',
8
- 'info',
9
- 'apiName',
10
- 'codeScan',
11
- 'inputType',
12
- 'magicFill',
13
- 'mobileApp',
14
- 'sfMapping',
15
- 'visibility',
16
- 'placeholder',
17
- 'validations',
18
- 'autocomplete',
19
- 'defaultValue',
20
- 'labelFormula',
21
- 'sfFieldUpdate',
22
- 'disabledFormula',
23
- 'allowBlankUpdate',
24
- 'defaultValueFormula',
25
- 'preserveRelaunchValueFormula',
26
- 'max',
27
- 'min',
28
- 'decimal',
29
- 'disabled',
30
- 'setToNow',
31
- 'calendarFormat',
32
- 'setToNowButton',
33
- 'options',
34
- 'description',
35
- 'required',
36
- 'style',
37
- 'sfRecordMapping',
38
- 'sfPullRecordMapping',
39
- 'parentId',
40
- 'sectionId',
41
- 'columnLabels',
42
- 'sortable',
43
- 'addFormula',
44
- 'addOptions',
45
- 'deleteFormula',
46
- 'height',
47
- 'size',
48
- 'readonly',
49
- 'step',
50
- 'rows',
51
- 'cols',
52
- ];
53
- //# sourceMappingURL=elementKeyOrder.js.map