tscircuit 0.0.2432 → 0.0.2433-libonly
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/package.json +4 -10
- package/cli.mjs +0 -33
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"main": "dist/index.js",
|
|
4
4
|
"types": "dist/index.d.ts",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"version": "0.0.
|
|
6
|
+
"version": "0.0.2433-libonly",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
},
|
|
12
12
|
"files": [
|
|
13
13
|
"dist",
|
|
14
|
-
"cli.mjs",
|
|
15
14
|
"globals.d.ts"
|
|
16
15
|
],
|
|
17
16
|
"scripts": {
|
|
@@ -30,10 +29,6 @@
|
|
|
30
29
|
},
|
|
31
30
|
"./browser": "./dist/browser.min.js"
|
|
32
31
|
},
|
|
33
|
-
"bin": {
|
|
34
|
-
"tsci": "cli.mjs",
|
|
35
|
-
"tscircuit": "cli.mjs"
|
|
36
|
-
},
|
|
37
32
|
"devDependencies": {
|
|
38
33
|
"@types/bun": "^1.2.16",
|
|
39
34
|
"esbuild": "^0.20.2",
|
|
@@ -55,9 +50,8 @@
|
|
|
55
50
|
"@tscircuit/capacity-autorouter": "^0.0.845",
|
|
56
51
|
"@tscircuit/checks": "^0.0.171",
|
|
57
52
|
"@tscircuit/circuit-json-util": "^0.0.106",
|
|
58
|
-
"@tscircuit/cli": "^0.1.2006",
|
|
59
53
|
"@tscircuit/copper-pour-solver": "^0.0.50",
|
|
60
|
-
"@tscircuit/core": "^0.0.
|
|
54
|
+
"@tscircuit/core": "^0.0.1765",
|
|
61
55
|
"@tscircuit/create-fdm-enclosure": "0.0.4",
|
|
62
56
|
"@tscircuit/eval": "^0.0.1276",
|
|
63
57
|
"@tscircuit/fanout-solver": "0.0.37",
|
|
@@ -109,7 +103,7 @@
|
|
|
109
103
|
"rollup": "^4.53.2",
|
|
110
104
|
"rollup-plugin-dts": "^6.2.3",
|
|
111
105
|
"s-expression": "^3.1.1",
|
|
112
|
-
"schematic-symbols": "^0.0.
|
|
106
|
+
"schematic-symbols": "^0.0.242",
|
|
113
107
|
"spicets": "^0.0.4",
|
|
114
108
|
"spicey": "^0.0.14",
|
|
115
109
|
"sucrase": "^3.35.0",
|
|
@@ -118,4 +112,4 @@
|
|
|
118
112
|
"tslib": "^2.8.1",
|
|
119
113
|
"zod": "^3.25.67"
|
|
120
114
|
}
|
|
121
|
-
}
|
|
115
|
+
}
|
package/cli.mjs
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bun
|
|
2
|
-
|
|
3
|
-
import { createRequire } from "node:module";
|
|
4
|
-
import { existsSync } from "node:fs";
|
|
5
|
-
import { dirname, join } from "node:path";
|
|
6
|
-
import { fileURLToPath } from "node:url";
|
|
7
|
-
|
|
8
|
-
const require = createRequire(import.meta.url);
|
|
9
|
-
|
|
10
|
-
// Use require to import package.json
|
|
11
|
-
const packageJson = require("./package.json");
|
|
12
|
-
global.TSCIRCUIT_VERSION = packageJson.version;
|
|
13
|
-
|
|
14
|
-
// Expose the runframe + eval bundle shipped by this tscircuit version (the one
|
|
15
|
-
// that provides the `tsci` binary) so `tsci dev` can use it when the project has
|
|
16
|
-
// no local tscircuit installed. The CLI prefers a project-local tscircuit over
|
|
17
|
-
// this, and an explicit RUNFRAME_STANDALONE_FILE_PATH over both.
|
|
18
|
-
if (!process.env.TSCIRCUIT_GLOBAL_STANDALONE_FILE_PATH) {
|
|
19
|
-
const browserBundlePath = join(
|
|
20
|
-
dirname(fileURLToPath(import.meta.url)),
|
|
21
|
-
"dist",
|
|
22
|
-
"browser.min.js",
|
|
23
|
-
);
|
|
24
|
-
if (existsSync(browserBundlePath)) {
|
|
25
|
-
process.env.TSCIRCUIT_GLOBAL_STANDALONE_FILE_PATH = browserBundlePath;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
async function main() {
|
|
30
|
-
await import("@tscircuit/cli");
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
main();
|