@tscircuit/cli 0.1.1526 → 0.1.1527
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/build/build.worker.js +73 -7
- package/dist/cli/main.js +155 -2735
- package/dist/cli/snapshot/snapshot.worker.js +158 -2786
- package/dist/lib/index.js +12 -10
- package/package.json +9 -8
package/dist/lib/index.js
CHANGED
|
@@ -44454,15 +44454,16 @@ var require_range = __commonJS((exports2, module2) => {
|
|
|
44454
44454
|
};
|
|
44455
44455
|
var replaceTilde = (comp, options) => {
|
|
44456
44456
|
const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE];
|
|
44457
|
+
const z21 = options.includePrerelease ? "-0" : "";
|
|
44457
44458
|
return comp.replace(r, (_, M, m, p, pr) => {
|
|
44458
44459
|
debug("tilde", comp, _, M, m, p, pr);
|
|
44459
44460
|
let ret;
|
|
44460
44461
|
if (isX(M)) {
|
|
44461
44462
|
ret = "";
|
|
44462
44463
|
} else if (isX(m)) {
|
|
44463
|
-
ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;
|
|
44464
|
+
ret = `>=${M}.0.0${z21} <${+M + 1}.0.0-0`;
|
|
44464
44465
|
} else if (isX(p)) {
|
|
44465
|
-
ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`;
|
|
44466
|
+
ret = `>=${M}.${m}.0${z21} <${M}.${+m + 1}.0-0`;
|
|
44466
44467
|
} else if (pr) {
|
|
44467
44468
|
debug("replaceTilde pr", pr);
|
|
44468
44469
|
ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
|
|
@@ -65364,7 +65365,7 @@ var getNodeHandler = (winterSpec, { port, middleware = [] }) => {
|
|
|
65364
65365
|
}));
|
|
65365
65366
|
};
|
|
65366
65367
|
// package.json
|
|
65367
|
-
var version = "0.1.
|
|
65368
|
+
var version = "0.1.1526";
|
|
65368
65369
|
var package_default = {
|
|
65369
65370
|
name: "@tscircuit/cli",
|
|
65370
65371
|
version,
|
|
@@ -65379,14 +65380,15 @@ var package_default = {
|
|
|
65379
65380
|
"@tscircuit/circuit-json-placement-analysis": "^0.0.6",
|
|
65380
65381
|
"@tscircuit/circuit-json-routing-analysis": "^0.0.1",
|
|
65381
65382
|
"@tscircuit/circuit-json-schematic-placement-analysis": "github:tscircuit/circuit-json-schematic-placement-analysis#b6d5fe675adc26a2fc988aa081e6fb51e6bf696a",
|
|
65382
|
-
"@tscircuit/
|
|
65383
|
+
"@tscircuit/eecircuit-engine": "https://jscdn.tscircuit.com/@tscircuit/eecircuit-engine/1.7.4.tgz",
|
|
65384
|
+
"@tscircuit/eval": "^0.0.933",
|
|
65383
65385
|
"@tscircuit/fake-snippets": "^0.0.182",
|
|
65384
65386
|
"@tscircuit/fake-ul-kicad-proxy": "github:tscircuit/fake-ul-kicad-proxy#d174c33c1b17a52d7a9dc3c2b5506d6fd593bed7",
|
|
65385
65387
|
"@tscircuit/file-server": "^0.0.32",
|
|
65386
|
-
"@tscircuit/image-utils": "^0.0.
|
|
65387
|
-
"@tscircuit/krt-wasm": "^0.1.
|
|
65388
|
+
"@tscircuit/image-utils": "^0.0.8",
|
|
65389
|
+
"@tscircuit/krt-wasm": "^0.1.6",
|
|
65388
65390
|
"@tscircuit/math-utils": "0.0.36",
|
|
65389
|
-
"@tscircuit/props": "^0.0.
|
|
65391
|
+
"@tscircuit/props": "^0.0.551",
|
|
65390
65392
|
"@tscircuit/runframe": "^0.0.2101",
|
|
65391
65393
|
"@tscircuit/schematic-match-adapt": "^0.0.22",
|
|
65392
65394
|
"@tscircuit/ti-parts-engine": "github:tscircuit/ti-parts-engine#cead194495b8fbfb73a88b5995ce86a4b61a9d04",
|
|
@@ -65401,13 +65403,13 @@ var package_default = {
|
|
|
65401
65403
|
"@types/semver": "^7.5.8",
|
|
65402
65404
|
"bun-match-svg": "^0.0.12",
|
|
65403
65405
|
chokidar: "4.0.1",
|
|
65404
|
-
"circuit-json": "^0.0.
|
|
65406
|
+
"circuit-json": "^0.0.437",
|
|
65405
65407
|
"circuit-json-to-bom-csv": "^0.0.7",
|
|
65406
65408
|
"circuit-json-to-gerber": "^0.0.51",
|
|
65407
65409
|
"circuit-json-to-kicad": "0.0.153",
|
|
65408
65410
|
"circuit-json-to-pnp-csv": "^0.0.7",
|
|
65409
65411
|
"circuit-json-to-readable-netlist": "^0.0.15",
|
|
65410
|
-
"circuit-json-to-spice": "^0.0.
|
|
65412
|
+
"circuit-json-to-spice": "^0.0.39",
|
|
65411
65413
|
"circuit-json-to-step": "^0.0.36",
|
|
65412
65414
|
"circuit-json-to-tscircuit": "^0.0.35",
|
|
65413
65415
|
"circuit-json-trace-length-analysis": "github:tscircuit/circuit-json-trace-length-analysis#2b44792a40df0ca83b6bfb6ac95ed5e35e7168b8",
|
|
@@ -65440,7 +65442,7 @@ var package_default = {
|
|
|
65440
65442
|
semver: "^7.6.3",
|
|
65441
65443
|
stepts: "^0.0.3",
|
|
65442
65444
|
tempy: "^3.1.0",
|
|
65443
|
-
tscircuit: "0.0.
|
|
65445
|
+
tscircuit: "0.0.1911-libonly",
|
|
65444
65446
|
tsx: "^4.7.1",
|
|
65445
65447
|
"typed-ky": "^0.0.4",
|
|
65446
65448
|
zod: "^3.23.8"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1527",
|
|
4
4
|
"main": "dist/cli/main.js",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dist/cli/main.js",
|
|
@@ -12,14 +12,15 @@
|
|
|
12
12
|
"@tscircuit/circuit-json-placement-analysis": "^0.0.6",
|
|
13
13
|
"@tscircuit/circuit-json-routing-analysis": "^0.0.1",
|
|
14
14
|
"@tscircuit/circuit-json-schematic-placement-analysis": "github:tscircuit/circuit-json-schematic-placement-analysis#b6d5fe675adc26a2fc988aa081e6fb51e6bf696a",
|
|
15
|
-
"@tscircuit/
|
|
15
|
+
"@tscircuit/eecircuit-engine": "https://jscdn.tscircuit.com/@tscircuit/eecircuit-engine/1.7.4.tgz",
|
|
16
|
+
"@tscircuit/eval": "^0.0.933",
|
|
16
17
|
"@tscircuit/fake-snippets": "^0.0.182",
|
|
17
18
|
"@tscircuit/fake-ul-kicad-proxy": "github:tscircuit/fake-ul-kicad-proxy#d174c33c1b17a52d7a9dc3c2b5506d6fd593bed7",
|
|
18
19
|
"@tscircuit/file-server": "^0.0.32",
|
|
19
|
-
"@tscircuit/image-utils": "^0.0.
|
|
20
|
-
"@tscircuit/krt-wasm": "^0.1.
|
|
20
|
+
"@tscircuit/image-utils": "^0.0.8",
|
|
21
|
+
"@tscircuit/krt-wasm": "^0.1.6",
|
|
21
22
|
"@tscircuit/math-utils": "0.0.36",
|
|
22
|
-
"@tscircuit/props": "^0.0.
|
|
23
|
+
"@tscircuit/props": "^0.0.551",
|
|
23
24
|
"@tscircuit/runframe": "^0.0.2101",
|
|
24
25
|
"@tscircuit/schematic-match-adapt": "^0.0.22",
|
|
25
26
|
"@tscircuit/ti-parts-engine": "github:tscircuit/ti-parts-engine#cead194495b8fbfb73a88b5995ce86a4b61a9d04",
|
|
@@ -34,13 +35,13 @@
|
|
|
34
35
|
"@types/semver": "^7.5.8",
|
|
35
36
|
"bun-match-svg": "^0.0.12",
|
|
36
37
|
"chokidar": "4.0.1",
|
|
37
|
-
"circuit-json": "^0.0.
|
|
38
|
+
"circuit-json": "^0.0.437",
|
|
38
39
|
"circuit-json-to-bom-csv": "^0.0.7",
|
|
39
40
|
"circuit-json-to-gerber": "^0.0.51",
|
|
40
41
|
"circuit-json-to-kicad": "0.0.153",
|
|
41
42
|
"circuit-json-to-pnp-csv": "^0.0.7",
|
|
42
43
|
"circuit-json-to-readable-netlist": "^0.0.15",
|
|
43
|
-
"circuit-json-to-spice": "^0.0.
|
|
44
|
+
"circuit-json-to-spice": "^0.0.39",
|
|
44
45
|
"circuit-json-to-step": "^0.0.36",
|
|
45
46
|
"circuit-json-to-tscircuit": "^0.0.35",
|
|
46
47
|
"circuit-json-trace-length-analysis": "github:tscircuit/circuit-json-trace-length-analysis#2b44792a40df0ca83b6bfb6ac95ed5e35e7168b8",
|
|
@@ -73,7 +74,7 @@
|
|
|
73
74
|
"semver": "^7.6.3",
|
|
74
75
|
"stepts": "^0.0.3",
|
|
75
76
|
"tempy": "^3.1.0",
|
|
76
|
-
"tscircuit": "0.0.
|
|
77
|
+
"tscircuit": "0.0.1911-libonly",
|
|
77
78
|
"tsx": "^4.7.1",
|
|
78
79
|
"typed-ky": "^0.0.4",
|
|
79
80
|
"zod": "^3.23.8"
|