@tscircuit/cli 0.1.159 → 0.1.160

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 +18 -1
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -240539,7 +240539,7 @@ var getGlobalDepsInstallCommand = (packageManager, deps) => {
240539
240539
  import { execSync as execSync2 } from "node:child_process";
240540
240540
  var import_semver2 = __toESM2(require_semver2(), 1);
240541
240541
  // package.json
240542
- var version = "0.1.158";
240542
+ var version = "0.1.159";
240543
240543
  var package_default = {
240544
240544
  name: "@tscircuit/cli",
240545
240545
  version,
@@ -280645,6 +280645,22 @@ import { CircuitRunner } from "tscircuit";
280645
280645
  import path21 from "node:path/posix";
280646
280646
  import { relative as relative6 } from "node:path";
280647
280647
  import fs21 from "node:fs";
280648
+
280649
+ // lib/utils/abbreviate-stringify-object.ts
280650
+ var abbreviateStringifyObject = (obj) => {
280651
+ if (obj === null || obj === undefined)
280652
+ return obj;
280653
+ if (typeof obj !== "object")
280654
+ return obj;
280655
+ return JSON.stringify(Object.fromEntries(Object.entries(obj).map(([k, v]) => {
280656
+ return [
280657
+ k,
280658
+ typeof v === "string" ? v.slice(0, 100) : typeof v === "object" && v !== null ? abbreviateStringifyObject(v) : v
280659
+ ];
280660
+ })));
280661
+ };
280662
+
280663
+ // lib/shared/generate-circuit-json.ts
280648
280664
  var debug11 = import_debug13.default("tsci:generate-circuit-json");
280649
280665
  var ALLOWED_FILE_EXTENSIONS = [
280650
280666
  ".tsx",
@@ -280693,6 +280709,7 @@ async function generateCircuitJson({
280693
280709
  contentFormat: "string"
280694
280710
  })
280695
280711
  };
280712
+ debug11(`fsMap: ${abbreviateStringifyObject(fsMap)}`);
280696
280713
  await runner.executeWithFsMap({
280697
280714
  fsMap,
280698
280715
  mainComponentPath: relativeComponentPath
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/cli",
3
- "version": "0.1.159",
3
+ "version": "0.1.160",
4
4
  "main": "dist/main.js",
5
5
  "devDependencies": {
6
6
  "@babel/standalone": "^7.26.9",