Skip to content

Commit 05bd464

Browse files
committed
more accurate file name
1 parent 10c278c commit 05bd464

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
"circuit-json-to-bpc": "^0.0.1",
99
"tscircuit": "^0.0.501"
1010
},
11+
"exports": {
12+
"bpc": "./dist/bundled-bpc-graphs.json"
13+
},
1114
"peerDependencies": {
1215
"typescript": "^5"
1316
},

scripts/create-bpcs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ import { convertCircuitJsonToBpc } from "circuit-json-to-bpc"
44
// TODO: go through every dist/**/XXX/circuit.json file in the designs directory
55
// and make a dist/**/XXX/bpc.json file
66

7-
// TODO create a dist/bpc-index.json file that exports a massive JSON object
7+
// TODO create a dist/bundled-bpc-graphs.json file that exports a massive JSON object
88
// that maps each design name to it's bpc.json file e.g.
99
// { design001: { boxes: [ ... ], ... }, design002: { boxes: [ ... ], ... }, ... }

0 commit comments

Comments
 (0)