@sanity/cli 8.9.0 → 8.10.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.
@@ -737,6 +737,15 @@
737
737
  "allowNo": true,
738
738
  "type": "boolean"
739
739
  },
740
+ "install": {
741
+ "description": "Install dependencies after scaffolding",
742
+ "exclusive": [
743
+ "bare"
744
+ ],
745
+ "name": "install",
746
+ "allowNo": true,
747
+ "type": "boolean"
748
+ },
740
749
  "mcp": {
741
750
  "description": "Enable AI editor integration (MCP) setup",
742
751
  "name": "mcp",
@@ -3731,6 +3740,71 @@
3731
3740
  "undeploy.js"
3732
3741
  ]
3733
3742
  },
3743
+ "manifest:extract": {
3744
+ "aliases": [],
3745
+ "args": {},
3746
+ "description": "Extract studio configuration as JSON manifest files.\n\nNote: This command is experimental and subject to change. It is currently intended for use with Create only.",
3747
+ "examples": [
3748
+ {
3749
+ "command": "<%= config.bin %> <%= command.id %>",
3750
+ "description": "Extracts manifests"
3751
+ },
3752
+ {
3753
+ "command": "<%= config.bin %> <%= command.id %> --path /public/static",
3754
+ "description": "Extracts manifests into /public/static"
3755
+ }
3756
+ ],
3757
+ "flags": {
3758
+ "path": {
3759
+ "description": "Optional path to specify destination directory of the manifest files",
3760
+ "name": "path",
3761
+ "default": "dist/static",
3762
+ "hasDynamicHelp": false,
3763
+ "multiple": false,
3764
+ "type": "option"
3765
+ }
3766
+ },
3767
+ "hasDynamicHelp": false,
3768
+ "hiddenAliases": [],
3769
+ "id": "manifest:extract",
3770
+ "pluginAlias": "@sanity/cli",
3771
+ "pluginName": "@sanity/cli",
3772
+ "pluginType": "core",
3773
+ "strict": true,
3774
+ "isESM": true,
3775
+ "relativePath": [
3776
+ "dist",
3777
+ "commands",
3778
+ "manifest",
3779
+ "extract.js"
3780
+ ]
3781
+ },
3782
+ "mcp:configure": {
3783
+ "aliases": [],
3784
+ "args": {},
3785
+ "description": "Configure Sanity MCP server for AI editors (Antigravity, Claude Code, Cline, Cline CLI, Codex CLI, Cursor, Gemini CLI, GitHub Copilot CLI, MCPorter, OpenCode, VS Code, VS Code Insiders, Zed)",
3786
+ "examples": [
3787
+ {
3788
+ "command": "<%= config.bin %> <%= command.id %>",
3789
+ "description": "Configure Sanity MCP server for detected AI editors"
3790
+ }
3791
+ ],
3792
+ "flags": {},
3793
+ "hasDynamicHelp": false,
3794
+ "hiddenAliases": [],
3795
+ "id": "mcp:configure",
3796
+ "pluginAlias": "@sanity/cli",
3797
+ "pluginName": "@sanity/cli",
3798
+ "pluginType": "core",
3799
+ "strict": true,
3800
+ "isESM": true,
3801
+ "relativePath": [
3802
+ "dist",
3803
+ "commands",
3804
+ "mcp",
3805
+ "configure.js"
3806
+ ]
3807
+ },
3734
3808
  "hooks:attempt": {
3735
3809
  "aliases": [],
3736
3810
  "args": {
@@ -3979,71 +4053,6 @@
3979
4053
  "logs.js"
3980
4054
  ]
3981
4055
  },
