@sanity/cli 6.7.0 → 6.7.2

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 (2) hide show
  1. package/oclif.manifest.json +120 -118
  2. package/package.json +37 -29
@@ -313,6 +313,7 @@
313
313
  "args": {
314
314
  "checks": {
315
315
  "description": "Checks to enable (defaults to all). Valid: cli",
316
+ "multiple": true,
316
317
  "name": "checks",
317
318
  "required": false
318
319
  }
@@ -749,6 +750,7 @@
749
750
  "args": {
750
751
  "packages": {
751
752
  "description": "Packages to install",
753
+ "multiple": true,
752
754
  "name": "packages",
753
755
  "required": false
754
756
  }
@@ -2912,45 +2914,6 @@
2912
2914
  "undeploy.js"
2913
2915
  ]
2914
2916
  },
2915
- "manifest:extract": {
2916
- "aliases": [],
2917
- "args": {},
2918
- "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.",
2919
- "examples": [
2920
- {
2921
- "command": "<%= config.bin %> <%= command.id %>",
2922
- "description": "Extracts manifests"
2923
- },
2924
- {
2925
- "command": "<%= config.bin %> <%= command.id %> --path /public/static",
2926
- "description": "Extracts manifests into /public/static"
2927
- }
2928
- ],
2929
- "flags": {
2930
- "path": {
2931
- "description": "Optional path to specify destination directory of the manifest files",
2932
- "name": "path",
2933
- "default": "dist/static",
2934
- "hasDynamicHelp": false,
2935
- "multiple": false,
2936
- "type": "option"
2937
- }
2938
- },
2939
- "hasDynamicHelp": false,
2940
- "hiddenAliases": [],
2941
- "id": "manifest:extract",
2942
- "pluginAlias": "@sanity/cli",
2943
- "pluginName": "@sanity/cli",
2944
- "pluginType": "core",
2945
- "strict": true,
2946
- "isESM": true,
2947
- "relativePath": [
2948
- "dist",
2949
- "commands",
2950
- "manifest",
2951
- "extract.js"
2952
- ]
2953
- },
2954
2917
  "hooks:attempt": {
2955
2918
  "aliases": [],
2956
2919
  "args": {
@@ -3199,6 +3162,45 @@
3199
3162
  "logs.js"
3200
3163
  ]
3201
3164
  },
3165
+ "manifest:extract": {
3166
+ "aliases": [],
3167
+ "args": {},
3168
+ "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.",
3169
+ "examples": [
3170
+ {
3171
+ "command": "<%= config.bin %> <%= command.id %>",
3172
+ "description": "Extracts manifests"
3173
+ },
3174
+ {
3175
+ "command": "<%= config.bin %> <%= command.id %> --path /public/static",
3176
+ "description": "Extracts manifests into /public/static"
3177
+ }
3178
+ ],
3179
+ "flags": {
3180
+ "path": {
3181
+ "description": "Optional path to specify destination directory of the manifest files",
3182
+ "name": "path",
3183
+ "default": "dist/static",
3184
+ "hasDynamicHelp": false,
3185
+ "multiple": false,
3186
+ "type": "option"
3187
+ }
3188
+ },
3189
+ "hasDynamicHelp": false,
3190
+ "hiddenAliases": [],
3191
+ "id": "manifest:extract",
3192
+ "pluginAlias": "@sanity/cli",
3193
+ "pluginName": "@sanity/cli",
3194
+ "pluginType": "core",
3195
+ "strict": true,
3196
+ "isESM": true,
3197
+ "relativePath": [
3198
+ "dist",
3199
+ "commands",
3200
+ "manifest",
3201
+ "extract.js"
3202
+ ]
3203
+ },
3202
3204
  "mcp:configure": {
3203
3205
  "aliases": [],
3204
3206
  "args": {},
@@ -4163,6 +4165,84 @@
4163
4165
  "validate.js"
4164
4166
  ]
4165
4167
  },
