@sanity/cli 3.74.2-canary.89 → 3.74.2-canary.98

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
@@ -122,7 +122,7 @@ export declare interface CliConfig {
122
122
  */
123
123
  __experimental_coreAppConfiguration?: {
124
124
  appLocation?: string
125
- appHost?: string
125
+ appId?: string
126
126
  }
127
127
  }
128
128
 
package/lib/index.d.ts CHANGED
@@ -122,7 +122,7 @@ export declare interface CliConfig {
122
122
  */
123
123
  __experimental_coreAppConfiguration?: {
124
124
  appLocation?: string
125
- appHost?: string
125
+ appId?: string
126
126
  }
127
127
  }
128
128
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/cli",
3
- "version": "3.74.2-canary.89+98ef8b83c9",
3
+ "version": "3.74.2-canary.98+4282dd8196",
4
4
  "description": "Sanity CLI tool for managing Sanity installations, managing plugins, schemas and datasets",
5
5
  "keywords": [
6
6
  "sanity",
@@ -58,10 +58,10 @@
58
58
  "dependencies": {
59
59
  "@babel/traverse": "^7.23.5",
60
60
  "@sanity/client": "^6.28.0",
61
- "@sanity/codegen": "3.74.2-canary.89+98ef8b83c9",
61
+ "@sanity/codegen": "3.74.2-canary.98+4282dd8196",
62
62
  "@sanity/telemetry": "^0.7.7",
63
63
  "@sanity/template-validator": "^2.4.0",
64
- "@sanity/util": "3.74.2-canary.89+98ef8b83c9",
64
+ "@sanity/util": "3.74.2-canary.98+4282dd8196",
65
65
  "chalk": "^4.1.2",
66
66
  "debug": "^4.3.4",
67
67
  "decompress": "^4.2.0",
@@ -81,7 +81,7 @@
81
81
  "@rollup/plugin-node-resolve": "^15.2.3",
82
82
  "@sanity/eslint-config-studio": "^4.0.0",
83
83
  "@sanity/generate-help-url": "^3.0.0",
84
- "@sanity/types": "3.74.2-canary.89+98ef8b83c9",
84
+ "@sanity/types": "3.74.2-canary.98+4282dd8196",
85
85
  "@types/babel__traverse": "^7.20.5",
86
86
  "@types/configstore": "^5.0.1",
87
87
  "@types/cpx": "^1.5.2",
@@ -133,5 +133,5 @@
133
133
  "engines": {
134
134
  "node": ">=18"
135
135
  },
136
- "gitHead": "98ef8b83c9427e03fad51b581d0339c6dea0a463"
136
+ "gitHead": "4282dd81966712dc7877c2d28947a7d2dacdac27"
137
137
  }
package/src/cli.ts CHANGED
@@ -291,7 +291,7 @@ function loadAndSetEnvFromDotEnvFiles({
291
291
  // and apply the old behavior for environment variables. Otherwise, use the Vite-style
292
292
  // behavior. We need to do this "cheap" lookup because when loading the v3 config, env vars
293
293
  // may be used in the configuration file, meaning we'd have to load the config twice.
294
- if (existsSync(path.join(workDir, 'sanity.json')) && !isCoreApp) {
294
+ if (existsSync(path.join(workDir, 'sanity.json'))) {
295
295
  // v2
296
296
  debug('sanity.json exists, assuming v2 project and loading .env files using old behavior')
297
297
  const env = process.env.SANITY_ACTIVE_ENV || process.env.NODE_ENV || 'development'
package/src/types.ts CHANGED
@@ -355,7 +355,7 @@ export interface CliConfig {
355
355
  */
356
356
  __experimental_coreAppConfiguration?: {
357
357
  appLocation?: string
358
- appHost?: string
358
+ appId?: string
359
359
  }
360
360
  }
361
361