@sanity/cli 7.14.0 → 7.15.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 +25 -15
- package/dist/SanityHelp.js +10 -0
- package/dist/SanityHelp.js.map +1 -1
- package/dist/actions/telemetry/resolveConsent.js +4 -2
- package/dist/actions/telemetry/resolveConsent.js.map +1 -1
- package/dist/commands/datasets/copy.js +5 -3
- package/dist/commands/datasets/copy.js.map +1 -1
- package/dist/commands/documents/query.js +5 -4
- package/dist/commands/documents/query.js.map +1 -1
- package/dist/commands/login.js +12 -11
- package/dist/commands/login.js.map +1 -1
- package/dist/exports/invokeSanityCli/commandPolicies/mcpPolicy.js +12 -5
- package/dist/exports/invokeSanityCli/commandPolicies/mcpPolicy.js.map +1 -1
- package/dist/exports/invokeSanityCli/help.js +8 -1
- package/dist/exports/invokeSanityCli/help.js.map +1 -1
- package/dist/exports/invokeSanityCli/index.d.ts +15 -6
- package/dist/exports/invokeSanityCli/index.js +61 -25
- package/dist/exports/invokeSanityCli/index.js.map +1 -1
- package/dist/exports/invokeSanityCli/prettyPrintError.js +39 -0
- package/dist/exports/invokeSanityCli/prettyPrintError.js.map +1 -0
- package/dist/services/telemetry.js +4 -0
- package/dist/services/telemetry.js.map +1 -1
- package/dist/util/getSanityEnv.js +6 -1
- package/dist/util/getSanityEnv.js.map +1 -1
- package/dist/util/warnAboutMissingAppId.js +2 -1
- package/dist/util/warnAboutMissingAppId.js.map +1 -1
- package/oclif.manifest.json +15 -16
- package/package.json +14 -14
package/oclif.manifest.json
CHANGED
|
@@ -1013,6 +1013,10 @@
|
|
|
1013
1013
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
1014
1014
|
"description": "Log in using default settings"
|
|
1015
1015
|
},
|
|
1016
|
+
{
|
|
1017
|
+
"command": "<%= config.bin %> <%= command.id %> --with-token < token.txt",
|
|
1018
|
+
"description": "Log in using a token from standard input"
|
|
1019
|
+
},
|
|
1016
1020
|
{
|
|
1017
1021
|
"command": "<%= config.bin %> <%= command.id %> --provider github --no-open",
|
|
1018
1022
|
"description": "Login with GitHub provider, but do not open a browser window automatically"
|
|
@@ -1024,13 +1028,19 @@
|
|
|
1024
1028
|
{
|
|
1025
1029
|
"command": "<%= config.bin %> <%= command.id %> --sso my-organization --sso-provider \"Okta SSO\"",
|
|
1026
1030
|
"description": "Log in using a specific SSO provider within an organization"
|
|
1027
|
-
},
|
|
1028
|
-
{
|
|
1029
|
-
"command": "<%= config.bin %> <%= command.id %> --with-token < token.txt",
|
|
1030
|
-
"description": "Log in using a token from standard input"
|
|
1031
1031
|
}
|
|
1032
1032
|
],
|
|
1033
1033
|
"flags": {
|
|
1034
|
+
"with-token": {
|
|
1035
|
+
"description": "Read token from standard input",
|
|
1036
|
+
"exclusive": [
|
|
1037
|
+
"provider",
|
|
1038
|
+
"sso"
|
|
1039
|
+
],
|
|
1040
|
+
"name": "with-token",
|
|
1041
|
+
"allowNo": false,
|
|
1042
|
+
"type": "boolean"
|
|
1043
|
+
},
|
|
1034
1044
|
"experimental": {
|
|
1035
1045
|
"hidden": true,
|
|
1036
1046
|
"name": "experimental",
|
|
@@ -1077,16 +1087,6 @@
|
|
|
1077
1087
|
"helpValue": "<name>",
|
|
1078
1088
|
"multiple": false,
|
|
1079
1089
|
"type": "option"
|
|
1080
|
-
},
|
|
1081
|
-
"with-token": {
|
|
1082
|
-
"description": "Read token from standard input",
|
|
1083
|
-
"exclusive": [
|
|
1084
|
-
"provider",
|
|
1085
|
-
"sso"
|
|
1086
|
-
],
|
|
1087
|
-
"name": "with-token",
|
|
1088
|
-
"allowNo": false,
|
|
1089
|
-
"type": "boolean"
|
|
1090
1090
|
}
|
|
1091
1091
|
},
|
|
1092
1092
|
"hasDynamicHelp": false,
|
|
@@ -2743,7 +2743,6 @@
|
|
|
2743
2743
|
},
|
|
2744
2744
|
"api-version": {
|
|
2745
2745
|
"description": "API version to use (defaults to 2025-08-15)",
|
|
2746
|
-
"env": "SANITY_CLI_QUERY_API_VERSION",
|
|
2747
2746
|
"name": "api-version",
|
|
2748
2747
|
"hasDynamicHelp": false,
|
|
2749
2748
|
"multiple": false,
|
|
@@ -5830,5 +5829,5 @@
|
|
|
5830
5829
|
]
|
|
5831
5830
|
}
|
|
5832
5831
|
},
|
|
5833
|
-
"version": "7.
|
|
5832
|
+
"version": "7.15.1"
|
|
5834
5833
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/cli",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.15.1",
|
|
4
4
|
"description": "Sanity CLI tool for managing Sanity projects and organizations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -62,19 +62,19 @@
|
|
|
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/client": "^7.
|
|
65
|
+
"@sanity/client": "^7.25.0",
|
|
66
66
|
"@sanity/codegen": "^7.0.3",
|
|
67
67
|
"@sanity/descriptors": "^1.3.0",
|
|
68
68
|
"@sanity/export": "^6.2.0",
|
|
69
69
|
"@sanity/generate-help-url": "^4.0.0",
|
|
70
70
|
"@sanity/id-utils": "^1.0.0",
|
|
71
71
|
"@sanity/import": "^6.0.3",
|
|
72
|
-
"@sanity/migrate": "^8.0.
|
|
73
|
-
"@sanity/runtime-cli": "^17.
|
|
74
|
-
"@sanity/schema": "^6.
|
|
72
|
+
"@sanity/migrate": "^8.0.1",
|
|
73
|
+
"@sanity/runtime-cli": "^17.3.0",
|
|
74
|
+
"@sanity/schema": "^6.7.0",
|
|
75
75
|
"@sanity/telemetry": "^1.1.0",
|
|
76
76
|
"@sanity/template-validator": "^3.1.0",
|
|
77
|
-
"@sanity/types": "^6.
|
|
77
|
+
"@sanity/types": "^6.7.0",
|
|
78
78
|
"@sanity/worker-channels": "^2.0.0",
|
|
79
79
|
"@vercel/frameworks": "3.29.0",
|
|
80
80
|
"chokidar": "^5.0.0",
|
|
@@ -123,14 +123,14 @@
|
|
|
123
123
|
"which": "^6.0.1",
|
|
124
124
|
"yaml": "^2.9.0",
|
|
125
125
|
"zod": "^4.4.3",
|
|
126
|
-
"@sanity/cli
|
|
127
|
-
"@sanity/cli-core": "^2.
|
|
128
|
-
"@sanity/
|
|
126
|
+
"@sanity/workbench-cli": "^1.8.0",
|
|
127
|
+
"@sanity/cli-core": "^2.7.1",
|
|
128
|
+
"@sanity/cli-build": "^5.1.0"
|
|
129
129
|
},
|
|
130
130
|
"devDependencies": {
|
|
131
131
|
"@eslint/compat": "^2.1.0",
|
|
132
|
-
"@sanity/pkg-utils": "^11.0.
|
|
133
|
-
"@sanity/ui": "^3.
|
|
132
|
+
"@sanity/pkg-utils": "^11.0.17",
|
|
133
|
+
"@sanity/ui": "^3.5.0",
|
|
134
134
|
"@swc/cli": "^0.8.1",
|
|
135
135
|
"@swc/core": "^1.15.43",
|
|
136
136
|
"@types/debug": "^4.1.13",
|
|
@@ -155,12 +155,12 @@
|
|
|
155
155
|
"oclif": "^4.23.27",
|
|
156
156
|
"publint": "^0.3.21",
|
|
157
157
|
"rimraf": "^6.0.1",
|
|
158
|
-
"sanity": "^6.
|
|
158
|
+
"sanity": "^6.7.0",
|
|
159
159
|
"typescript": "^6.0.3",
|
|
160
160
|
"vitest": "^4.1.10",
|
|
161
|
-
"@repo/tsconfig": "3.70.0",
|
|
162
161
|
"@repo/package.config": "0.0.1",
|
|
163
|
-
"@
|
|
162
|
+
"@repo/tsconfig": "3.70.0",
|
|
163
|
+
"@sanity/cli-test": "8.0.1",
|
|
164
164
|
"@sanity/eslint-config-cli": "1.1.3"
|
|
165
165
|
},
|
|
166
166
|
"peerDependencies": {
|