3982
- "manifest:extract": {
3983
- "aliases": [],
3984
- "args": {},
3985
- "description": "Extract studio configuration as JSON manifest files.\n\nNote: This command is experimental and subject to change. It is currently intended for use with Create only.",
3986
- "examples": [
3987
- {
3988
- "command": "<%= config.bin %> <%= command.id %>",
3989
- "description": "Extracts manifests"
3990
- },
3991
- {
3992
- "command": "<%= config.bin %> <%= command.id %> --path /public/static",
3993
- "description": "Extracts manifests into /public/static"
3994
- }
3995
- ],
3996
- "flags": {
3997
- "path": {
3998
- "description": "Optional path to specify destination directory of the manifest files",
3999
- "name": "path",
4000
- "default": "dist/static",
4001
- "hasDynamicHelp": false,
4002
- "multiple": false,
4003
- "type": "option"
4004
- }
4005
- },
4006
- "hasDynamicHelp": false,
4007
- "hiddenAliases": [],
4008
- "id": "manifest:extract",
4009
- "pluginAlias": "@sanity/cli",
4010
- "pluginName": "@sanity/cli",
4011
- "pluginType": "core",
4012
- "strict": true,
4013
- "isESM": true,
4014
- "relativePath": [
4015
- "dist",
4016
- "commands",
4017
- "manifest",
4018
- "extract.js"
4019
- ]
4020
- },
4021
- "mcp:configure": {
4022
- "aliases": [],
4023
- "args": {},
4024
- "description": "Configure Sanity MCP server for AI editors (Antigravity, Claude Code, Cline, Cline CLI, Codex CLI, Cursor, Gemini CLI, GitHub Copilot CLI, MCPorter, OpenCode, VS Code, VS Code Insiders, Zed)",
4025
- "examples": [
4026
- {
4027
- "command": "<%= config.bin %> <%= command.id %>",
4028
- "description": "Configure Sanity MCP server for detected AI editors"
4029
- }
4030
- ],
4031
- "flags": {},
4032
- "hasDynamicHelp": false,
4033
- "hiddenAliases": [],
4034
- "id": "mcp:configure",
4035
- "pluginAlias": "@sanity/cli",
4036
- "pluginName": "@sanity/cli",
4037
- "pluginType": "core",
4038
- "strict": true,
4039
- "isESM": true,
4040
- "relativePath": [
4041
- "dist",
4042
- "commands",
4043
- "mcp",
4044
- "configure.js"
4045
- ]
4046
- },
4047
4056
  "media:create-aspect": {
4048
4057
  "aliases": [],
4049
4058
  "args": {},
@@ -5481,84 +5490,6 @@
5481
5490
  "install.js"
5482
5491
  ]
5483
5492
  },
5484
- "telemetry:disable": {
5485
- "aliases": [],
5486
- "args": {},
5487
- "description": "Disable telemetry for your account",
5488
- "examples": [
5489
- {
5490
- "command": "<%= config.bin %> telemetry <%= command.id %>",
5491
- "description": "Disable telemetry for your account"
5492
- }
5493
- ],
5494
- "flags": {},
5495
- "hasDynamicHelp": false,
5496
- "hiddenAliases": [],
5497
- "id": "telemetry:disable",
5498
- "pluginAlias": "@sanity/cli",
5499
- "pluginName": "@sanity/cli",
5500
- "pluginType": "core",
5501
- "strict": true,
5502
- "isESM": true,
5503
- "relativePath": [
5504
- "dist",
5505
- "commands",
5506
- "telemetry",
5507
- "disable.js"
5508
- ]
5509
- },
5510
- "telemetry:enable": {
5511
- "aliases": [],
5512
- "args": {},
5513
- "description": "Enable telemetry for your account",
5514
- "examples": [
5515
- {
5516
- "command": "<%= config.bin %> telemetry <%= command.id %>",
5517
- "description": "Enable telemetry for your account"
5518
- }
5519
- ],
5520
- "flags": {},
5521
- "hasDynamicHelp": false,
5522
- "hiddenAliases": [],
5523
- "id": "telemetry:enable",
5524
- "pluginAlias": "@sanity/cli",
5525
- "pluginName": "@sanity/cli",
5526
- "pluginType": "core",
5527
- "strict": true,
5528
- "isESM": true,
5529
- "relativePath": [
5530
- "dist",
5531
- "commands",
5532
- "telemetry",
5533
- "enable.js"
5534
- ]
5535
- },
5536
- "telemetry:status": {
5537
- "aliases": [],
5538
- "args": {},
5539
- "description": "Check telemetry status for your account",
5540
- "examples": [
5541
- {
5542
- "command": "<%= config.bin %> telemetry <%= command.id %>",
5543
- "description": "Check telemetry status for your account"
5544
- }
5545
- ],
5546
- "flags": {},
5547
- "hasDynamicHelp": false,
5548
- "hiddenAliases": [],
5549
- "id": "telemetry:status",
5550
- "pluginAlias": "@sanity/cli",
5551
- "pluginName": "@sanity/cli",
5552
- "pluginType": "core",
5553
- "strict": true,
5554
- "isESM": true,
5555
- "relativePath": [
5556
- "dist",
5557
- "commands",
5558
- "telemetry",
5559
- "status.js"
5560
- ]
5561
- },
5562
5493
  "tokens:create": {
5563
5494
  "aliases": [],
5564
5495
  "args": {
@@ -5824,6 +5755,84 @@
5824
5755
  "rotate.js"
5825
5756
  ]
5826
5757
  },
