@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/_chunks-cjs/cli.js +1 -1
- package/lib/_chunks-cjs/cli.js.map +1 -1
- package/lib/index.d.mts +1 -1
- package/lib/index.d.ts +1 -1
- package/package.json +5 -5
- package/src/cli.ts +1 -1
- package/src/types.ts +1 -1
package/lib/index.d.mts
CHANGED
package/lib/index.d.ts
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@sanity/cli",
|
3
|
-
"version": "3.74.2-canary.
|
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.
|
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.
|
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.
|
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": "
|
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'))
|
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'
|