@sanity/runtime-cli 12.3.0 → 12.4.0

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 (71) hide show
  1. package/README.md +32 -31
  2. package/dist/actions/blueprints/assets.js +7 -1
  3. package/dist/baseCommands.d.ts +43 -7
  4. package/dist/baseCommands.js +82 -10
  5. package/dist/commands/blueprints/add.d.ts +2 -2
  6. package/dist/commands/blueprints/add.js +2 -2
  7. package/dist/commands/blueprints/config.d.ts +2 -2
  8. package/dist/commands/blueprints/config.js +2 -2
  9. package/dist/commands/blueprints/deploy.d.ts +2 -2
  10. package/dist/commands/blueprints/deploy.js +2 -2
  11. package/dist/commands/blueprints/destroy.d.ts +2 -2
  12. package/dist/commands/blueprints/destroy.js +2 -2
  13. package/dist/commands/blueprints/doctor.d.ts +5 -4
  14. package/dist/commands/blueprints/doctor.js +10 -12
  15. package/dist/commands/blueprints/info.d.ts +2 -2
  16. package/dist/commands/blueprints/info.js +2 -2
  17. package/dist/commands/blueprints/init.d.ts +2 -2
  18. package/dist/commands/blueprints/init.js +6 -9
  19. package/dist/commands/blueprints/logs.d.ts +2 -2
  20. package/dist/commands/blueprints/logs.js +2 -2
  21. package/dist/commands/blueprints/plan.d.ts +2 -2
  22. package/dist/commands/blueprints/plan.js +2 -2
  23. package/dist/commands/blueprints/stacks.d.ts +2 -2
  24. package/dist/commands/blueprints/stacks.js +2 -2
  25. package/dist/commands/functions/add.d.ts +2 -2
  26. package/dist/commands/functions/add.js +2 -2
  27. package/dist/commands/functions/dev.d.ts +2 -2
  28. package/dist/commands/functions/dev.js +2 -2
  29. package/dist/commands/functions/env/add.d.ts +2 -2
  30. package/dist/commands/functions/env/add.js +2 -2
  31. package/dist/commands/functions/env/list.d.ts +2 -2
  32. package/dist/commands/functions/env/list.js +2 -2
  33. package/dist/commands/functions/env/remove.d.ts +2 -2
  34. package/dist/commands/functions/env/remove.js +2 -2
  35. package/dist/commands/functions/logs.d.ts +3 -3
  36. package/dist/commands/functions/logs.js +7 -4
  37. package/dist/commands/functions/test.d.ts +3 -3
  38. package/dist/commands/functions/test.js +7 -4
  39. package/dist/cores/blueprints/config.d.ts +2 -5
  40. package/dist/cores/blueprints/deploy.js +0 -1
  41. package/dist/cores/blueprints/destroy.d.ts +2 -5
  42. package/dist/cores/blueprints/doctor.js +12 -2
  43. package/dist/cores/blueprints/info.js +2 -2
  44. package/dist/cores/blueprints/stacks.d.ts +2 -5
  45. package/dist/cores/functions/logs.d.ts +3 -1
  46. package/dist/cores/functions/logs.js +11 -2
  47. package/dist/cores/functions/test.d.ts +3 -1
  48. package/dist/cores/functions/test.js +11 -2
  49. package/dist/server/static/components/app.css +0 -116
  50. package/dist/server/static/components/clear-button.js +1 -1
  51. package/dist/server/static/components/console-panel.js +27 -6
  52. package/dist/server/static/components/fetch-button.js +1 -1
  53. package/dist/server/static/components/filter-api-version.js +39 -3
  54. package/dist/server/static/components/filter-document-id.js +39 -3
  55. package/dist/server/static/components/filter-with-token.js +27 -4
  56. package/dist/server/static/components/filters.js +127 -62
  57. package/dist/server/static/components/function-list.js +33 -13
  58. package/dist/server/static/components/network-spinner.js +6 -4
  59. package/dist/server/static/components/payload-panel.js +46 -24
  60. package/dist/server/static/components/response-panel.js +33 -6
  61. package/dist/server/static/components/rule-panel.js +13 -4
  62. package/dist/server/static/components/run-panel.js +14 -7
  63. package/dist/server/static/components/select-dropdown.js +34 -5
  64. package/dist/server/static/components/shared-styles.js +31 -0
  65. package/dist/server/static/components/toggle-switch.js +11 -2
  66. package/dist/utils/display/blueprints-formatting.d.ts +2 -2
  67. package/dist/utils/display/blueprints-formatting.js +31 -26
  68. package/dist/utils/find-function.d.ts +4 -0
  69. package/dist/utils/find-function.js +6 -0
  70. package/oclif.manifest.json +281 -38
  71. package/package.json +2 -2