4168
+ "telemetry:disable": {
4169
+ "aliases": [],
4170
+ "args": {},
4171
+ "description": "Disable telemetry for your account",
4172
+ "examples": [
4173
+ {
4174
+ "command": "<%= config.bin %> telemetry <%= command.id %>",
4175
+ "description": "Disable telemetry for your account"
4176
+ }
4177
+ ],
4178
+ "flags": {},
4179
+ "hasDynamicHelp": false,
4180
+ "hiddenAliases": [],
4181
+ "id": "telemetry:disable",
4182
+ "pluginAlias": "@sanity/cli",
4183
+ "pluginName": "@sanity/cli",
4184
+ "pluginType": "core",
4185
+ "strict": true,
4186
+ "isESM": true,
4187
+ "relativePath": [
4188
+ "dist",
4189
+ "commands",
4190
+ "telemetry",
4191
+ "disable.js"
4192
+ ]
4193
+ },
4194
+ "telemetry:enable": {
4195
+ "aliases": [],
4196
+ "args": {},
4197
+ "description": "Enable telemetry for your account",
4198
+ "examples": [
4199
+ {
4200
+ "command": "<%= config.bin %> telemetry <%= command.id %>",
4201
+ "description": "Enable telemetry for your account"
4202
+ }
4203
+ ],
4204
+ "flags": {},
4205
+ "hasDynamicHelp": false,
4206
+ "hiddenAliases": [],
4207
+ "id": "telemetry:enable",
4208
+ "pluginAlias": "@sanity/cli",
4209
+ "pluginName": "@sanity/cli",
4210
+ "pluginType": "core",
4211
+ "strict": true,
4212
+ "isESM": true,
4213
+ "relativePath": [
4214
+ "dist",
4215
+ "commands",
4216
+ "telemetry",
4217
+ "enable.js"
4218
+ ]
4219
+ },
4220
+ "telemetry:status": {
4221
+ "aliases": [],
4222
+ "args": {},
4223
+ "description": "Check telemetry status for your account",
4224
+ "examples": [
4225
+ {
4226
+ "command": "<%= config.bin %> telemetry <%= command.id %>",
4227
+ "description": "Check telemetry status for your account"
4228
+ }
4229
+ ],
4230
+ "flags": {},
4231
+ "hasDynamicHelp": false,
4232
+ "hiddenAliases": [],
4233
+ "id": "telemetry:status",
4234
+ "pluginAlias": "@sanity/cli",
4235
+ "pluginName": "@sanity/cli",
4236
+ "pluginType": "core",
4237
+ "strict": true,
4238
+ "isESM": true,
4239
+ "relativePath": [
4240
+ "dist",
4241
+ "commands",
4242
+ "telemetry",
4243
+ "status.js"
4244
+ ]
4245
+ },
4166
4246
  "tokens:add": {
4167
4247
  "aliases": [],
4168
4248
  "args": {
@@ -4365,84 +4445,6 @@
4365
4445
  "list.js"
4366
4446
  ]
4367
4447
  },
