@tscircuit/cli 0.1.909 → 0.1.911

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/dist/cli/main.js CHANGED
@@ -74384,7 +74384,7 @@ var getGlobalDepsInstallCommand = (packageManager, deps) => {
74384
74384
  import { execSync as execSync2 } from "node:child_process";
74385
74385
  var import_semver2 = __toESM2(require_semver2(), 1);
74386
74386
  // package.json
74387
- var version = "0.1.908";
74387
+ var version = "0.1.910";
74388
74388
  var package_default = {
74389
74389
  name: "@tscircuit/cli",
74390
74390
  main: "dist/cli/main.js",
@@ -74400,7 +74400,7 @@ var package_default = {
74400
74400
  "@tscircuit/fake-snippets": "^0.0.182",
74401
74401
  "@tscircuit/file-server": "^0.0.32",
74402
74402
  "@tscircuit/math-utils": "0.0.29",
74403
- "@tscircuit/props": "^0.0.458",
74403
+ "@tscircuit/props": "^0.0.474",
74404
74404
  "@tscircuit/runframe": "^0.0.1597",
74405
74405
  "@tscircuit/schematic-match-adapt": "^0.0.22",
74406
74406
  "@types/bun": "^1.2.2",
@@ -74413,8 +74413,6 @@ var package_default = {
74413
74413
  "@types/semver": "^7.5.8",
74414
74414
  "bun-match-svg": "^0.0.12",
74415
74415
  chokidar: "4.0.1",
74416
- "circuit-json": "0.0.325",
74417
- "circuit-json-to-gltf": "^0.0.58",
74418
74416
  "circuit-json-to-kicad": "^0.0.71",
74419
74417
  "circuit-json-to-readable-netlist": "^0.0.13",
74420
74418
  "circuit-json-to-spice": "^0.0.10",
@@ -74449,7 +74447,7 @@ var package_default = {
74449
74447
  semver: "^7.6.3",
74450
74448
  sharp: "0.32.6",
74451
74449
  tempy: "^3.1.0",
74452
- tscircuit: "^0.0.1224-libonly",
74450
+ tscircuit: "^0.0.1293-libonly",
74453
74451
  tsx: "^4.7.1",
74454
74452
  "typed-ky": "^0.0.4",
74455
74453
  zod: "^3.23.8"
@@ -174531,6 +174529,11 @@ async function installProjectDependencies({
174531
174529
  } else {
174532
174530
  console.log("Found existing package.json.");
174533
174531
  }
174532
+ const tsconfigPath = path44.join(projectRoot, "tsconfig.json");
174533
+ if (!fs44.existsSync(tsconfigPath)) {
174534
+ console.log("No tsconfig.json found. Generating a new one.");
174535
+ generateTsConfig(projectRoot);
174536
+ }
174534
174537
  if (!fs44.existsSync(npmrcPath)) {
174535
174538
  console.log("Creating .npmrc with tscircuit registry configuration.");
174536
174539
  fs44.writeFileSync(npmrcPath, "@tsci:registry=https://npm.tscircuit.com");
package/dist/lib/index.js CHANGED
@@ -60414,7 +60414,7 @@ var getNodeHandler = (winterSpec, { port, middleware = [] }) => {
60414
60414
  }));
60415
60415
  };
60416
60416
  // package.json
60417
- var version = "0.1.908";
60417
+ var version = "0.1.910";
60418
60418
  var package_default = {
60419
60419
  name: "@tscircuit/cli",
60420
60420
  main: "dist/cli/main.js",
@@ -60430,7 +60430,7 @@ var package_default = {
60430
60430
  "@tscircuit/fake-snippets": "^0.0.182",
60431
60431
  "@tscircuit/file-server": "^0.0.32",
60432
60432
  "@tscircuit/math-utils": "0.0.29",
60433
- "@tscircuit/props": "^0.0.458",
60433
+ "@tscircuit/props": "^0.0.474",
60434
60434
  "@tscircuit/runframe": "^0.0.1597",
60435
60435
  "@tscircuit/schematic-match-adapt": "^0.0.22",
60436
60436
  "@types/bun": "^1.2.2",
@@ -60443,8 +60443,6 @@ var package_default = {
60443
60443
  "@types/semver": "^7.5.8",
60444
60444
  "bun-match-svg": "^0.0.12",
60445
60445
  chokidar: "4.0.1",
60446
- "circuit-json": "0.0.325",
60447
- "circuit-json-to-gltf": "^0.0.58",
60448
60446
  "circuit-json-to-kicad": "^0.0.71",
60449
60447
  "circuit-json-to-readable-netlist": "^0.0.13",
60450
60448
  "circuit-json-to-spice": "^0.0.10",
@@ -60479,7 +60477,7 @@ var package_default = {
60479
60477
  semver: "^7.6.3",
60480
60478
  sharp: "0.32.6",
60481
60479
  tempy: "^3.1.0",
60482
- tscircuit: "^0.0.1224-libonly",
60480
+ tscircuit: "^0.0.1293-libonly",
60483
60481
  tsx: "^4.7.1",
60484
60482
  "typed-ky": "^0.0.4",
60485
60483
  zod: "^3.23.8"
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.909",
8
+ "version": "0.1.911",
9
9
  "devDependencies": {
10
10
  "@babel/standalone": "^7.26.9",
11
11
  "@biomejs/biome": "^1.9.4",
@@ -13,7 +13,7 @@
13
13
  "@tscircuit/fake-snippets": "^0.0.182",
14
14
  "@tscircuit/file-server": "^0.0.32",
15
15
  "@tscircuit/math-utils": "0.0.29",
16
- "@tscircuit/props": "^0.0.458",
16
+ "@tscircuit/props": "^0.0.474",
17
17
  "@tscircuit/runframe": "^0.0.1597",
18
18
  "@tscircuit/schematic-match-adapt": "^0.0.22",
19
19
  "@types/bun": "^1.2.2",
@@ -26,8 +26,6 @@
26
26
  "@types/semver": "^7.5.8",
27
27
  "bun-match-svg": "^0.0.12",
28
28
  "chokidar": "4.0.1",
29
- "circuit-json": "0.0.325",
30
- "circuit-json-to-gltf": "^0.0.58",
31
29
  "circuit-json-to-kicad": "^0.0.71",
32
30
  "circuit-json-to-readable-netlist": "^0.0.13",
33
31
  "circuit-json-to-spice": "^0.0.10",
@@ -62,7 +60,7 @@
62
60
  "semver": "^7.6.3",
63
61
  "sharp": "0.32.6",
64
62
  "tempy": "^3.1.0",
65
- "tscircuit": "^0.0.1224-libonly",
63
+ "tscircuit": "^0.0.1293-libonly",
66
64
  "tsx": "^4.7.1",
67
65
  "typed-ky": "^0.0.4",
68
66
  "zod": "^3.23.8"