@tscircuit/cli 0.1.147 → 0.1.149

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/main.js +13 -2
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -442424,7 +442424,7 @@ var getGlobalDepsInstallCommand = (packageManager, deps) => {
442424
442424
  import { execSync as execSync2 } from "node:child_process";
442425
442425
  var import_semver2 = __toESM2(require_semver2(), 1);
442426
442426
  // package.json
442427
- var version = "0.1.146";
442427
+ var version = "0.1.148";
442428
442428
  var package_default = {
442429
442429
  name: "@tscircuit/cli",
442430
442430
  version,
@@ -502569,7 +502569,12 @@ var buildFile = async (input, output, projectDir, options) => {
502569
502569
  console.error(kleur_default.red(msg));
502570
502570
  }
502571
502571
  }
502572
- return errors2.length === 0;
502572
+ if (errors2.length > 0 && !options?.ignoreErrors) {
502573
+ console.error(kleur_default.red(`Build failed with ${errors2.length} error(s). Use --ignore-errors to continue.`));
502574
+ return false;
502575
+ } else {
502576
+ return true;
502577
+ }
502573
502578
  } catch (err) {
502574
502579
  console.error(`Build failed: ${err}`);
502575
502580
  return false;
@@ -503422,6 +503427,9 @@ jobs:
503422
503427
  runs-on: ubuntu-latest
503423
503428
  steps:
503424
503429
  - uses: actions/checkout@v4
503430
+ - uses: actions/setup-node@v3
503431
+ with:
503432
+ node-version: 22
503425
503433
  - uses: oven-sh/setup-bun@v2
503426
503434
  - run: bun install
503427
503435
  - run: bunx tsci build
@@ -503438,6 +503446,9 @@ jobs:
503438
503446
  runs-on: ubuntu-latest
503439
503447
  steps:
503440
503448
  - uses: actions/checkout@v4
503449
+ - uses: actions/setup-node@v3
503450
+ with:
503451
+ node-version: 22
503441
503452
  - uses: oven-sh/setup-bun@v2
503442
503453
  - run: bun install
503443
503454
  - run: bunx tsci snapshot
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/cli",
3
- "version": "0.1.147",
3
+ "version": "0.1.149",
4
4
  "main": "dist/main.js",
5
5
  "devDependencies": {
6
6
  "@babel/standalone": "^7.26.9",