4368
- "telemetry:disable": {
4369
- "aliases": [],
4370
- "args": {},
4371
- "description": "Disable telemetry for your account",
4372
- "examples": [
4373
- {
4374
- "command": "<%= config.bin %> telemetry <%= command.id %>",
4375
- "description": "Disable telemetry for your account"
4376
- }
4377
- ],
4378
- "flags": {},
4379
- "hasDynamicHelp": false,
4380
- "hiddenAliases": [],
4381
- "id": "telemetry:disable",
4382
- "pluginAlias": "@sanity/cli",
4383
- "pluginName": "@sanity/cli",
4384
- "pluginType": "core",
4385
- "strict": true,
4386
- "isESM": true,
4387
- "relativePath": [
4388
- "dist",
4389
- "commands",
4390
- "telemetry",
4391
- "disable.js"
4392
- ]
4393
- },
4394
- "telemetry:enable": {
4395
- "aliases": [],
4396
- "args": {},
4397
- "description": "Enable telemetry for your account",
4398
- "examples": [
4399
- {
4400
- "command": "<%= config.bin %> telemetry <%= command.id %>",
4401
- "description": "Enable telemetry for your account"
4402
- }
4403
- ],
4404
- "flags": {},
4405
- "hasDynamicHelp": false,
4406
- "hiddenAliases": [],
4407
- "id": "telemetry:enable",
4408
- "pluginAlias": "@sanity/cli",
4409
- "pluginName": "@sanity/cli",
4410
- "pluginType": "core",
4411
- "strict": true,
4412
- "isESM": true,
4413
- "relativePath": [
4414
- "dist",
4415
- "commands",
4416
- "telemetry",
4417
- "enable.js"
4418
- ]
4419
- },
4420
- "telemetry:status": {
4421
- "aliases": [],
4422
- "args": {},
4423
- "description": "Check telemetry status for your account",
4424
- "examples": [
4425
- {
4426
- "command": "<%= config.bin %> telemetry <%= command.id %>",
4427
- "description": "Check telemetry status for your account"
4428
- }
4429
- ],
4430
- "flags": {},
4431
- "hasDynamicHelp": false,
4432
- "hiddenAliases": [],
4433
- "id": "telemetry:status",
4434
- "pluginAlias": "@sanity/cli",
4435
- "pluginName": "@sanity/cli",
4436
- "pluginType": "core",
4437
- "strict": true,
4438
- "isESM": true,
4439
- "relativePath": [
4440
- "dist",
4441
- "commands",
4442
- "telemetry",
4443
- "status.js"
4444
- ]
4445
- },
4446
4448
  "users:invite": {
4447
4449
  "aliases": [],
4448
4450
  "args": {
@@ -5114,5 +5116,5 @@
5114
5116
  ]
5115
5117
  }
5116
5118
  },
5117
- "version": "6.7.0"
5119
+ "version": "6.7.2"
5118
5120
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/cli",
3
- "version": "6.7.0",
3
+ "version": "6.7.2",
4
4
  "description": "Sanity CLI tool for managing Sanity projects and organizations",
5
5
  "keywords": [
6
6
  "cli",
@@ -51,22 +51,22 @@
51
51
  "access": "public"
52
52
  },
53
53
  "dependencies": {
54
- "@oclif/core": "^4.11.0",
55
- "@oclif/plugin-help": "^6.2.45",
56
- "@oclif/plugin-not-found": "^3.2.81",
57
- "@sanity/client": "^7.22.0",
58
- "@sanity/codegen": "^6.1.0",
54
+ "@oclif/core": "^4.11.4",
55
+ "@oclif/plugin-help": "^6.2.50",
56
+ "@oclif/plugin-not-found": "^3.2.87",
57
+ "@sanity/client": "^7.22.1",
58
+ "@sanity/codegen": "^6.1.1",
59
59
  "@sanity/descriptors": "^1.3.0",
60
60
  "@sanity/export": "^6.2.0",
61
61
  "@sanity/generate-help-url": "^4.0.0",
62
62
  "@sanity/id-utils": "^1.0.0",
63
- "@sanity/import": "^6.0.1",
63
+ "@sanity/import": "^6.0.2",
64
64
  "@sanity/migrate": "^6.1.2",
65
- "@sanity/runtime-cli": "^15.1.2",
66
- "@sanity/schema": "^5.26.0",
67
- "@sanity/telemetry": "^0.9.0",
65
+ "@sanity/runtime-cli": "^15.1.3",
66
+ "@sanity/schema": "^5.30.0",
67
+ "@sanity/telemetry": "^1.1.0",
68
68
  "@sanity/template-validator": "^3.1.0",
69
- "@sanity/types": "^5.26.0",
69
+ "@sanity/types": "^5.30.0",
70
70
  "@sanity/worker-channels": "^2.0.0",
71
71
  "@vercel/frameworks": "3.21.1",
72
72
  "chokidar": "^5.0.0",
@@ -78,7 +78,7 @@
78
78
  "execa": "^9.6.0",
79
79
  "form-data": "^4.0.5",
80
80
  "get-latest-version": "^6.0.1",
81
- "groq-js": "^1.30.1",
81
+ "groq-js": "^1.30.2",
82
82
  "gunzip-maybe": "^1.4.2",
83
83
  "import-meta-resolve": "^4.2.0",
84
84
  "is-installed-globally": "^1.0.0",
@@ -97,9 +97,9 @@
97
97
  "pluralize-esm": "^9.0.5",
98
98
  "pretty-ms": "^9.3.0",
99
99
  "promise-props-recursive": "^2.0.2",
100
- "react": "^19.2.4",
101
- "react-dom": "^19.2.4",
102
- "react-is": "^19.2.4",
100
+ "react": "^19.2.6",
101
+ "react-dom": "^19.2.6",
102
+ "react-is": "^19.2.6",
103
103
  "rxjs": "^7.8.2",
104
104
  "semver": "^7.7.4",
105
105
  "skills": "^1.5.7",
@@ -108,18 +108,18 @@
108
108
  "tar-fs": "^3.1.2",
109
109
  "tar-stream": "^3.1.8",
110
110
  "tinyglobby": "^0.2.16",
111
- "tsx": "^4.21.0",
111
+ "tsx": "^4.22.4",
112
112
  "typeid-js": "^1.2.0",
113
113
  "vite": "^7.3.3",
114
114
  "which": "^6.0.1",
115
115
  "yaml": "^2.8.4",
116
116
  "zod": "^4.3.6",
117
- "@sanity/cli-build": "^0.2.0",
118
- "@sanity/cli-core": "^1.3.2"
117
+ "@sanity/cli-build": "^0.2.2",
118
+ "@sanity/cli-core": "^1.3.4"
119
119
  },