5758
+ "telemetry:disable": {
5759
+ "aliases": [],
5760
+ "args": {},
5761
+ "description": "Disable telemetry for your account",
5762
+ "examples": [
5763
+ {
5764
+ "command": "<%= config.bin %> telemetry <%= command.id %>",
5765
+ "description": "Disable telemetry for your account"
5766
+ }
5767
+ ],
5768
+ "flags": {},
5769
+ "hasDynamicHelp": false,
5770
+ "hiddenAliases": [],
5771
+ "id": "telemetry:disable",
5772
+ "pluginAlias": "@sanity/cli",
5773
+ "pluginName": "@sanity/cli",
5774
+ "pluginType": "core",
5775
+ "strict": true,
5776
+ "isESM": true,
5777
+ "relativePath": [
5778
+ "dist",
5779
+ "commands",
5780
+ "telemetry",
5781
+ "disable.js"
5782
+ ]
5783
+ },
5784
+ "telemetry:enable": {
5785
+ "aliases": [],
5786
+ "args": {},
5787
+ "description": "Enable telemetry for your account",
5788
+ "examples": [
5789
+ {
5790
+ "command": "<%= config.bin %> telemetry <%= command.id %>",
5791
+ "description": "Enable telemetry for your account"
5792
+ }
5793
+ ],
5794
+ "flags": {},
5795
+ "hasDynamicHelp": false,
5796
+ "hiddenAliases": [],
5797
+ "id": "telemetry:enable",
5798
+ "pluginAlias": "@sanity/cli",
5799
+ "pluginName": "@sanity/cli",
5800
+ "pluginType": "core",
5801
+ "strict": true,
5802
+ "isESM": true,
5803
+ "relativePath": [
5804
+ "dist",
5805
+ "commands",
5806
+ "telemetry",
5807
+ "enable.js"
5808
+ ]
5809
+ },
5810
+ "telemetry:status": {
5811
+ "aliases": [],
5812
+ "args": {},
5813
+ "description": "Check telemetry status for your account",
5814
+ "examples": [
5815
+ {
5816
+ "command": "<%= config.bin %> telemetry <%= command.id %>",
5817
+ "description": "Check telemetry status for your account"
5818
+ }
5819
+ ],
5820
+ "flags": {},
5821
+ "hasDynamicHelp": false,
5822
+ "hiddenAliases": [],
5823
+ "id": "telemetry:status",
5824
+ "pluginAlias": "@sanity/cli",
5825
+ "pluginName": "@sanity/cli",
5826
+ "pluginType": "core",
5827
+ "strict": true,
5828
+ "isESM": true,
5829
+ "relativePath": [
5830
+ "dist",
5831
+ "commands",
5832
+ "telemetry",
5833
+ "status.js"
5834
+ ]
5835
+ },
5827
5836
  "typegen:generate": {
5828
5837
  "aliases": [],
5829
5838
  "args": {},
@@ -6955,5 +6964,5 @@
6955
6964
  ]
