@sanity/cli 8.30.0 → 8.32.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 +179 -103
- package/bin/run.js +1 -1
- package/dist/actions/context/waitForSourceSync.js +1 -1
- package/dist/actions/context/waitForSourceSync.js.map +1 -1
- package/dist/actions/cors/filterAndValidateOrigin.js +1 -1
- package/dist/actions/cors/filterAndValidateOrigin.js.map +1 -1
- package/dist/actions/deploy/deployApp.js +12 -6
- package/dist/actions/deploy/deployApp.js.map +1 -1
- package/dist/actions/deploy/deployStudio.js +14 -14
- package/dist/actions/deploy/deployStudio.js.map +1 -1
- package/dist/actions/deploy/deployStudioSchemasAndManifests.js +1 -2
- package/dist/actions/deploy/deployStudioSchemasAndManifests.js.map +1 -1
- package/dist/actions/deploy/deployStudioSchemasAndManifestsWorker.js +13 -1
- package/dist/actions/deploy/deployStudioSchemasAndManifestsWorker.js.map +1 -1
- package/dist/actions/deploy/types.js +0 -1
- package/dist/actions/deploy/types.js.map +1 -1
- package/dist/actions/dev/devAction.js +5 -1
- package/dist/actions/dev/devAction.js.map +1 -1
- package/dist/actions/dev/servers/startAppDevServer.js +3 -3
- package/dist/actions/dev/servers/startAppDevServer.js.map +1 -1
- package/dist/actions/dev/servers/startStudioDevServer.js +12 -13
- package/dist/actions/dev/servers/startStudioDevServer.js.map +1 -1
- package/dist/actions/dev/types.js.map +1 -1
- package/dist/actions/documents/validateDocuments.worker.js +2 -1
- package/dist/actions/documents/validateDocuments.worker.js.map +1 -1
- package/dist/actions/graphql/extractFromSanitySchema.js +1 -1
- package/dist/actions/graphql/extractFromSanitySchema.js.map +1 -1
- package/dist/actions/init/initStudio.js +1 -1
- package/dist/actions/init/initStudio.js.map +1 -1
- package/dist/actions/init/processTemplate.js +1 -1
- package/dist/actions/init/processTemplate.js.map +1 -1
- package/dist/actions/init/remoteTemplate.js +1 -1
- package/dist/actions/init/remoteTemplate.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/actions/media/pullAspects.js +1 -1
- package/dist/actions/media/pullAspects.js.map +1 -1
- package/dist/actions/organizations/readOrganizationLogo.js +49 -0
- package/dist/actions/organizations/readOrganizationLogo.js.map +1 -0
- package/dist/actions/preview/previewAction.js +1 -1
- package/dist/actions/preview/previewAction.js.map +1 -1
- package/dist/actions/skills/readSkillState.js +1 -1
- package/dist/actions/skills/readSkillState.js.map +1 -1
- package/dist/actions/skills/setupSkills.js +1 -1
- package/dist/actions/skills/setupSkills.js.map +1 -1
- package/dist/commands/organizations/create.js +43 -3
- package/dist/commands/organizations/create.js.map +1 -1
- package/dist/commands/organizations/update.js +67 -14
- package/dist/commands/organizations/update.js.map +1 -1
- package/dist/exports/invokeSanityCli/commandPolicies/mcpPolicy.js +7 -2
- package/dist/exports/invokeSanityCli/commandPolicies/mcpPolicy.js.map +1 -1
- package/dist/generated/contextOperations.js +2 -2
- package/dist/generated/contextOperations.js.map +1 -1
- package/dist/hooks/commandNotFound/topicAliases.js +1 -1
- package/dist/hooks/commandNotFound/topicAliases.js.map +1 -1
- package/dist/server/devServer.js +8 -10
- package/dist/server/devServer.js.map +1 -1
- package/dist/services/organizations.js +30 -0
- package/dist/services/organizations.js.map +1 -1
- package/dist/util/telemetry/cliCommandIdentity.js +3 -2
- package/dist/util/telemetry/cliCommandIdentity.js.map +1 -1
- package/dist/util/update/updateChecker.js +1 -1
- package/dist/util/update/updateChecker.js.map +1 -1
- package/oclif.config.js +1 -1
- package/oclif.manifest.json +2892 -2850
- package/package.json +28 -29
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/cli",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.32.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.14.0",
|
|
63
63
|
"@oclif/plugin-help": "^6.3.0",
|
|
64
64
|
"@oclif/plugin-not-found": "^3.3.0",
|
|
65
|
-
"@sanity/blueprints": "^0.
|
|
66
|
-
"@sanity/cli-build": "^7.
|
|
65
|
+
"@sanity/blueprints": "^0.34.1",
|
|
66
|
+
"@sanity/cli-build": "^7.4.0",
|
|
67
67
|
"@sanity/cli-core": "^3.15.1",
|
|
68
|
-
"@sanity/client": "^8.
|
|
69
|
-
"@sanity/codegen": "^8.3.
|
|
68
|
+
"@sanity/client": "^8.16.0",
|
|
69
|
+
"@sanity/codegen": "^8.3.1",
|
|
70
70
|
"@sanity/descriptors": "^1.3.0",
|
|
71
|
-
"@sanity/export": "^7.1.
|
|
71
|
+
"@sanity/export": "^7.1.1",
|
|
72
72
|
"@sanity/generate-help-url": "^4.0.0",
|
|
73
73
|
"@sanity/id-utils": "^1.1.0",
|
|
74
|
-
"@sanity/import": "^7.1.
|
|
74
|
+
"@sanity/import": "^7.1.1",
|
|
75
75
|
"@sanity/migrate": "^8.0.5",
|
|
76
|
-
"@sanity/runtime-cli": "^17.21.
|
|
77
|
-
"@sanity/schema": "^6.
|
|
76
|
+
"@sanity/runtime-cli": "^17.21.5",
|
|
77
|
+
"@sanity/schema": "^6.24.0",
|
|
78
78
|
"@sanity/schema-descriptor-utils": "^1.4.0",
|
|
79
79
|
"@sanity/telemetry": "^1.1.0",
|
|
80
80
|
"@sanity/template-validator": "^3.1.1",
|
|
81
|
-
"@sanity/types": "^6.
|
|
82
|
-
"@sanity/util": "^6.
|
|
83
|
-
"@sanity/validation": "^6.
|
|
84
|
-
"@sanity/workbench-cli": "^2.
|
|
81
|
+
"@sanity/types": "^6.24.0",
|
|
82
|
+
"@sanity/util": "^6.24.0",
|
|
83
|
+
"@sanity/validation": "^6.24.0",
|
|
84
|
+
"@sanity/workbench-cli": "^2.18.0",
|
|
85
85
|
"@sanity/worker-channels": "^2.0.0",
|
|
86
|
-
"@sanity/
|
|
87
|
-
"@sanity/
|
|
86
|
+
"@sanity/workflows": ">=0.39.0 <1.0.0",
|
|
87
|
+
"@sanity/workflows-cli": ">=0.39.0 <1.0.0",
|
|
88
88
|
"@vercel/frameworks": "3.29.0",
|
|
89
89
|
"chokidar": "^5.0.0",
|
|
90
90
|
"console-table-printer": "^2.16.1",
|
|
@@ -110,27 +110,26 @@
|
|
|
110
110
|
"promise-props-recursive": "^2.0.2",
|
|
111
111
|
"rxjs": "^7.8.2",
|
|
112
112
|
"semver": "^7.8.6",
|
|
113
|
-
"skills": "^1.8.
|
|
114
|
-
"smol-toml": "^1.
|
|
113
|
+
"skills": "^1.8.1",
|
|
114
|
+
"smol-toml": "^1.9.1",
|
|
115
115
|
"string-argv": "^0.3.2",
|
|
116
116
|
"string-width": "^7.2.0",
|
|
117
|
-
"tar": "^7.5.
|
|
117
|
+
"tar": "^7.5.23",
|
|
118
118
|
"tar-stream": "^3.2.2",
|
|
119
119
|
"tinyglobby": "^0.2.17",
|
|
120
120
|
"valibot": "^1.4.2",
|
|
121
121
|
"vite": "^8.3.8",
|
|
122
122
|
"which": "^6.0.1",
|
|
123
123
|
"wrap-ansi": "^9.0.2",
|
|
124
|
-
"yaml": "^2.9.
|
|
124
|
+
"yaml": "^2.9.1",
|
|
125
125
|
"zod": "^4.6.7"
|
|
126
126
|
},
|
|
127
127
|
"devDependencies": {
|
|
128
|
-
"@eslint/compat": "^2.1.0",
|
|
129
128
|
"@oxc-project/types": "0.156.0",
|
|
129
|
+
"@repo/oxc-config": "0.0.0",
|
|
130
130
|
"@repo/package.config": "0.0.1",
|
|
131
131
|
"@repo/tsconfig": "3.70.0",
|
|
132
|
-
"@sanity/cli-test": "25.0.
|
|
133
|
-
"@sanity/eslint-config-cli": "1.1.3",
|
|
132
|
+
"@sanity/cli-test": "25.0.2",
|
|
134
133
|
"@sanity/pkg-utils": "^12.3.4",
|
|
135
134
|
"@swc/cli": "^0.8.2",
|
|
136
135
|
"@swc/core": "^1.16.22",
|
|
@@ -142,20 +141,20 @@
|
|
|
142
141
|
"@types/semver": "^7.8.0",
|
|
143
142
|
"@types/tar-stream": "^3.1.4",
|
|
144
143
|
"@types/which": "^3.0.4",
|
|
145
|
-
"@vitest/coverage-istanbul": "^5.1.
|
|
144
|
+
"@vitest/coverage-istanbul": "^5.1.1",
|
|
146
145
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
147
|
-
"eslint": "^10.7.0",
|
|
148
146
|
"get-it": "^9.7.0",
|
|
149
147
|
"jsdom": "^29.1.1",
|
|
150
148
|
"nock": "^14.0.17",
|
|
151
149
|
"oclif": "^4.24.0",
|
|
152
150
|
"oxc-transform-react": "^0.158.0",
|
|
153
|
-
"
|
|
151
|
+
"oxlint": "^1.93.0",
|
|
152
|
+
"publint": "^0.3.25",
|
|
154
153
|
"rimraf": "^6.0.1",
|
|
155
|
-
"sanity": "^6.
|
|
154
|
+
"sanity": "^6.24.0",
|
|
156
155
|
"tsx": "^4.23.15",
|
|
157
156
|
"typescript": "^6.0.3",
|
|
158
|
-
"vitest": "^5.1.
|
|
157
|
+
"vitest": "^5.1.1"
|
|
159
158
|
},
|
|
160
159
|
"peerDependencies": {
|
|
161
160
|
"babel-plugin-react-compiler": "*",
|
|
@@ -181,7 +180,6 @@
|
|
|
181
180
|
"check:types": "tsc --noEmit",
|
|
182
181
|
"generate:api-routes": "tsx scripts/generate-api-routes.ts",
|
|
183
182
|
"generate:context-commands": "tsx scripts/generate-context-commands.ts && oxfmt src/commands/context",
|
|
184
|
-
"lint": "eslint .",
|
|
185
183
|
"manifest:generate": "oclif manifest",
|
|
186
184
|
"manifest:remove": "rimraf oclif.manifest.json",
|
|
187
185
|
"publint": "publint",
|
|
@@ -193,6 +191,7 @@
|
|
|
193
191
|
"test:coverage": "vitest run --coverage",
|
|
194
192
|
"test:watch": "vitest",
|
|
195
193
|
"prewatch": "pnpm run manifest:remove",
|
|
196
|
-
"watch": "swc --delete-dir-on-start --strip-leading-paths --out-dir dist/ --watch src"
|
|
194
|
+
"watch": "swc --delete-dir-on-start --strip-leading-paths --out-dir dist/ --watch src",
|
|
195
|
+
"lint": "oxlint -c oxlint.config.ts"
|
|
197
196
|
}
|
|
198
197
|
}
|