@sanity/cli 4.9.0-next.2 → 4.9.0-next.21

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/lib/index.d.mts CHANGED
@@ -20,7 +20,7 @@ declare interface AppConfig {
20
20
  */
21
21
  entry?: string
22
22
  /**
23
- * The ID of your Sanity app. Generated when deploying your app for the first time; check the output of `sanity deploy` for this.
23
+ * @deprecated - Moved to `deployment.appId`
24
24
  */
25
25
  id?: string
26
26
  }
@@ -127,13 +127,36 @@ export declare interface CliConfig {
127
127
  }
128
128
  graphql?: GraphQLAPIConfig[]
129
129
  vite?: UserViteConfig
130
+ /**
131
+ * @deprecated - Moved to deployment.autoUpdates
132
+ */
130
133
  autoUpdates?: boolean
134
+ /**
135
+ * @deprecated - Replaced by deployment.appId
136
+ */
131
137
  studioHost?: string
132
138
  /**
133
139
  * Parameter used to configure other kinds of applications.
134
140
  * Signals to `sanity` commands that this is not a studio.
135
141
  */
136
142
  app?: AppConfig
143
+ /**
144
+ * Deployment configuration
145
+ */
146
+ deployment?: {
147
+ /**
148
+ * The ID of your Sanity studio or app. Generated when deploying your studio or app for the first time.
149
+ * Get the appId either by
150
+ * - Checking the output of `sanity deploy`.
151
+ * - Get it from your project's Studio tab in https://sanity.io/manage
152
+ */
153
+ appId?: string
154
+ /**
155
+ * Enable auto-updates for studios.
156
+ * {@link https://www.sanity.io/docs/cli#auto-updates}
157
+ */
158
+ autoUpdates?: boolean
159
+ }
137
160
  /**
138
161
  * Configuration for Sanity media libraries.
139
162
  */
package/lib/index.d.ts CHANGED
@@ -20,7 +20,7 @@ declare interface AppConfig {
20
20
  */
21
21
  entry?: string
22
22
  /**
23
- * The ID of your Sanity app. Generated when deploying your app for the first time; check the output of `sanity deploy` for this.
23
+ * @deprecated - Moved to `deployment.appId`
24
24
  */
25
25
  id?: string
26
26
  }
@@ -127,13 +127,36 @@ export declare interface CliConfig {
127
127
  }
128
128
  graphql?: GraphQLAPIConfig[]
129
129
  vite?: UserViteConfig
130
+ /**
131
+ * @deprecated - Moved to deployment.autoUpdates
132
+ */
130
133
  autoUpdates?: boolean
134
+ /**
135
+ * @deprecated - Replaced by deployment.appId
136
+ */
131
137
  studioHost?: string
132
138
  /**
133
139
  * Parameter used to configure other kinds of applications.
134
140
  * Signals to `sanity` commands that this is not a studio.
135
141
  */
136
142
  app?: AppConfig
143
+ /**
144
+ * Deployment configuration
145
+ */
146
+ deployment?: {
147
+ /**
148
+ * The ID of your Sanity studio or app. Generated when deploying your studio or app for the first time.
149
+ * Get the appId either by
150
+ * - Checking the output of `sanity deploy`.
151
+ * - Get it from your project's Studio tab in https://sanity.io/manage
152
+ */
153
+ appId?: string
154
+ /**
155
+ * Enable auto-updates for studios.
156
+ * {@link https://www.sanity.io/docs/cli#auto-updates}
157
+ */
158
+ autoUpdates?: boolean
159
+ }
137
160
  /**
138
161
  * Configuration for Sanity media libraries.
139
162
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/cli",
3
- "version": "4.9.0-next.2+635547bad3",
3
+ "version": "4.9.0-next.21+c41a2b172c",
4
4
  "description": "Sanity CLI tool for managing Sanity installations, managing plugins, schemas and datasets",
5
5
  "keywords": [
6
6
  "sanity",
@@ -60,7 +60,7 @@
60
60
  "pkg-dir": "^5.0.0",
61
61
  "prettier": "^3.5.3",
62
62
  "semver": "^7.7.2",
63
- "@sanity/codegen": "4.9.0-next.2+635547bad3"
63
+ "@sanity/codegen": "4.9.0-next.21+c41a2b172c"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@rexxars/gitconfiglocal": "^3.0.1",
@@ -113,10 +113,10 @@
113
113
  "vitest": "^3.2.4",
114
114
  "which": "^2.0.2",
115
115
  "xdg-basedir": "^4.0.0",
116
- "@repo/eslint-config": "4.9.0-next.2+635547bad3",
117
- "@repo/package.config": "4.9.0-next.2+635547bad3",
118
- "@repo/test-config": "4.9.0-next.2+635547bad3",
119
- "@sanity/types": "4.9.0-next.2+635547bad3"
116
+ "@repo/eslint-config": "4.9.0-next.21+c41a2b172c",
117
+ "@repo/package.config": "4.9.0-next.21+c41a2b172c",
118
+ "@repo/test-config": "4.9.0-next.21+c41a2b172c",
119
+ "@sanity/types": "4.9.0-next.21+c41a2b172c"
120
120
  },
121
121
  "engines": {
122
122
  "node": ">=20.19 <22 || >=22.12"