@tscircuit/parts-engine 0.0.13 → 0.0.15
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/bun.lock
CHANGED
|
@@ -4,12 +4,14 @@
|
|
|
4
4
|
"workspaces": {
|
|
5
5
|
"": {
|
|
6
6
|
"name": "@tscircuit/parts-engine",
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"easyeda": "^0.0.256",
|
|
9
|
+
},
|
|
7
10
|
"devDependencies": {
|
|
8
11
|
"@biomejs/biome": "^1.9.4",
|
|
9
|
-
"@tscircuit/props": "^0.0.
|
|
12
|
+
"@tscircuit/props": "^0.0.502",
|
|
10
13
|
"@types/bun": "latest",
|
|
11
14
|
"circuit-json": "^0.0.406",
|
|
12
|
-
"easyeda": "^0.0.253",
|
|
13
15
|
"tsup": "^8.4.0",
|
|
14
16
|
},
|
|
15
17
|
"peerDependencies": {
|
|
@@ -140,7 +142,7 @@
|
|
|
140
142
|
|
|
141
143
|
"@rollup/rollup-win32-x64-msvc": ["@rollup/rollup-win32-x64-msvc@4.40.0", "", { "os": "win32", "cpu": "x64" }, "sha512-lpPE1cLfP5oPzVjKMx10pgBmKELQnFJXHgvtHCtuJWOv8MxqdEIMNtgHgBFf7Ea2/7EuVwa9fodWUfXAlXZLZQ=="],
|
|
142
144
|
|
|
143
|
-
"@tscircuit/props": ["@tscircuit/props@0.0.
|
|
145
|
+
"@tscircuit/props": ["@tscircuit/props@0.0.502", "", { "peerDependencies": { "circuit-json": "*", "react": "*", "zod": "*" } }, "sha512-0Nf/2etrIGV5hYLqOQQWtlEMW5fFzUmNVK7QcmGi/R485mEpupRYAzsCt2qnNb9PAs51w4WUS2QtGJreaFjmqA=="],
|
|
144
146
|
|
|
145
147
|
"@types/bun": ["@types/bun@1.2.10", "", { "dependencies": { "bun-types": "1.2.10" } }, "sha512-eilv6WFM3M0c9ztJt7/g80BDusK98z/FrFwseZgT4bXCq2vPhXD4z8R3oddmAn+R/Nmz9vBn4kweJKmGTZj+lg=="],
|
|
146
148
|
|
|
@@ -182,7 +184,7 @@
|
|
|
182
184
|
|
|
183
185
|
"eastasianwidth": ["eastasianwidth@0.2.0", "", {}, "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA=="],
|
|
184
186
|
|
|
185
|
-
"easyeda": ["easyeda@0.0.
|
|
187
|
+
"easyeda": ["easyeda@0.0.256", "", { "peerDependencies": { "typescript": "^5.5.2", "zod": "3" }, "bin": { "easyeda-converter": "dist/main.cjs", "easyeda": "dist/main.cjs" } }, "sha512-+tAJepTalUhj0A8uCH0ERqI9LQAychghMzNntd3v4hatxwzYP8zHuqIVDit32N5nKgW3TSP2UQ+EDbxeEemtPQ=="],
|
|
186
188
|
|
|
187
189
|
"emoji-regex": ["emoji-regex@9.2.2", "", {}, "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg=="],
|
|
188
190
|
|
package/lib/jlc-parts-engine.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/parts-engine",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
|
+
"dependencies": {
|
|
7
|
+
"easyeda": "^0.0.256"
|
|
8
|
+
},
|
|
6
9
|
"devDependencies": {
|
|
7
10
|
"@biomejs/biome": "^1.9.4",
|
|
8
|
-
"@tscircuit/props": "^0.0.
|
|
11
|
+
"@tscircuit/props": "^0.0.502",
|
|
9
12
|
"@types/bun": "latest",
|
|
10
13
|
"circuit-json": "^0.0.406",
|
|
11
|
-
"easyeda": "^0.0.253",
|
|
12
14
|
"tsup": "^8.4.0"
|
|
13
15
|
},
|
|
14
16
|
"scripts": {
|
|
@@ -30,4 +30,4 @@ test("fetchPartCircuitJson works with manufacturerPartNumber (TYPE-C-31-M-12)",
|
|
|
30
30
|
const types = result!.map((el: any) => el.type)
|
|
31
31
|
expect(types.filter((t: string) => t === "pcb_smtpad").length).toBe(12)
|
|
32
32
|
expect(types.filter((t: string) => t === "pcb_plated_hole").length).toBe(4)
|
|
33
|
-
},
|
|
33
|
+
}, 20000)
|