@sanity/runtime-cli 13.4.1 → 14.0.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.
- package/README.md +43 -35
- package/dist/actions/blueprints/config.d.ts +3 -7
- package/dist/actions/blueprints/config.js +1 -1
- package/dist/actions/blueprints/logs-streaming.d.ts +1 -0
- package/dist/actions/blueprints/logs-streaming.js +1 -0
- package/dist/actions/blueprints/stacks.d.ts +1 -0
- package/dist/actions/blueprints/stacks.js +11 -0
- package/dist/baseCommands.d.ts +2 -0
- package/dist/baseCommands.js +6 -1
- package/dist/commands/blueprints/config.d.ts +1 -1
- package/dist/commands/blueprints/config.js +5 -5
- package/dist/commands/blueprints/deploy.d.ts +1 -0
- package/dist/commands/blueprints/deploy.js +5 -2
- package/dist/commands/blueprints/destroy.d.ts +1 -1
- package/dist/commands/blueprints/destroy.js +6 -6
- package/dist/commands/blueprints/doctor.js +5 -1
- package/dist/commands/blueprints/info.d.ts +1 -1
- package/dist/commands/blueprints/info.js +4 -4
- package/dist/commands/blueprints/init.js +1 -1
- package/dist/commands/blueprints/logs.d.ts +1 -0
- package/dist/commands/blueprints/logs.js +2 -1
- package/dist/commands/blueprints/plan.d.ts +3 -0
- package/dist/commands/blueprints/plan.js +4 -1
- package/dist/commands/functions/logs.d.ts +1 -0
- package/dist/commands/functions/logs.js +2 -1
- package/dist/cores/blueprints/config.d.ts +1 -1
- package/dist/cores/blueprints/config.js +27 -6
- package/dist/cores/blueprints/deploy.js +36 -3
- package/dist/cores/blueprints/destroy.d.ts +1 -1
- package/dist/cores/blueprints/destroy.js +30 -15
- package/dist/cores/blueprints/doctor.js +184 -90
- package/dist/cores/blueprints/info.d.ts +1 -3
- package/dist/cores/blueprints/info.js +5 -20
- package/dist/cores/blueprints/init.js +1 -1
- package/dist/cores/blueprints/plan.d.ts +1 -0
- package/dist/cores/blueprints/plan.js +20 -15
- package/dist/cores/index.d.ts +1 -0
- package/dist/cores/index.js +12 -7
- package/oclif.manifest.json +81 -24
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -197,12 +197,12 @@
|
|
|
197
197
|
"blueprints:config": {
|
|
198
198
|
"aliases": [],
|
|
199
199
|
"args": {},
|
|
200
|
-
"description": "Manages the local Blueprint configuration, which links your Blueprint to a Sanity project and Stack.\n\nWithout flags, displays the current configuration. Use --edit to interactively modify settings, or combine --edit with ID flags to update values directly (useful for scripting and automation).\n\nIf you need to switch your Blueprint to a different Stack, use --edit --stack
|
|
200
|
+
"description": "Manages the local Blueprint configuration, which links your Blueprint to a Sanity project and Stack.\n\nWithout flags, displays the current configuration. Use --edit to interactively modify settings, or combine --edit with ID flags to update values directly (useful for scripting and automation).\n\nIf you need to switch your Blueprint to a different Stack, use --edit --stack.",
|
|
201
201
|
"examples": [
|
|
202
202
|
"<%= config.bin %> <%= command.id %>",
|
|
203
203
|
"<%= config.bin %> <%= command.id %> --edit",
|
|
204
204
|
"<%= config.bin %> <%= command.id %> --edit --project-id <projectId>",
|
|
205
|
-
"<%= config.bin %> <%= command.id %> --edit --project-id <projectId> --stack-id
|
|
205
|
+
"<%= config.bin %> <%= command.id %> --edit --project-id <projectId> --stack <name-or-id>"
|
|
206
206
|
],
|
|
207
207
|
"flags": {
|
|
208
208
|
"json": {
|
|
@@ -283,16 +283,16 @@
|
|
|
283
283
|
"multiple": false,
|
|
284
284
|
"type": "option"
|
|
285
285
|
},
|
|
286
|
-
"stack
|
|
286
|
+
"stack": {
|
|
287
287
|
"aliases": [
|
|
288
|
-
"stack",
|
|
288
|
+
"stack-id",
|
|
289
289
|
"stackId"
|
|
290
290
|
],
|
|
291
291
|
"dependsOn": [
|
|
292
292
|
"edit"
|
|
293
293
|
],
|
|
294
|
-
"description": "
|
|
295
|
-
"name": "stack
|
|
294
|
+
"description": "Stack name or ID to set in the configuration. Requires --edit flag",
|
|
295
|
+
"name": "stack",
|
|
296
296
|
"hasDynamicHelp": false,
|
|
297
297
|
"multiple": false,
|
|
298
298
|
"type": "option"
|
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
"blueprints:deploy": {
|
|
319
319
|
"aliases": [],
|
|
320
320
|
"args": {},
|
|
321
|
-
"description": "Pushes your local Blueprint configuration to the remote Stack; provisioning, updating, or destroying resources as needed. This is the primary command for applying infrastructure changes.\n\nBefore deploying, run 'blueprints plan' to preview changes. After deployment, use 'blueprints info' to verify Stack status or 'blueprints logs' to monitor activity.\n\nUse --no-wait to queue the deployment and return immediately without waiting for completion.",
|
|
321
|
+
"description": "Pushes your local Blueprint configuration to the remote Stack; provisioning, updating, or destroying resources as needed. This is the primary command for applying infrastructure changes.\n\nBefore deploying, run 'blueprints plan' to preview changes. After deployment, use 'blueprints info' to verify Stack status or 'blueprints logs' to monitor activity.\n\nUse --no-wait to queue the deployment and return immediately without waiting for completion.\n\nSet SANITY_ASSET_TIMEOUT (seconds) to override the 60-second timeout for processing resource assets.",
|
|
322
322
|
"examples": [
|
|
323
323
|
"<%= config.bin %> <%= command.id %>",
|
|
324
324
|
"<%= config.bin %> <%= command.id %> --no-wait"
|
|
@@ -365,6 +365,14 @@
|
|
|
365
365
|
"allowNo": false,
|
|
366
366
|
"type": "boolean"
|
|
367
367
|
},
|
|
368
|
+
"stack": {
|
|
369
|
+
"description": "Stack name or ID to use instead of the locally configured Stack",
|
|
370
|
+
"hidden": false,
|
|
371
|
+
"name": "stack",
|
|
372
|
+
"hasDynamicHelp": false,
|
|
373
|
+
"multiple": false,
|
|
374
|
+
"type": "option"
|
|
375
|
+
},
|
|
368
376
|
"no-wait": {
|
|
369
377
|
"description": "Do not wait for Stack deployment to complete",
|
|
370
378
|
"name": "no-wait",
|
|
@@ -403,7 +411,7 @@
|
|
|
403
411
|
"description": "Permanently removes the remote Stack and all its provisioned resources. Your local Blueprint files remain untouched, allowing you to redeploy later with 'blueprints init' + 'blueprints deploy'.\n\nThis is a destructive operation. You will be prompted to confirm unless --force is specified.\n\nUse this to clean up test environments or decommission a Stack you no longer need.",
|
|
404
412
|
"examples": [
|
|
405
413
|
"<%= config.bin %> <%= command.id %>",
|
|
406
|
-
"<%= config.bin %> <%= command.id %> --stack-id
|
|
414
|
+
"<%= config.bin %> <%= command.id %> --stack <name-or-id> --project-id <projectId> --force --no-wait"
|
|
407
415
|
],
|
|
408
416
|
"flags": {
|
|
409
417
|
"json": {
|
|
@@ -462,7 +470,7 @@
|
|
|
462
470
|
"project"
|
|
463
471
|
],
|
|
464
472
|
"dependsOn": [
|
|
465
|
-
"stack
|
|
473
|
+
"stack",
|
|
466
474
|
"force"
|
|
467
475
|
],
|
|
468
476
|
"description": "Project associated with the Stack",
|
|
@@ -481,7 +489,7 @@
|
|
|
481
489
|
"org"
|
|
482
490
|
],
|
|
483
491
|
"dependsOn": [
|
|
484
|
-
"stack
|
|
492
|
+
"stack",
|
|
485
493
|
"force"
|
|
486
494
|
],
|
|
487
495
|
"description": "Organization associated with the Stack",
|
|
@@ -494,13 +502,13 @@
|
|
|
494
502
|
"multiple": false,
|
|
495
503
|
"type": "option"
|
|
496
504
|
},
|
|
497
|
-
"stack
|
|
505
|
+
"stack": {
|
|
498
506
|
"aliases": [
|
|
499
|
-
"
|
|
500
|
-
"
|
|
507
|
+
"stack-id",
|
|
508
|
+
"stackId"
|
|
501
509
|
],
|
|
502
|
-
"description": "Stack ID to destroy (defaults to
|
|
503
|
-
"name": "stack
|
|
510
|
+
"description": "Stack name or ID to destroy (defaults to the locally configured Stack)",
|
|
511
|
+
"name": "stack",
|
|
504
512
|
"hasDynamicHelp": false,
|
|
505
513
|
"multiple": false,
|
|
506
514
|
"type": "option"
|
|
@@ -570,10 +578,9 @@
|
|
|
570
578
|
"type": "boolean"
|
|
571
579
|
},
|
|
572
580
|
"verbose": {
|
|
573
|
-
"description": "Verbose output",
|
|
574
|
-
"hidden": false,
|
|
581
|
+
"description": "Verbose output; defaults to true",
|
|
575
582
|
"name": "verbose",
|
|
576
|
-
"allowNo":
|
|
583
|
+
"allowNo": true,
|
|
577
584
|
"type": "boolean"
|
|
578
585
|
},
|
|
579
586
|
"fix": {
|
|
@@ -606,7 +613,7 @@
|
|
|
606
613
|
"description": "Displays the current state and metadata of your remote Stack deployment, including deployed resources, status, and configuration.\n\nUse this command to verify a deployment succeeded, check what resources are live, or confirm which Stack your local Blueprint is connected to.\n\nRun 'blueprints stacks' to see all available Stacks in your project or organization.",
|
|
607
614
|
"examples": [
|
|
608
615
|
"<%= config.bin %> <%= command.id %>",
|
|
609
|
-
"<%= config.bin %> <%= command.id %> --
|
|
616
|
+
"<%= config.bin %> <%= command.id %> --stack <name-or-id>"
|
|
610
617
|
],
|
|
611
618
|
"flags": {
|
|
612
619
|
"json": {
|
|
@@ -650,9 +657,12 @@
|
|
|
650
657
|
"allowNo": false,
|
|
651
658
|
"type": "boolean"
|
|
652
659
|
},
|
|
653
|
-
"
|
|
654
|
-
"
|
|
655
|
-
|
|
660
|
+
"stack": {
|
|
661
|
+
"aliases": [
|
|
662
|
+
"id"
|
|
663
|
+
],
|
|
664
|
+
"description": "Stack name or ID to use instead of the locally configured Stack",
|
|
665
|
+
"name": "stack",
|
|
656
666
|
"hasDynamicHelp": false,
|
|
657
667
|
"multiple": false,
|
|
658
668
|
"type": "option"
|
|
@@ -796,7 +806,6 @@
|
|
|
796
806
|
},
|
|
797
807
|
"stack-id": {
|
|
798
808
|
"aliases": [
|
|
799
|
-
"stack",
|
|
800
809
|
"stackId"
|
|
801
810
|
],
|
|
802
811
|
"dependsOn": [
|
|
@@ -892,6 +901,14 @@
|
|
|
892
901
|
"allowNo": false,
|
|
893
902
|
"type": "boolean"
|
|
894
903
|
},
|
|
904
|
+
"stack": {
|
|
905
|
+
"description": "Stack name or ID to use instead of the locally configured Stack",
|
|
906
|
+
"hidden": false,
|
|
907
|
+
"name": "stack",
|
|
908
|
+
"hasDynamicHelp": false,
|
|
909
|
+
"multiple": false,
|
|
910
|
+
"type": "option"
|
|
911
|
+
},
|
|
895
912
|
"watch": {
|
|
896
913
|
"aliases": [
|
|
897
914
|
"follow"
|
|
@@ -968,6 +985,14 @@
|
|
|
968
985
|
"name": "verbose",
|
|
969
986
|
"allowNo": false,
|
|
970
987
|
"type": "boolean"
|
|
988
|
+
},
|
|
989
|
+
"stack": {
|
|
990
|
+
"description": "Stack name or ID to use instead of the locally configured Stack",
|
|
991
|
+
"hidden": false,
|
|
992
|
+
"name": "stack",
|
|
993
|
+
"hasDynamicHelp": false,
|
|
994
|
+
"multiple": false,
|
|
995
|
+
"type": "option"
|
|
971
996
|
}
|
|
972
997
|
},
|
|
973
998
|
"hasDynamicHelp": false,
|
|
@@ -1412,6 +1437,14 @@
|
|
|
1412
1437
|
"allowNo": false,
|
|
1413
1438
|
"type": "boolean"
|
|
1414
1439
|
},
|
|
1440
|
+
"stack": {
|
|
1441
|
+
"description": "Stack name or ID to use instead of the locally configured Stack",
|
|
1442
|
+
"hidden": false,
|
|
1443
|
+
"name": "stack",
|
|
1444
|
+
"hasDynamicHelp": false,
|
|
1445
|
+
"multiple": false,
|
|
1446
|
+
"type": "option"
|
|
1447
|
+
},
|
|
1415
1448
|
"limit": {
|
|
1416
1449
|
"char": "l",
|
|
1417
1450
|
"description": "Total number of log entries to retrieve",
|
|
@@ -1852,6 +1885,14 @@
|
|
|
1852
1885
|
"name": "verbose",
|
|
1853
1886
|
"allowNo": false,
|
|
1854
1887
|
"type": "boolean"
|
|
1888
|
+
},
|
|
1889
|
+
"stack": {
|
|
1890
|
+
"description": "Stack name or ID to use instead of the locally configured Stack",
|
|
1891
|
+
"hidden": true,
|
|
1892
|
+
"name": "stack",
|
|
1893
|
+
"hasDynamicHelp": false,
|
|
1894
|
+
"multiple": false,
|
|
1895
|
+
"type": "option"
|
|
1855
1896
|
}
|
|
1856
1897
|
},
|
|
1857
1898
|
"hasDynamicHelp": false,
|
|
@@ -1926,6 +1967,14 @@
|
|
|
1926
1967
|
"name": "verbose",
|
|
1927
1968
|
"allowNo": false,
|
|
1928
1969
|
"type": "boolean"
|
|
1970
|
+
},
|
|
1971
|
+
"stack": {
|
|
1972
|
+
"description": "Stack name or ID to use instead of the locally configured Stack",
|
|
1973
|
+
"hidden": true,
|
|
1974
|
+
"name": "stack",
|
|
1975
|
+
"hasDynamicHelp": false,
|
|
1976
|
+
"multiple": false,
|
|
1977
|
+
"type": "option"
|
|
1929
1978
|
}
|
|
1930
1979
|
},
|
|
1931
1980
|
"hasDynamicHelp": false,
|
|
@@ -2005,6 +2054,14 @@
|
|
|
2005
2054
|
"name": "verbose",
|
|
2006
2055
|
"allowNo": false,
|
|
2007
2056
|
"type": "boolean"
|
|
2057
|
+
},
|
|
2058
|
+
"stack": {
|
|
2059
|
+
"description": "Stack name or ID to use instead of the locally configured Stack",
|
|
2060
|
+
"hidden": true,
|
|
2061
|
+
"name": "stack",
|
|
2062
|
+
"hasDynamicHelp": false,
|
|
2063
|
+
"multiple": false,
|
|
2064
|
+
"type": "option"
|
|
2008
2065
|
}
|
|
2009
2066
|
},
|
|
2010
2067
|
"hasDynamicHelp": false,
|
|
@@ -2026,5 +2083,5 @@
|
|
|
2026
2083
|
]
|
|
2027
2084
|
}
|
|
2028
2085
|
},
|
|
2029
|
-
"version": "
|
|
2086
|
+
"version": "14.0.1"
|
|
2030
2087
|
}
|