@tscircuit/cli 0.1.971 → 0.1.972

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.
Files changed (2) hide show
  1. package/dist/cli/main.js +7 -1
  2. package/package.json +1 -1
package/dist/cli/main.js CHANGED
@@ -71991,6 +71991,12 @@ var shouldBeInteractive = () => {
71991
71991
  return false;
71992
71992
  if (process.env.TSCI_TEST_MODE)
71993
71993
  return false;
71994
+ if (process.argv.includes("--non-interactive"))
71995
+ return false;
71996
+ if (process.env.TSCIRCUIT_NON_INTERACTIVE === "1")
71997
+ return false;
71998
+ if (!process.stdin.isTTY || !process.stdout.isTTY)
71999
+ return false;
71994
72000
  return true;
71995
72001
  };
71996
72002
 
@@ -72002,7 +72008,7 @@ var prompts = (...args) => {
72002
72008
  const result = {};
72003
72009
  promptArray.forEach((prompt) => {
72004
72010
  if (prompt.type === "confirm") {
72005
- result[prompt.name] = prompt.initial ?? true;
72011
+ result[prompt.name] = true;
72006
72012
  return;
72007
72013
  } else if (prompt.initial) {
72008
72014
  result[prompt.name] = prompt.initial;
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  ".": "./dist/cli/main.js",
6
6
  "./lib": "./dist/lib/index.js"
7
7
  },
8
- "version": "0.1.971",
8
+ "version": "0.1.972",
9
9
  "devDependencies": {
10
10
  "@babel/standalone": "^7.26.9",
11
11
  "@biomejs/biome": "^1.9.4",