easyeda 0.0.127 → 0.0.129
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/browser/index.d.ts +1993 -0
- package/dist/browser/index.js +3154 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/{chunk-CROLWOEW.js → chunk-YCCBLZAH.js} +978 -588
- package/dist/chunk-YCCBLZAH.js.map +1 -0
- package/dist/cli/main.js +11 -5
- package/dist/cli/main.js.map +1 -1
- package/dist/lib/index.d.ts +622 -622
- package/dist/lib/index.js +1 -1
- package/package.json +10 -4
- package/dist/chunk-CROLWOEW.js.map +0 -1
package/dist/lib/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "easyeda",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.129",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
7
7
|
],
|
|
@@ -12,13 +12,19 @@
|
|
|
12
12
|
"scripts": {
|
|
13
13
|
"test": "bun test",
|
|
14
14
|
"cli": "bun cli/main.ts",
|
|
15
|
-
"build": "
|
|
15
|
+
"build": "bun build:node && bun build:web",
|
|
16
|
+
"build:node": "tsup lib/index.ts cli/main.ts --platform node --format esm --dts --sourcemap",
|
|
17
|
+
"build:web": "tsup lib/websafe/index.ts --platform browser --format esm --dts --sourcemap -d dist/browser",
|
|
16
18
|
"aider": "aider",
|
|
17
19
|
"format:check": "biome format .",
|
|
18
20
|
"format": "biome format . --write",
|
|
19
21
|
"add-test-for-part": "bun run scripts/add-test-for-part.ts"
|
|
20
22
|
},
|
|
21
23
|
"main": "./dist/lib/index.js",
|
|
24
|
+
"exports": {
|
|
25
|
+
".": "./dist/lib/index.js",
|
|
26
|
+
"./browser": "./dist/browser/index.js"
|
|
27
|
+
},
|
|
22
28
|
"bin": {
|
|
23
29
|
"easyeda-converter": "./dist/cli/main.js",
|
|
24
30
|
"easyeda": "./dist/cli/main.js"
|
|
@@ -26,11 +32,11 @@
|
|
|
26
32
|
"devDependencies": {
|
|
27
33
|
"@biomejs/biome": "^1.9.4",
|
|
28
34
|
"@tscircuit/log-soup": "1.0.2",
|
|
29
|
-
"@tscircuit/props": "^0.0.
|
|
35
|
+
"@tscircuit/props": "^0.0.165",
|
|
30
36
|
"@tscircuit/soup-util": "^0.0.41",
|
|
31
37
|
"@types/bun": "latest",
|
|
32
38
|
"bun-match-svg": "^0.0.6",
|
|
33
|
-
"circuit-json": "^0.0.
|
|
39
|
+
"circuit-json": "^0.0.153",
|
|
34
40
|
"circuit-to-svg": "^0.0.56",
|
|
35
41
|
"tsup": "^8.4.0"
|
|
36
42
|
},
|