6956
6965
  }
6957
6966
  },
6958
- "version": "8.9.0"
6967
+ "version": "8.10.0"
6959
6968
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/cli",
3
- "version": "8.9.0",
3
+ "version": "8.10.0",
4
4
  "description": "Sanity CLI tool for managing Sanity projects and organizations",
5
5
  "keywords": [
6
6
  "cli",
@@ -62,29 +62,29 @@
62
62
  "@oclif/core": "^4.11.14",
63
63
  "@oclif/plugin-help": "^6.2.53",
64
64
  "@oclif/plugin-not-found": "^3.2.88",
65
- "@sanity/cli-build": "^6.3.0",
66
- "@sanity/cli-core": "^3.6.1",
67
- "@sanity/client": "^8.4.0",
65
+ "@sanity/cli-build": "^6.3.1",
66
+ "@sanity/cli-core": "^3.7.0",
67
+ "@sanity/client": "^8.5.0",
68
68
  "@sanity/codegen": "^8.1.0",
69
69
  "@sanity/descriptors": "^1.3.0",
70
70
  "@sanity/export": "^6.2.1",
71
71
  "@sanity/generate-help-url": "^4.0.0",
72
72
  "@sanity/id-utils": "^1.0.0",
73
- "@sanity/import": "^6.0.4",
73
+ "@sanity/import": "^7.0.0",
74
74
  "@sanity/migrate": "^8.0.2",
75
- "@sanity/runtime-cli": "^17.11.1",
75
+ "@sanity/runtime-cli": "^17.12.0",
76
76
  "@sanity/schema": "^6.12.0",
77
77
  "@sanity/telemetry": "^1.1.0",
78
78
  "@sanity/template-validator": "^3.1.1",
79
79
  "@sanity/types": "^6.12.0",
80
- "@sanity/workbench-cli": "^2.4.1",
80
+ "@sanity/workbench-cli": "^2.4.3",
81
81
  "@sanity/worker-channels": "^2.0.0",
82
82
  "@sanity/workflow-cli": "0.31.0",
83
83
  "@sanity/workflow-engine": "0.31.0",
84
84
  "@vercel/frameworks": "3.29.0",
85
85
  "chokidar": "^5.0.0",
86
86
  "console-table-printer": "^2.15.0",
87
- "eventsource": "^4.1.1",
87
+ "eventsource": "^5.1.1",
88
88
  "execa": "^10.0.1",
89
89
  "form-data": "^4.0.5",
90
90
  "get-latest-version": "^6.0.1",
@@ -126,7 +126,7 @@
126
126
  "@eslint/compat": "^2.1.0",
127
127
  "@repo/package.config": "0.0.1",
128
128
  "@repo/tsconfig": "3.70.0",
129
- "@sanity/cli-test": "16.0.1",
129
+ "@sanity/cli-test": "17.0.0",
130
130
  "@sanity/eslint-config-cli": "1.1.3",
131
131
  "@sanity/pkg-utils": "^12.3.4",
132
132
  "@swc/cli": "^0.8.1",
@@ -150,7 +150,7 @@
150
150
  "oxc-transform-react": "^0.147.0",
151
151
  "publint": "^0.3.21",
152
152
  "rimraf": "^6.0.1",
153
- "sanity": "^6.11.0",
153
+ "sanity": "^6.12.0",
154
154
  "tsx": "^4.23.12",
155
155
  "typescript": "^6.0.3",
156
156
  "vitest": "^4.1.11"