@@ -21,6 +21,21 @@
21
21
  "<%= config.bin %> <%= command.id %> function --name my-function --fn-type document-create --fn-type document-update --lang js"
22
22
  ],
23
23
  "flags": {
24
+ "json": {
25
+ "description": "Format output as json.",
26
+ "hidden": true,
27
+ "name": "json",
28
+ "allowNo": false,
29
+ "type": "boolean"
30
+ },
31
+ "path": {
32
+ "description": "Path to the directory containing the Blueprint",
33
+ "hidden": true,
34
+ "name": "path",
35
+ "hasDynamicHelp": false,
36
+ "multiple": false,
37
+ "type": "option"
38
+ },
24
39
  "verbose": {
25
40
  "description": "Verbose output",
26
41
  "hidden": true,
@@ -150,7 +165,7 @@
150
165
  "pluginName": "@sanity/runtime-cli",
151
166
  "pluginType": "core",
152
167
  "strict": true,
153
- "enableJsonFlag": false,
168
+ "enableJsonFlag": true,
154
169
  "isESM": true,
155
170
  "relativePath": [
156
171
  "dist",
@@ -170,6 +185,21 @@
170
185
  "<%= config.bin %> <%= command.id %> --edit --project-id <projectId> --stack-id <stackId>"
171
186
  ],
172
187
  "flags": {
188
+ "json": {
189
+ "description": "Format output as json.",
190
+ "hidden": true,
191
+ "name": "json",
192
+ "allowNo": false,
193
+ "type": "boolean"
194
+ },
195
+ "path": {
196
+ "description": "Path to the directory containing the Blueprint",
197
+ "hidden": true,
198
+ "name": "path",
199
+ "hasDynamicHelp": false,
200
+ "multiple": false,
201
+ "type": "option"
202
+ },
173
203
  "verbose": {
174
204
  "description": "Verbose output",
175
205
  "hidden": true,
@@ -235,7 +265,7 @@
235
265
  "pluginName": "@sanity/runtime-cli",
236
266
  "pluginType": "core",
237
267
  "strict": true,
238
- "enableJsonFlag": false,
268
+ "enableJsonFlag": true,
239
269
  "isESM": true,
240
270
  "relativePath": [
241
271
  "dist",
@@ -253,6 +283,21 @@
253
283
  "<%= config.bin %> <%= command.id %> --no-wait"
254
284
  ],
255
285
  "flags": {
286
+ "json": {
287
+ "description": "Format output as json.",
288
+ "hidden": true,
289
+ "name": "json",
290
+ "allowNo": false,
291
+ "type": "boolean"
292
+ },
293
+ "path": {
294
+ "description": "Path to the directory containing the Blueprint",
295
+ "hidden": true,
296
+ "name": "path",
297
+ "hasDynamicHelp": false,
298
+ "multiple": false,
299
+ "type": "option"
300
+ },
256
301
  "verbose": {
257
302
  "description": "Verbose output",
258
303
  "hidden": true,
@@ -274,7 +319,7 @@
274
319
  "pluginName": "@sanity/runtime-cli",
275
320
  "pluginType": "core",
276
321
  "strict": true,
277
- "enableJsonFlag": false,
322
+ "enableJsonFlag": true,
278
323
  "isESM": true,
279
324
  "relativePath": [
280
325
  "dist",
@@ -292,6 +337,21 @@
292
337
  "<%= config.bin %> <%= command.id %> --stack-id <stackId> --project-id <projectId> --force --no-wait"
293
338
  ],
294
339
  "flags": {
340
+ "json": {
341
+ "description": "Format output as json.",
342
+ "hidden": true,
343
+ "name": "json",
344
+ "allowNo": false,
345
+ "type": "boolean"
346
+ },
347
+ "path": {
348
+ "description": "Path to the directory containing the Blueprint",
349
+ "hidden": true,
350
+ "name": "path",
351
+ "hasDynamicHelp": false,
352
+ "multiple": false,
353
+ "type": "option"
354
+ },
295
355
  "verbose": {
296
356
  "description": "Verbose output",
297
357
  "hidden": true,
@@ -370,7 +430,7 @@
370
430
  "pluginName": "@sanity/runtime-cli",
371
431
  "pluginType": "core",
372
432
  "strict": true,
373
- "enableJsonFlag": false,
433
+ "enableJsonFlag": true,
374
434
  "isESM": true,
375
435
  "relativePath": [
376
436
  "dist",
@@ -385,19 +445,28 @@
385
445
  "description": "Diagnose potential issues with Blueprint configuration",
386
446
  "examples": [],
387
447
  "flags": {
388
- "verbose": {
389
- "description": "Provide detailed information about issues",
390
- "name": "verbose",
448
+ "json": {
449
+ "description": "Format output as json.",
450
+ "hidden": false,
451
+ "name": "json",
391
452
  "allowNo": false,
392
453
  "type": "boolean"
393
454
  },
394
455
  "path": {
395
- "description": "Path to the Blueprint configuration file",
456
+ "description": "Path to the directory containing the Blueprint",
457
+ "hidden": false,
396
458
  "name": "path",
397
459
  "hasDynamicHelp": false,
398
460
  "multiple": false,
399
461
  "type": "option"
400
462
  },
463
+ "verbose": {
464
+ "description": "Verbose output",
465
+ "hidden": false,
466
+ "name": "verbose",
467
+ "allowNo": false,
468
+ "type": "boolean"
469
+ },
401
470
  "fix": {
402
471
  "description": "Interactively fix configuration issues",
403
472
  "name": "fix",
@@ -412,7 +481,7 @@
412
481
  "pluginName": "@sanity/runtime-cli",
413
482
  "pluginType": "core",
414
483
  "strict": true,
415
- "enableJsonFlag": false,
484
+ "enableJsonFlag": true,
416
485
  "isESM": true,
417
486
  "relativePath": [
418
487
  "dist",
@@ -430,6 +499,21 @@
430
499
  "<%= config.bin %> <%= command.id %> --id <stackId>"
431
500
  ],
432
501
  "flags": {
502
+ "json": {
503
+ "description": "Format output as json.",
504
+ "hidden": true,
505
+ "name": "json",
506
+ "allowNo": false,
507
+ "type": "boolean"
508
+ },
509
+ "path": {
510
+ "description": "Path to the directory containing the Blueprint",
511
+ "hidden": true,
512
+ "name": "path",
513
+ "hasDynamicHelp": false,
514
+ "multiple": false,
515
+ "type": "option"
516
+ },
433
517
  "verbose": {
434
518
  "description": "Verbose output",
435
519
  "hidden": true,
@@ -452,7 +536,7 @@
452
536
  "pluginName": "@sanity/runtime-cli",
453
537
  "pluginType": "core",
454
538
  "strict": true,
455
- "enableJsonFlag": false,
539
+ "enableJsonFlag": true,
456
540
  "isESM": true,
457
541
  "relativePath": [
458
542
  "dist",
@@ -478,6 +562,28 @@
478
562
  "<%= config.bin %> <%= command.id %> --blueprint-type <json|js|ts> --stack-name <stackName>"
479
563
  ],
480
564
  "flags": {
565
+ "json": {
566
+ "description": "Format output as json.",
567
+ "hidden": true,
568
+ "name": "json",
569
+ "allowNo": false,
570
+ "type": "boolean"
571
+ },
572
+ "path": {
573
+ "description": "Path to the directory containing the Blueprint",
574
+ "hidden": true,
575
+ "name": "path",
576
+ "hasDynamicHelp": false,
577
+ "multiple": false,
578
+ "type": "option"
579
+ },
580
+ "verbose": {
581
+ "description": "Verbose output",
582
+ "hidden": false,
583
+ "name": "verbose",
584
+ "allowNo": false,
585
+ "type": "boolean"
586
+ },
481
587
  "dir": {
482
588
  "description": "Directory to create the Blueprint in",
483
589
  "name": "dir",
@@ -567,12 +673,6 @@
567
673
  "hasDynamicHelp": false,
568
674
  "multiple": false,
569
675
  "type": "option"
570
- },
571
- "verbose": {
572
- "description": "Verbose output",
573
- "name": "verbose",
574
- "allowNo": false,
575
- "type": "boolean"
576
676
  }
577
677
  },
578
678
  "hasDynamicHelp": false,
@@ -582,7 +682,7 @@
582
682
  "pluginName": "@sanity/runtime-cli",
583
683
  "pluginType": "core",
584
684
  "strict": true,
585
- "enableJsonFlag": false,
685
+ "enableJsonFlag": true,
586
686
  "isESM": true,
587
687
  "relativePath": [
588
688
  "dist",
@@ -600,6 +700,21 @@
600
700
  "<%= config.bin %> <%= command.id %> --watch"
601
701
  ],
602
702
  "flags": {
703
+ "json": {
704
+ "description": "Format output as json.",
705
+ "hidden": true,
706
+ "name": "json",
707
+ "allowNo": false,
708
+ "type": "boolean"
709
+ },
710
+ "path": {
711
+ "description": "Path to the directory containing the Blueprint",
712
+ "hidden": true,
713
+ "name": "path",
714
+ "hasDynamicHelp": false,
715
+ "multiple": false,
716
+ "type": "option"
717
+ },
603
718
  "verbose": {
604
719
  "description": "Verbose output",
605
720
  "hidden": true,
@@ -625,7 +740,7 @@
625
740
  "pluginName": "@sanity/runtime-cli",
626
741
  "pluginType": "core",
627
742
  "strict": true,
628
- "enableJsonFlag": false,
743
+ "enableJsonFlag": true,
629
744
  "isESM": true,
630
745
  "relativePath": [
631
746
  "dist",
@@ -642,6 +757,21 @@
642
757
  "<%= config.bin %> <%= command.id %>"
643
758
  ],
644
759
  "flags": {
760
+ "json": {
761
+ "description": "Format output as json.",
762
+ "hidden": true,
763
+ "name": "json",
764
+ "allowNo": false,
765
+ "type": "boolean"
766
+ },
767
+ "path": {
768
+ "description": "Path to the directory containing the Blueprint",
769
+ "hidden": true,
770
+ "name": "path",
771
+ "hasDynamicHelp": false,
772
+ "multiple": false,
773
+ "type": "option"
774
+ },
645
775
  "verbose": {
646
776
  "description": "Verbose output",
647
777
  "hidden": true,
@@ -657,7 +787,7 @@
657
787
  "pluginName": "@sanity/runtime-cli",
658
788
  "pluginType": "core",
659
789
  "strict": true,
660
- "enableJsonFlag": false,
790
+ "enableJsonFlag": true,
661
791
  "isESM": true,
662
792
  "relativePath": [
663
793
  "dist",
@@ -676,6 +806,21 @@
676
806
  "<%= config.bin %> <%= command.id %> --organization-id <organizationId>"
677
807
  ],
678
808
  "flags": {
809
+ "json": {
810
+ "description": "Format output as json.",
811
+ "hidden": true,
812
+ "name": "json",
813
+ "allowNo": false,
814
+ "type": "boolean"
815
+ },
816
+ "path": {
817
+ "description": "Path to the directory containing the Blueprint",
818
+ "hidden": true,
819
+ "name": "path",
820
+ "hasDynamicHelp": false,
821
+ "multiple": false,
822
+ "type": "option"
823
+ },
679
824
  "verbose": {
680
825
  "description": "Verbose output",
681
826
  "hidden": true,
@@ -720,7 +865,7 @@
720
865
  "pluginName": "@sanity/runtime-cli",
721
866
  "pluginType": "core",
722
867
  "strict": true,
723
- "enableJsonFlag": false,
868
+ "enableJsonFlag": true,
724
869
  "isESM": true,
725
870
  "relativePath": [
726
871
  "dist",
@@ -741,6 +886,21 @@
741
886
  "<%= config.bin %> <%= command.id %> --name my-function --type document-create --type document-update --lang js"
742
887
  ],
743
888
  "flags": {
889
+ "json": {
890
+ "description": "Format output as json.",
891
+ "hidden": true,
892
+ "name": "json",
893
+ "allowNo": false,
894
+ "type": "boolean"
895
+ },
896
+ "path": {
897
+ "description": "Path to the directory containing the Blueprint",
898
+ "hidden": true,
899
+ "name": "path",
900
+ "hasDynamicHelp": false,
901
+ "multiple": false,
902
+ "type": "option"
903
+ },
744
904
  "verbose": {
745
905
  "description": "Verbose output",
746
906
  "hidden": true,
@@ -857,7 +1017,7 @@
857
1017
  "pluginName": "@sanity/runtime-cli",
858
1018
  "pluginType": "core",
859
1019
  "strict": true,
860
- "enableJsonFlag": false,
1020
+ "enableJsonFlag": true,
861
1021
  "isESM": true,
862
1022
  "relativePath": [
863
1023
  "dist",
@@ -874,6 +1034,21 @@
874
1034
  "<%= config.bin %> <%= command.id %> --host 127.0.0.1 --port 8974"
875
1035
  ],
876
1036
  "flags": {
1037
+ "json": {
1038
+ "description": "Format output as json.",
1039
+ "hidden": true,
1040
+ "name": "json",
1041
+ "allowNo": false,
1042
+ "type": "boolean"
1043
+ },
1044
+ "path": {
1045
+ "description": "Path to the directory containing the Blueprint",
1046
+ "hidden": true,
1047
+ "name": "path",
1048
+ "hasDynamicHelp": false,
1049
+ "multiple": false,
1050
+ "type": "option"
1051
+ },
877
1052
  "verbose": {
878
1053
  "description": "Verbose output",
879
1054
  "hidden": true,
@@ -916,7 +1091,7 @@
916
1091
  "pluginName": "@sanity/runtime-cli",
917
1092
  "pluginType": "core",
918
1093
  "strict": true,
919
- "enableJsonFlag": false,
1094
+ "enableJsonFlag": true,
920
1095
  "isESM": true,
921
1096
  "relativePath": [
922
1097
  "dist",
@@ -931,7 +1106,7 @@
931
1106
  "name": {
932
1107
  "description": "The name of the Sanity Function",
933
1108
  "name": "name",
934
- "required": true
1109
+ "required": false
935
1110
  }
936
1111
  },
937
1112
  "description": "Retrieve or delete logs for a Sanity Function",
@@ -942,6 +1117,22 @@
942
1117
  "<%= config.bin %> <%= command.id %> <name> --delete"
943
1118
  ],
944
1119
  "flags": {
1120
+ "json": {
1121
+ "char": "j",
1122
+ "description": "Return logs in JSON format",
1123
+ "name": "json",
1124
+ "required": false,
1125
+ "allowNo": false,
1126
+ "type": "boolean"
1127
+ },
1128
+ "path": {
1129
+ "description": "Path to the directory containing the Blueprint",
1130
+ "hidden": true,
1131
+ "name": "path",
1132
+ "hasDynamicHelp": false,
1133
+ "multiple": false,
1134
+ "type": "option"
1135
+ },
945
1136
  "verbose": {
946
1137
  "description": "Verbose output",
947
1138
  "hidden": true,
@@ -959,14 +1150,6 @@
959
1150
  "multiple": false,
960
1151
  "type": "option"
961
1152
  },
962
- "json": {
963
- "char": "j",
964
- "description": "Return logs in JSON format",
965
- "name": "json",
966
- "required": false,
967
- "allowNo": false,
968
- "type": "boolean"
969
- },
970
1153
  "utc": {
971
1154
  "char": "u",
972
1155
  "description": "Show dates in UTC time zone",
@@ -1016,7 +1199,7 @@
1016
1199
  "pluginName": "@sanity/runtime-cli",
1017
1200
  "pluginType": "core",
1018
1201
  "strict": true,
1019
- "enableJsonFlag": false,
1202
+ "enableJsonFlag": true,
1020
1203
  "isESM": true,
1021
1204
  "relativePath": [
1022
1205
  "dist",
@@ -1031,7 +1214,7 @@
1031
1214
  "name": {
1032
1215
  "description": "The name of the Sanity Function",
1033
1216
  "name": "name",
1034
- "required": true
1217
+ "required": false
1035
1218
  }
1036
1219
  },
1037
1220
  "description": "Invoke a local Sanity Function",
@@ -1042,6 +1225,21 @@
1042
1225
  "<%= config.bin %> <%= command.id %> <name> --event update --data-before '{ \"title\": \"before\" }' --data-after '{ \"title\": \"after\" }'"
1043
1226
  ],
1044
1227
  "flags": {
1228
+ "json": {
1229
+ "description": "Format output as json.",
1230
+ "hidden": true,
1231
+ "name": "json",
1232
+ "allowNo": false,
1233
+ "type": "boolean"
1234
+ },
1235
+ "path": {
1236
+ "description": "Path to the directory containing the Blueprint",
1237
+ "hidden": true,
1238
+ "name": "path",
1239
+ "hasDynamicHelp": false,
1240
+ "multiple": false,
1241
+ "type": "option"
1242
+ },
1045
1243
  "verbose": {
1046
1244
  "description": "Verbose output",
1047
1245
  "hidden": true,
@@ -1287,7 +1485,7 @@
1287
1485
  "pluginName": "@sanity/runtime-cli",
1288
1486
  "pluginType": "core",
1289
1487
  "strict": true,
1290
- "enableJsonFlag": false,
1488
+ "enableJsonFlag": true,
1291
1489
  "isESM": true,
1292
1490
  "relativePath": [
1293
1491
  "dist",
@@ -1320,6 +1518,21 @@
1320
1518
  "<%= config.bin %> <%= command.id %> MyFunction API_URL https://api.example.com/"
1321
1519
  ],
1322
1520
  "flags": {
1521
+ "json": {
1522
+ "description": "Format output as json.",
1523
+ "hidden": true,
1524
+ "name": "json",
1525
+ "allowNo": false,
1526
+ "type": "boolean"
1527
+ },
1528
+ "path": {
1529
+ "description": "Path to the directory containing the Blueprint",
1530
+ "hidden": true,
1531
+ "name": "path",
1532
+ "hasDynamicHelp": false,
1533
+ "multiple": false,
1534
+ "type": "option"
1535
+ },
1323
1536
  "verbose": {
1324
1537
  "description": "Verbose output",
1325
1538
  "hidden": true,
@@ -1335,7 +1548,7 @@
1335
1548
  "pluginName": "@sanity/runtime-cli",
1336
1549
  "pluginType": "core",
1337
1550
  "strict": true,
1338
- "enableJsonFlag": false,
1551
+ "enableJsonFlag": true,
1339
1552
  "isESM": true,
1340
1553
  "relativePath": [
1341
1554
  "dist",
@@ -1359,6 +1572,21 @@
1359
1572
  "<%= config.bin %> <%= command.id %> MyFunction"
1360
1573
  ],
1361
1574
  "flags": {
1575
+ "json": {
1576
+ "description": "Format output as json.",
1577
+ "hidden": true,
1578
+ "name": "json",
1579
+ "allowNo": false,
1580
+ "type": "boolean"
1581
+ },
1582
+ "path": {
1583
+ "description": "Path to the directory containing the Blueprint",
1584
+ "hidden": true,
1585
+ "name": "path",
1586
+ "hasDynamicHelp": false,
1587
+ "multiple": false,
1588
+ "type": "option"
1589
+ },
1362
1590
  "verbose": {
1363
1591
  "description": "Verbose output",
1364
1592
  "hidden": true,
@@ -1374,7 +1602,7 @@
1374
1602
  "pluginName": "@sanity/runtime-cli",
1375
1603
  "pluginType": "core",
1376
1604
  "strict": true,
1377
- "enableJsonFlag": false,
1605
+ "enableJsonFlag": true,
1378
1606
  "isESM": true,
1379
1607
  "relativePath": [
1380
1608
  "dist",
@@ -1403,6 +1631,21 @@
1403
1631
  "<%= config.bin %> <%= command.id %> MyFunction API_URL"
1404
1632
  ],
1405
1633
  "flags": {
1634
+ "json": {
1635
+ "description": "Format output as json.",
1636
+ "hidden": true,
1637
+ "name": "json",
1638
+ "allowNo": false,
1639
+ "type": "boolean"
1640
+ },
1641
+ "path": {
1642
+ "description": "Path to the directory containing the Blueprint",
1643
+ "hidden": true,
1644
+ "name": "path",
1645
+ "hasDynamicHelp": false,
1646
+ "multiple": false,
1647
+ "type": "option"
1648
+ },
1406
1649
  "verbose": {
1407
1650
  "description": "Verbose output",
1408
1651
  "hidden": true,
@@ -1418,7 +1661,7 @@
1418
1661
  "pluginName": "@sanity/runtime-cli",
1419
1662
  "pluginType": "core",
1420
1663
  "strict": true,
1421
- "enableJsonFlag": false,
1664
+ "enableJsonFlag": true,
1422
1665
  "isESM": true,
1423
1666
  "relativePath": [
1424
1667
  "dist",
@@ -1429,5 +1672,5 @@
1429
1672
  ]
1430
1673
  }
1431
1674
  },
1432
- "version": "12.3.0"
1675
+ "version": "12.4.0"
1433
1676
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sanity/runtime-cli",
3
3
  "description": "Sanity's Runtime CLI for Blueprints and Functions",
4
- "version": "12.3.0",
4
+ "version": "12.4.0",
5
5
  "author": "Sanity Runtime Team",
6
6
  "type": "module",
7
7
  "license": "MIT",
@@ -122,7 +122,7 @@
122
122
  "@types/ws": "^8.18.1",
123
123
  "codemirror": "^6.0.2",
124
124
  "mentoss": "^0.12.0",
125
- "oclif": "^4.22.50",
125
+ "oclif": "^4.22.57",
126
126
  "pretty-bytes": "^7.1.0",
127
127
  "pretty-ms": "^9.3.0",
128
128
  "rollup": "^4.53.3",