@sanity/cli 8.4.1 → 8.5.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.
- package/README.md +1 -1
- package/dist/SanityHelp.js +37 -1
- package/dist/SanityHelp.js.map +1 -1
- package/dist/actions/deploy/deployStudio.js +3 -1
- package/dist/actions/deploy/deployStudio.js.map +1 -1
- package/dist/actions/deploy/deployStudioSchemasAndManifests.js +2 -1
- package/dist/actions/deploy/deployStudioSchemasAndManifests.js.map +1 -1
- package/dist/actions/dev/devAction.js +4 -2
- package/dist/actions/dev/devAction.js.map +1 -1
- package/dist/actions/manifest/extractManifest.js +2 -1
- package/dist/actions/manifest/extractManifest.js.map +1 -1
- package/dist/actions/manifest/extractStudioManifest.js +1 -0
- package/dist/actions/manifest/extractStudioManifest.js.map +1 -1
- package/dist/commands/init.js +1 -1
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/media/delete-aspect.js +1 -3
- package/dist/commands/media/delete-aspect.js.map +1 -1
- package/dist/commands/tokens/delete.js +1 -3
- package/dist/commands/tokens/delete.js.map +1 -1
- package/dist/generated/apiRoutes.js +1 -1
- package/dist/generated/apiRoutes.js.map +1 -1
- package/dist/topicAliases.js +3 -0
- package/dist/topicAliases.js.map +1 -1
- package/oclif.config.js +2 -1
- package/oclif.manifest.json +256 -260
- package/package.json +7 -5
package/oclif.manifest.json
CHANGED
|
@@ -775,7 +775,7 @@
|
|
|
775
775
|
"type": "boolean"
|
|
776
776
|
},
|
|
777
777
|
"organization": {
|
|
778
|
-
"description": "Organization ID to use for the project",
|
|
778
|
+
"description": "Organization ID to use for the project (required for unattended project creation)",
|
|
779
779
|
"name": "organization",
|
|
780
780
|
"hasDynamicHelp": false,
|
|
781
781
|
"helpValue": "<id>",
|
|
@@ -2621,258 +2621,6 @@
|
|
|
2621
2621
|
"search.js"
|
|
2622
2622
|
]
|
|
2623
2623
|
},
|
|
2624
|
-
"graphql:deploy": {
|
|
2625
|
-
"aliases": [],
|
|
2626
|
-
"args": {},
|
|
2627
|
-
"description": "Deploy a GraphQL API from the current Sanity schema",
|
|
2628
|
-
"examples": [
|
|
2629
|
-
{
|
|
2630
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
2631
|
-
"description": "Deploy all defined GraphQL APIs"
|
|
2632
|
-
},
|
|
2633
|
-
{
|
|
2634
|
-
"command": "<%= config.bin %> <%= command.id %> --dry-run",
|
|
2635
|
-
"description": "Validate defined GraphQL APIs, check for breaking changes, skip deploy"
|
|
2636
|
-
},
|
|
2637
|
-
{
|
|
2638
|
-
"command": "<%= config.bin %> <%= command.id %> --api staging --api ios",
|
|
2639
|
-
"description": "Deploy only the GraphQL APIs with the IDs \"staging\" and \"ios\""
|
|
2640
|
-
},
|
|
2641
|
-
{
|
|
2642
|
-
"command": "<%= config.bin %> <%= command.id %> --playground",
|
|
2643
|
-
"description": "Deploy all defined GraphQL APIs, overriding any playground setting"
|
|
2644
|
-
}
|
|
2645
|
-
],
|
|
2646
|
-
"flags": {
|
|
2647
|
-
"api": {
|
|
2648
|
-
"description": "Only deploy API with this ID (can be specified multiple times)",
|
|
2649
|
-
"name": "api",
|
|
2650
|
-
"hasDynamicHelp": false,
|
|
2651
|
-
"multiple": true,
|
|
2652
|
-
"type": "option"
|
|
2653
|
-
},
|
|
2654
|
-
"dataset": {
|
|
2655
|
-
"char": "d",
|
|
2656
|
-
"description": "Deploy API for the given dataset",
|
|
2657
|
-
"name": "dataset",
|
|
2658
|
-
"hasDynamicHelp": false,
|
|
2659
|
-
"helpValue": "<name>",
|
|
2660
|
-
"multiple": false,
|
|
2661
|
-
"type": "option"
|
|
2662
|
-
},
|
|
2663
|
-
"dry-run": {
|
|
2664
|
-
"description": "Validate defined GraphQL APIs, check for breaking changes, skip deploy",
|
|
2665
|
-
"name": "dry-run",
|
|
2666
|
-
"allowNo": false,
|
|
2667
|
-
"type": "boolean"
|
|
2668
|
-
},
|
|
2669
|
-
"force": {
|
|
2670
|
-
"description": "Deploy API without confirming breaking changes",
|
|
2671
|
-
"name": "force",
|
|
2672
|
-
"allowNo": false,
|
|
2673
|
-
"type": "boolean"
|
|
2674
|
-
},
|
|
2675
|
-
"generation": {
|
|
2676
|
-
"description": "API generation to deploy (defaults to \"gen3\")",
|
|
2677
|
-
"name": "generation",
|
|
2678
|
-
"hasDynamicHelp": false,
|
|
2679
|
-
"multiple": false,
|
|
2680
|
-
"options": [
|
|
2681
|
-
"gen1",
|
|
2682
|
-
"gen2",
|
|
2683
|
-
"gen3"
|
|
2684
|
-
],
|
|
2685
|
-
"type": "option"
|
|
2686
|
-
},
|
|
2687
|
-
"non-null-document-fields": {
|
|
2688
|
-
"description": "Use non-null document fields (_id, _type etc)",
|
|
2689
|
-
"name": "non-null-document-fields",
|
|
2690
|
-
"allowNo": false,
|
|
2691
|
-
"type": "boolean"
|
|
2692
|
-
},
|
|
2693
|
-
"playground": {
|
|
2694
|
-
"description": "Enable GraphQL playground for easier debugging",
|
|
2695
|
-
"name": "playground",
|
|
2696
|
-
"allowNo": true,
|
|
2697
|
-
"type": "boolean"
|
|
2698
|
-
},
|
|
2699
|
-
"tag": {
|
|
2700
|
-
"description": "Deploy API(s) to given tag (defaults to \"default\")",
|
|
2701
|
-
"name": "tag",
|
|
2702
|
-
"hasDynamicHelp": false,
|
|
2703
|
-
"multiple": false,
|
|
2704
|
-
"type": "option"
|
|
2705
|
-
},
|
|
2706
|
-
"with-union-cache": {
|
|
2707
|
-
"description": "Cache union types (faster for schemas with many self-references)",
|
|
2708
|
-
"name": "with-union-cache",
|
|
2709
|
-
"allowNo": false,
|
|
2710
|
-
"type": "boolean"
|
|
2711
|
-
}
|
|
2712
|
-
},
|
|
2713
|
-
"hasDynamicHelp": false,
|
|
2714
|
-
"hiddenAliases": [],
|
|
2715
|
-
"id": "graphql:deploy",
|
|
2716
|
-
"pluginAlias": "@sanity/cli",
|
|
2717
|
-
"pluginName": "@sanity/cli",
|
|
2718
|
-
"pluginType": "core",
|
|
2719
|
-
"strict": true,
|
|
2720
|
-
"isESM": true,
|
|
2721
|
-
"relativePath": [
|
|
2722
|
-
"dist",
|
|
2723
|
-
"commands",
|
|
2724
|
-
"graphql",
|
|
2725
|
-
"deploy.js"
|
|
2726
|
-
]
|
|
2727
|
-
},
|
|
2728
|
-
"graphql:list": {
|
|
2729
|
-
"aliases": [],
|
|
2730
|
-
"args": {},
|
|
2731
|
-
"description": "List deployed GraphQL endpoints for the project",
|
|
2732
|
-
"examples": [
|
|
2733
|
-
{
|
|
2734
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
2735
|
-
"description": "List GraphQL endpoints for the project"
|
|
2736
|
-
},
|
|
2737
|
-
{
|
|
2738
|
-
"command": "<%= config.bin %> <%= command.id %> --project-id abc123",
|
|
2739
|
-
"description": "List GraphQL endpoints for a specific project"
|
|
2740
|
-
}
|
|
2741
|
-
],
|
|
2742
|
-
"flags": {
|
|
2743
|
-
"project-id": {
|
|
2744
|
-
"char": "p",
|
|
2745
|
-
"description": "Project ID to list GraphQL endpoints for (overrides CLI configuration)",
|
|
2746
|
-
"helpGroup": "OVERRIDE",
|
|
2747
|
-
"name": "project-id",
|
|
2748
|
-
"hasDynamicHelp": false,
|
|
2749
|
-
"helpValue": "<id>",
|
|
2750
|
-
"multiple": false,
|
|
2751
|
-
"type": "option"
|
|
2752
|
-
}
|
|
2753
|
-
},
|
|
2754
|
-
"hasDynamicHelp": false,
|
|
2755
|
-
"hiddenAliases": [],
|
|
2756
|
-
"id": "graphql:list",
|
|
2757
|
-
"pluginAlias": "@sanity/cli",
|
|
2758
|
-
"pluginName": "@sanity/cli",
|
|
2759
|
-
"pluginType": "core",
|
|
2760
|
-
"strict": true,
|
|
2761
|
-
"isESM": true,
|
|
2762
|
-
"relativePath": [
|
|
2763
|
-
"dist",
|
|
2764
|
-
"commands",
|
|
2765
|
-
"graphql",
|
|
2766
|
-
"list.js"
|
|
2767
|
-
]
|
|
2768
|
-
},
|
|
2769
|
-
"graphql:undeploy": {
|
|
2770
|
-
"aliases": [],
|
|
2771
|
-
"args": {},
|
|
2772
|
-
"description": "Remove a deployed GraphQL API",
|
|
2773
|
-
"examples": [
|
|
2774
|
-
{
|
|
2775
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
2776
|
-
"description": "Undeploy GraphQL API for current project and dataset"
|
|
2777
|
-
},
|
|
2778
|
-
{
|
|
2779
|
-
"command": "<%= config.bin %> <%= command.id %> --api ios",
|
|
2780
|
-
"description": "Undeploy API with ID \"ios\""
|
|
2781
|
-
},
|
|
2782
|
-
{
|
|
2783
|
-
"command": "<%= config.bin %> <%= command.id %> --dataset staging",
|
|
2784
|
-
"description": "Undeploy GraphQL API for staging dataset"
|
|
2785
|
-
},
|
|
2786
|
-
{
|
|
2787
|
-
"command": "<%= config.bin %> <%= command.id %> --dataset staging --tag next",
|
|
2788
|
-
"description": "Undeploy GraphQL API for staging dataset with \"next\" tag"
|
|
2789
|
-
},
|
|
2790
|
-
{
|
|
2791
|
-
"command": "<%= config.bin %> <%= command.id %> --force",
|
|
2792
|
-
"description": "Undeploy GraphQL API without confirmation prompt"
|
|
2793
|
-
},
|
|
2794
|
-
{
|
|
2795
|
-
"command": "<%= config.bin %> <%= command.id %> --project-id abc123 --dataset production",
|
|
2796
|
-
"description": "Undeploy GraphQL API for a specific project and dataset"
|
|
2797
|
-
}
|
|
2798
|
-
],
|
|
2799
|
-
"flags": {
|
|
2800
|
-
"project-id": {
|
|
2801
|
-
"char": "p",
|
|
2802
|
-
"description": "Project ID to undeploy GraphQL API from (overrides CLI configuration)",
|
|
2803
|
-
"helpGroup": "OVERRIDE",
|
|
2804
|
-
"name": "project-id",
|
|
2805
|
-
"hasDynamicHelp": false,
|
|
2806
|
-
"helpValue": "<id>",
|
|
2807
|
-
"multiple": false,
|
|
2808
|
-
"type": "option"
|
|
2809
|
-
},
|
|
2810
|
-
"api": {
|
|
2811
|
-
"description": "Undeploy API with this ID",
|
|
2812
|
-
"exclusive": [
|
|
2813
|
-
"project-id",
|
|
2814
|
-
"project"
|
|
2815
|
-
],
|
|
2816
|
-
"name": "api",
|
|
2817
|
-
"required": false,
|
|
2818
|
-
"hasDynamicHelp": false,
|
|
2819
|
-
"multiple": false,
|
|
2820
|
-
"type": "option"
|
|
2821
|
-
},
|
|
2822
|
-
"dataset": {
|
|
2823
|
-
"char": "d",
|
|
2824
|
-
"description": "Dataset to undeploy GraphQL API from (overrides CLI configuration)",
|
|
2825
|
-
"helpGroup": "OVERRIDE",
|
|
2826
|
-
"name": "dataset",
|
|
2827
|
-
"hasDynamicHelp": false,
|
|
2828
|
-
"helpValue": "<name>",
|
|
2829
|
-
"multiple": false,
|
|
2830
|
-
"type": "option"
|
|
2831
|
-
},
|
|
2832
|
-
"force": {
|
|
2833
|
-
"description": "Skip confirmation prompt",
|
|
2834
|
-
"name": "force",
|
|
2835
|
-
"required": false,
|
|
2836
|
-
"allowNo": false,
|
|
2837
|
-
"type": "boolean"
|
|
2838
|
-
},
|
|
2839
|
-
"project": {
|
|
2840
|
-
"deprecated": {
|
|
2841
|
-
"to": "project-id"
|
|
2842
|
-
},
|
|
2843
|
-
"description": "Project ID to delete GraphQL API for",
|
|
2844
|
-
"hidden": true,
|
|
2845
|
-
"name": "project",
|
|
2846
|
-
"required": false,
|
|
2847
|
-
"hasDynamicHelp": false,
|
|
2848
|
-
"multiple": false,
|
|
2849
|
-
"type": "option"
|
|
2850
|
-
},
|
|
2851
|
-
"tag": {
|
|
2852
|
-
"description": "Tag to undeploy GraphQL API from",
|
|
2853
|
-
"name": "tag",
|
|
2854
|
-
"required": false,
|
|
2855
|
-
"default": "default",
|
|
2856
|
-
"hasDynamicHelp": false,
|
|
2857
|
-
"multiple": false,
|
|
2858
|
-
"type": "option"
|
|
2859
|
-
}
|
|
2860
|
-
},
|
|
2861
|
-
"hasDynamicHelp": false,
|
|
2862
|
-
"hiddenAliases": [],
|
|
2863
|
-
"id": "graphql:undeploy",
|
|
2864
|
-
"pluginAlias": "@sanity/cli",
|
|
2865
|
-
"pluginName": "@sanity/cli",
|
|
2866
|
-
"pluginType": "core",
|
|
2867
|
-
"strict": true,
|
|
2868
|
-
"isESM": true,
|
|
2869
|
-
"relativePath": [
|
|
2870
|
-
"dist",
|
|
2871
|
-
"commands",
|
|
2872
|
-
"graphql",
|
|
2873
|
-
"undeploy.js"
|
|
2874
|
-
]
|
|
2875
|
-
},
|
|
2876
2624
|
"documents:create": {
|
|
2877
2625
|
"aliases": [],
|
|
2878
2626
|
"args": {
|
|
@@ -3346,6 +3094,258 @@
|
|
|
3346
3094
|
"validate.js"
|
|
3347
3095
|
]
|
|
3348
3096
|
},
|
|
3097
|
+
"graphql:deploy": {
|
|
3098
|
+
"aliases": [],
|
|
3099
|
+
"args": {},
|
|
3100
|
+
"description": "Deploy a GraphQL API from the current Sanity schema",
|
|
3101
|
+
"examples": [
|
|
3102
|
+
{
|
|
3103
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
3104
|
+
"description": "Deploy all defined GraphQL APIs"
|
|
3105
|
+
},
|
|
3106
|
+
{
|
|
3107
|
+
"command": "<%= config.bin %> <%= command.id %> --dry-run",
|
|
3108
|
+
"description": "Validate defined GraphQL APIs, check for breaking changes, skip deploy"
|
|
3109
|
+
},
|
|
3110
|
+
{
|
|
3111
|
+
"command": "<%= config.bin %> <%= command.id %> --api staging --api ios",
|
|
3112
|
+
"description": "Deploy only the GraphQL APIs with the IDs \"staging\" and \"ios\""
|
|
3113
|
+
},
|
|
3114
|
+
{
|
|
3115
|
+
"command": "<%= config.bin %> <%= command.id %> --playground",
|
|
3116
|
+
"description": "Deploy all defined GraphQL APIs, overriding any playground setting"
|
|
3117
|
+
}
|
|
3118
|
+
],
|
|
3119
|
+
"flags": {
|
|
3120
|
+
"api": {
|
|
3121
|
+
"description": "Only deploy API with this ID (can be specified multiple times)",
|
|
3122
|
+
"name": "api",
|
|
3123
|
+
"hasDynamicHelp": false,
|
|
3124
|
+
"multiple": true,
|
|
3125
|
+
"type": "option"
|
|
3126
|
+
},
|
|
3127
|
+
"dataset": {
|
|
3128
|
+
"char": "d",
|
|
3129
|
+
"description": "Deploy API for the given dataset",
|
|
3130
|
+
"name": "dataset",
|
|
3131
|
+
"hasDynamicHelp": false,
|
|
3132
|
+
"helpValue": "<name>",
|
|
3133
|
+
"multiple": false,
|
|
3134
|
+
"type": "option"
|
|
3135
|
+
},
|
|
3136
|
+
"dry-run": {
|
|
3137
|
+
"description": "Validate defined GraphQL APIs, check for breaking changes, skip deploy",
|
|
3138
|
+
"name": "dry-run",
|
|
3139
|
+
"allowNo": false,
|
|
3140
|
+
"type": "boolean"
|
|
3141
|
+
},
|
|
3142
|
+
"force": {
|
|
3143
|
+
"description": "Deploy API without confirming breaking changes",
|
|
3144
|
+
"name": "force",
|
|
3145
|
+
"allowNo": false,
|
|
3146
|
+
"type": "boolean"
|
|
3147
|
+
},
|
|
3148
|
+
"generation": {
|
|
3149
|
+
"description": "API generation to deploy (defaults to \"gen3\")",
|
|
3150
|
+
"name": "generation",
|
|
3151
|
+
"hasDynamicHelp": false,
|
|
3152
|
+
"multiple": false,
|
|
3153
|
+
"options": [
|
|
3154
|
+
"gen1",
|
|
3155
|
+
"gen2",
|
|
3156
|
+
"gen3"
|
|
3157
|
+
],
|
|
3158
|
+
"type": "option"
|
|
3159
|
+
},
|
|
3160
|
+
"non-null-document-fields": {
|
|
3161
|
+
"description": "Use non-null document fields (_id, _type etc)",
|
|
3162
|
+
"name": "non-null-document-fields",
|
|
3163
|
+
"allowNo": false,
|
|
3164
|
+
"type": "boolean"
|
|
3165
|
+
},
|
|
3166
|
+
"playground": {
|
|
3167
|
+
"description": "Enable GraphQL playground for easier debugging",
|
|
3168
|
+
"name": "playground",
|
|
3169
|
+
"allowNo": true,
|
|
3170
|
+
"type": "boolean"
|
|
3171
|
+
},
|
|
3172
|
+
"tag": {
|
|
3173
|
+
"description": "Deploy API(s) to given tag (defaults to \"default\")",
|
|
3174
|
+
"name": "tag",
|
|
3175
|
+
"hasDynamicHelp": false,
|
|
3176
|
+
"multiple": false,
|
|
3177
|
+
"type": "option"
|
|
3178
|
+
},
|
|
3179
|
+
"with-union-cache": {
|
|
3180
|
+
"description": "Cache union types (faster for schemas with many self-references)",
|
|
3181
|
+
"name": "with-union-cache",
|
|
3182
|
+
"allowNo": false,
|
|
3183
|
+
"type": "boolean"
|
|
3184
|
+
}
|
|
3185
|
+
},
|
|
3186
|
+
"hasDynamicHelp": false,
|
|
3187
|
+
"hiddenAliases": [],
|
|
3188
|
+
"id": "graphql:deploy",
|
|
3189
|
+
"pluginAlias": "@sanity/cli",
|
|
3190
|
+
"pluginName": "@sanity/cli",
|
|
3191
|
+
"pluginType": "core",
|
|
3192
|
+
"strict": true,
|
|
3193
|
+
"isESM": true,
|
|
3194
|
+
"relativePath": [
|
|
3195
|
+
"dist",
|
|
3196
|
+
"commands",
|
|
3197
|
+
"graphql",
|
|
3198
|
+
"deploy.js"
|
|
3199
|
+
]
|
|
3200
|
+
},
|
|
3201
|
+
"graphql:list": {
|
|
3202
|
+
"aliases": [],
|
|
3203
|
+
"args": {},
|
|
3204
|
+
"description": "List deployed GraphQL endpoints for the project",
|
|
3205
|
+
"examples": [
|
|
3206
|
+
{
|
|
3207
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
3208
|
+
"description": "List GraphQL endpoints for the project"
|
|
3209
|
+
},
|
|
3210
|
+
{
|
|
3211
|
+
"command": "<%= config.bin %> <%= command.id %> --project-id abc123",
|
|
3212
|
+
"description": "List GraphQL endpoints for a specific project"
|
|
3213
|
+
}
|
|
3214
|
+
],
|
|
3215
|
+
"flags": {
|
|
3216
|
+
"project-id": {
|
|
3217
|
+
"char": "p",
|
|
3218
|
+
"description": "Project ID to list GraphQL endpoints for (overrides CLI configuration)",
|
|
3219
|
+
"helpGroup": "OVERRIDE",
|
|
3220
|
+
"name": "project-id",
|
|
3221
|
+
"hasDynamicHelp": false,
|
|
3222
|
+
"helpValue": "<id>",
|
|
3223
|
+
"multiple": false,
|
|
3224
|
+
"type": "option"
|
|
3225
|
+
}
|
|
3226
|
+
},
|
|
3227
|
+
"hasDynamicHelp": false,
|
|
3228
|
+
"hiddenAliases": [],
|
|
3229
|
+
"id": "graphql:list",
|
|
3230
|
+
"pluginAlias": "@sanity/cli",
|
|
3231
|
+
"pluginName": "@sanity/cli",
|
|
3232
|
+
"pluginType": "core",
|
|
3233
|
+
"strict": true,
|
|
3234
|
+
"isESM": true,
|
|
3235
|
+
"relativePath": [
|
|
3236
|
+
"dist",
|
|
3237
|
+
"commands",
|
|
3238
|
+
"graphql",
|
|
3239
|
+
"list.js"
|
|
3240
|
+
]
|
|
3241
|
+
},
|
|
3242
|
+
"graphql:undeploy": {
|
|
3243
|
+
"aliases": [],
|
|
3244
|
+
"args": {},
|
|
3245
|
+
"description": "Remove a deployed GraphQL API",
|
|
3246
|
+
"examples": [
|
|
3247
|
+
{
|
|
3248
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
3249
|
+
"description": "Undeploy GraphQL API for current project and dataset"
|
|
3250
|
+
},
|
|
3251
|
+
{
|
|
3252
|
+
"command": "<%= config.bin %> <%= command.id %> --api ios",
|
|
3253
|
+
"description": "Undeploy API with ID \"ios\""
|
|
3254
|
+
},
|
|
3255
|
+
{
|
|
3256
|
+
"command": "<%= config.bin %> <%= command.id %> --dataset staging",
|
|
3257
|
+
"description": "Undeploy GraphQL API for staging dataset"
|
|
3258
|
+
},
|
|
3259
|
+
{
|
|
3260
|
+
"command": "<%= config.bin %> <%= command.id %> --dataset staging --tag next",
|
|
3261
|
+
"description": "Undeploy GraphQL API for staging dataset with \"next\" tag"
|
|
3262
|
+
},
|
|
3263
|
+
{
|
|
3264
|
+
"command": "<%= config.bin %> <%= command.id %> --force",
|
|
3265
|
+
"description": "Undeploy GraphQL API without confirmation prompt"
|
|
3266
|
+
},
|
|
3267
|
+
{
|
|
3268
|
+
"command": "<%= config.bin %> <%= command.id %> --project-id abc123 --dataset production",
|
|
3269
|
+
"description": "Undeploy GraphQL API for a specific project and dataset"
|
|
3270
|
+
}
|
|
3271
|
+
],
|
|
3272
|
+
"flags": {
|
|
3273
|
+
"project-id": {
|
|
3274
|
+
"char": "p",
|
|
3275
|
+
"description": "Project ID to undeploy GraphQL API from (overrides CLI configuration)",
|
|
3276
|
+
"helpGroup": "OVERRIDE",
|
|
3277
|
+
"name": "project-id",
|
|
3278
|
+
"hasDynamicHelp": false,
|
|
3279
|
+
"helpValue": "<id>",
|
|
3280
|
+
"multiple": false,
|
|
3281
|
+
"type": "option"
|
|
3282
|
+
},
|
|
3283
|
+
"api": {
|
|
3284
|
+
"description": "Undeploy API with this ID",
|
|
3285
|
+
"exclusive": [
|
|
3286
|
+
"project-id",
|
|
3287
|
+
"project"
|
|
3288
|
+
],
|
|
3289
|
+
"name": "api",
|
|
3290
|
+
"required": false,
|
|
3291
|
+
"hasDynamicHelp": false,
|
|
3292
|
+
"multiple": false,
|
|
3293
|
+
"type": "option"
|
|
3294
|
+
},
|
|
3295
|
+
"dataset": {
|
|
3296
|
+
"char": "d",
|
|
3297
|
+
"description": "Dataset to undeploy GraphQL API from (overrides CLI configuration)",
|
|
3298
|
+
"helpGroup": "OVERRIDE",
|
|
3299
|
+
"name": "dataset",
|
|
3300
|
+
"hasDynamicHelp": false,
|
|
3301
|
+
"helpValue": "<name>",
|
|
3302
|
+
"multiple": false,
|
|
3303
|
+
"type": "option"
|
|
3304
|
+
},
|
|
3305
|
+
"force": {
|
|
3306
|
+
"description": "Skip confirmation prompt",
|
|
3307
|
+
"name": "force",
|
|
3308
|
+
"required": false,
|
|
3309
|
+
"allowNo": false,
|
|
3310
|
+
"type": "boolean"
|
|
3311
|
+
},
|
|
3312
|
+
"project": {
|
|
3313
|
+
"deprecated": {
|
|
3314
|
+
"to": "project-id"
|
|
3315
|
+
},
|
|
3316
|
+
"description": "Project ID to delete GraphQL API for",
|
|
3317
|
+
"hidden": true,
|
|
3318
|
+
"name": "project",
|
|
3319
|
+
"required": false,
|
|
3320
|
+
"hasDynamicHelp": false,
|
|
3321
|
+
"multiple": false,
|
|
3322
|
+
"type": "option"
|
|
3323
|
+
},
|
|
3324
|
+
"tag": {
|
|
3325
|
+
"description": "Tag to undeploy GraphQL API from",
|
|
3326
|
+
"name": "tag",
|
|
3327
|
+
"required": false,
|
|
3328
|
+
"default": "default",
|
|
3329
|
+
"hasDynamicHelp": false,
|
|
3330
|
+
"multiple": false,
|
|
3331
|
+
"type": "option"
|
|
3332
|
+
}
|
|
3333
|
+
},
|
|
3334
|
+
"hasDynamicHelp": false,
|
|
3335
|
+
"hiddenAliases": [],
|
|
3336
|
+
"id": "graphql:undeploy",
|
|
3337
|
+
"pluginAlias": "@sanity/cli",
|
|
3338
|
+
"pluginName": "@sanity/cli",
|
|
3339
|
+
"pluginType": "core",
|
|
3340
|
+
"strict": true,
|
|
3341
|
+
"isESM": true,
|
|
3342
|
+
"relativePath": [
|
|
3343
|
+
"dist",
|
|
3344
|
+
"commands",
|
|
3345
|
+
"graphql",
|
|
3346
|
+
"undeploy.js"
|
|
3347
|
+
]
|
|
3348
|
+
},
|
|
3349
3349
|
"hooks:attempt": {
|
|
3350
3350
|
"aliases": [],
|
|
3351
3351
|
"args": {
|
|
@@ -3736,9 +3736,7 @@
|
|
|
3736
3736
|
"type": "option"
|
|
3737
3737
|
},
|
|
3738
3738
|
"yes": {
|
|
3739
|
-
"
|
|
3740
|
-
"y"
|
|
3741
|
-
],
|
|
3739
|
+
"char": "y",
|
|
3742
3740
|
"description": "Run without prompts and confirm deletion",
|
|
3743
3741
|
"name": "yes",
|
|
3744
3742
|
"required": false,
|
|
@@ -5316,9 +5314,7 @@
|
|
|
5316
5314
|
"type": "option"
|
|
5317
5315
|
},
|
|
5318
5316
|
"yes": {
|
|
5319
|
-
"
|
|
5320
|
-
"y"
|
|
5321
|
-
],
|
|
5317
|
+
"char": "y",
|
|
5322
5318
|
"description": "Skip confirmation prompt (unattended mode)",
|
|
5323
5319
|
"name": "yes",
|
|
5324
5320
|
"required": false,
|
|
@@ -6161,5 +6157,5 @@
|
|
|
6161
6157
|
]
|
|
6162
6158
|
}
|
|
6163
6159
|
},
|
|
6164
|
-
"version": "8.
|
|
6160
|
+
"version": "8.5.0"
|
|
6165
6161
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/cli",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.5.0",
|
|
4
4
|
"description": "Sanity CLI tool for managing Sanity projects and organizations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -76,6 +76,8 @@
|
|
|
76
76
|
"@sanity/template-validator": "^3.1.0",
|
|
77
77
|
"@sanity/types": "^6.7.0",
|
|
78
78
|
"@sanity/worker-channels": "^2.0.0",
|
|
79
|
+
"@sanity/workflow-cli": "0.30.0",
|
|
80
|
+
"@sanity/workflow-engine": "0.30.0",
|
|
79
81
|
"@vercel/frameworks": "3.29.0",
|
|
80
82
|
"chokidar": "^5.0.0",
|
|
81
83
|
"console-table-printer": "^2.15.0",
|
|
@@ -119,9 +121,9 @@
|
|
|
119
121
|
"wrap-ansi": "^9.0.2",
|
|
120
122
|
"yaml": "^2.9.0",
|
|
121
123
|
"zod": "^4.4.3",
|
|
122
|
-
"@sanity/cli-build": "^6.0.
|
|
123
|
-
"@sanity/cli-core": "^3.
|
|
124
|
-
"@sanity/workbench-cli": "^2.2.
|
|
124
|
+
"@sanity/cli-build": "^6.0.2",
|
|
125
|
+
"@sanity/cli-core": "^3.5.0",
|
|
126
|
+
"@sanity/workbench-cli": "^2.2.3"
|
|
125
127
|
},
|
|
126
128
|
"devDependencies": {
|
|
127
129
|
"@eslint/compat": "^2.1.0",
|
|
@@ -155,7 +157,7 @@
|
|
|
155
157
|
"vitest": "^4.1.11",
|
|
156
158
|
"@repo/package.config": "0.0.1",
|
|
157
159
|
"@repo/tsconfig": "3.70.0",
|
|
158
|
-
"@sanity/cli-test": "
|
|
160
|
+
"@sanity/cli-test": "15.0.0",
|
|
159
161
|
"@sanity/eslint-config-cli": "1.1.3"
|
|
160
162
|
},
|
|
161
163
|
"peerDependencies": {
|