@sanity/cli 4.14.0-next.45 → 4.14.0-next.47

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 CHANGED
@@ -8,8 +8,10 @@ register({
8
8
  jsx: 'automatic',
9
9
  })
10
10
 
11
- // oxlint-disable-next-line no-console
12
- console.log('\n️ⓘ Running local Sanity CLI from source\n')
11
+ if (process.env.TEST !== 'true') {
12
+ // oxlint-disable-next-line no-console
13
+ console.log('\n️ⓘ Running local Sanity CLI from source\n')
14
+ }
13
15
 
14
16
  // Define the global `__DEV__` flag which is used to
15
17
  // - determine when to use `esbuild-register` in the Sanity development server
@@ -71088,7 +71088,7 @@ Please upgrade to a version that satisfies the range ${chalk__default.default.gr
71088
71088
  );
71089
71089
  }
71090
71090
  function warnOnNonProductionEnvironment() {
71091
- sanityEnv !== "production" && console.warn(
71091
+ sanityEnv !== "production" && process.env.TEST !== "true" && console.warn(
71092
71092
  chalk__default.default.yellow(
71093
71093
  knownEnvs.includes(sanityEnv) ? `[WARN] Running in ${sanityEnv} environment mode
71094
71094
  ` : `[WARN] Running in ${chalk__default.default.red("UNKNOWN")} "${sanityEnv}" environment mode