@sanity/cli 4.15.1-next.5 → 4.15.1-next.7
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/bin/dev.js +2 -4
- package/lib/_chunks-cjs/cli.js +1 -1
- package/lib/_chunks-cjs/cli.js.map +1 -1
- package/package.json +7 -7
package/bin/dev.js
CHANGED
|
@@ -16,10 +16,8 @@ register({
|
|
|
16
16
|
supported: {'dynamic-import': false},
|
|
17
17
|
})
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
console.log('\n️ⓘ Running local Sanity CLI from source\n')
|
|
22
|
-
}
|
|
19
|
+
// oxlint-disable-next-line no-console
|
|
20
|
+
console.warn('\n️ⓘ Running local Sanity CLI from source\n')
|
|
23
21
|
|
|
24
22
|
// Define the global `__DEV__` flag which is used to
|
|
25
23
|
// - determine when to use `esbuild-register` in the Sanity development server
|
package/lib/_chunks-cjs/cli.js
CHANGED
|
@@ -71093,7 +71093,7 @@ Please upgrade to a version that satisfies the range ${chalk__default.default.gr
|
|
|
71093
71093
|
);
|
|
71094
71094
|
}
|
|
71095
71095
|
function warnOnNonProductionEnvironment() {
|
|
71096
|
-
sanityEnv !== "production" &&
|
|
71096
|
+
sanityEnv !== "production" && console.warn(
|
|
71097
71097
|
chalk__default.default.yellow(
|
|
71098
71098
|
knownEnvs.includes(sanityEnv) ? `[WARN] Running in ${sanityEnv} environment mode
|
|
71099
71099
|
` : `[WARN] Running in ${chalk__default.default.red("UNKNOWN")} "${sanityEnv}" environment mode
|