120
120
  "devDependencies": {
121
121
  "@eslint/compat": "^2.0.5",
122
- "@sanity/pkg-utils": "^10.4.18",
122
+ "@sanity/pkg-utils": "^10.5.2",
123
123
  "@sanity/ui": "^3.2.0",
124
124
  "@swc/cli": "^0.8.1",
125
125
  "@swc/core": "^1.15.33",
@@ -130,29 +130,37 @@
130
130
  "@types/minimist": "^1.2.5",
131
131
  "@types/node": "^20.19.41",
132
132
  "@types/picomatch": "^4.0.3",
133
- "@types/react": "^19.2.14",
133
+ "@types/react": "^19.2.16",
134
134
  "@types/react-dom": "^19.2.3",
135
135
  "@types/react-is": "^19.2.0",
136
136
  "@types/semver": "^7.7.1",
137
137
  "@types/tar-fs": "^2.0.4",
138
138
  "@types/tar-stream": "^3.1.4",
139
139
  "@types/which": "^3.0.4",
140
- "@vitest/coverage-istanbul": "^4.1.5",
140
+ "@vitest/coverage-istanbul": "^4.1.7",
141
141
  "babel-plugin-react-compiler": "^1.0.0",
142
142
  "eslint": "^10.2.1",
143
143
  "jsdom": "^29.1.1",
144
- "nock": "^14.0.14",
145
- "oclif": "^4.23.0",
146
- "publint": "^0.3.18",
144
+ "nock": "^14.0.15",
145
+ "oclif": "^4.23.10",
146
+ "publint": "^0.3.21",
147
147
  "rimraf": "^6.0.1",
148
- "sanity": "^5.26.0",
148
+ "sanity": "^5.30.0",
149
149
  "typescript": "^5.9.3",
150
150
  "vite-tsconfig-paths": "^6.1.1",
151
- "vitest": "^4.1.5",
152
- "@repo/package.config": "0.0.1",
151
+ "vitest": "^4.1.7",
153
152
  "@repo/tsconfig": "3.70.0",
154
- "@sanity/cli-test": "0.3.3",
155
- "@sanity/eslint-config-cli": "1.1.1"
153
+ "@sanity/cli-test": "0.3.5",
154
+ "@sanity/eslint-config-cli": "1.1.1",
155
+ "@repo/package.config": "0.0.1"
156
+ },
157
+ "peerDependencies": {
158
+ "babel-plugin-react-compiler": "*"
159
+ },
160
+ "peerDependenciesMeta": {
161
+ "babel-plugin-react-compiler": {
162
+ "optional": true
163
+ }
156
164
  },
157
165
  "engines": {
158
166
  "node": ">=20.19.1 <22 || >=22.12"