biscuitboard 1.0.7 → 1.0.9

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.
Files changed (2) hide show
  1. package/README.md +15 -2
  2. package/package.json +5 -3
package/README.md CHANGED
@@ -20,11 +20,24 @@ export default () => (
20
20
  Generate a Gerber ZIP without the front or back solder-mask layers with:
21
21
 
22
22
  ```sh
23
- bun run export:gerbers:no-solder-mask examples/breadboard-clad.tsx
23
+ bun run export:gerbers examples/breadboard-clad.tsx
24
24
  ```
25
25
 
26
26
  The archive defaults to `dist/gerbers/<board-name>.zip`. Pass a second argument
27
- to choose another ZIP path.
27
+ to choose another ZIP path. As a fabrication postprocessing step, every board
28
+ receives full top and bottom copper pours and the front and back solder-mask
29
+ layers are removed. The source TSX is not modified. The exporter also accepts a
30
+ built `circuit.json` file, which the site build uses to avoid rendering twice.
31
+
32
+ Build the static circuit site and downloadable Gerbers for every circuit with:
33
+
34
+ ```sh
35
+ bun run build:site
36
+ ```
37
+
38
+ The site is written to `dist/`. Its Gerber download index is available at
39
+ `/gerbers/`, with individual archives such as
40
+ `/gerbers/examples/clad-panel.zip`.
28
41
 
29
42
  `BiscuitBoard` owns the fixed 75 mm x 55 mm outline, mounting holes, and
30
43
  assignable prefabricated vias. Copper pours are intentionally disabled. Its
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biscuitboard",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "Prefabricated copper-clad board wrappers and fixed-via autorouting for tscircuit",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -28,6 +28,7 @@
28
28
  "dev": "tsci dev",
29
29
  "analyze:boosterpack": "bun run scripts/analyze-boosterpack-routing.tsx",
30
30
  "build": "tsup",
31
+ "build:site": "bun run scripts/build-site.ts",
31
32
  "build:circuit": "tsci build index.tsx",
32
33
  "build:breadboard-clad": "tsci build examples/breadboard-clad.tsx --disable-parts-engine --svgs",
33
34
  "build:clad-32x32": "tsci build examples/clad-32x32.tsx --disable-parts-engine --svgs",
@@ -42,7 +43,7 @@
42
43
  "build:example": "tsci build examples/stm32c071.tsx --disable-parts-engine --svgs",
43
44
  "build:xiao-stm32-usb": "tsci build examples/xiao-stm32-usb.tsx --disable-parts-engine --svgs",
44
45
  "export:lightburn": "bun run scripts/export-lightburn.tsx",
45
- "export:gerbers:no-solder-mask": "bun run scripts/export-gerbers-without-solder-mask.ts",
46
+ "export:gerbers": "bun run scripts/export-gerbers.ts",
46
47
  "export:stencil-step": "bun run scripts/export-stencil-step.ts",
47
48
  "generate:lens-calibration": "bun run scripts/generate-lens-calibration.ts",
48
49
  "setup:test-deps": "bun run --cwd node_modules/sharp install",
@@ -92,11 +93,12 @@
92
93
  },
93
94
  "devDependencies": {
94
95
  "@biomejs/biome": "^2.3.4",
96
+ "@tscircuit/biscuit-board-autorouter": "github:tscircuit/biscuit-board-autorouter#a704ab5d6f9693924fe716710c57a7787fe943f4",
95
97
  "@tscircuit/checks": "0.0.151",
96
98
  "@tscircuit/common": "0.0.56",
99
+ "@tscircuit/copper-pour-solver": "0.0.47",
97
100
  "@types/bun": "^1.3.14",
98
101
  "@types/react": "19.2.18",
99
- "@tscircuit/biscuit-board-autorouter": "github:tscircuit/biscuit-board-autorouter#a704ab5d6f9693924fe716710c57a7787fe943f4",
100
102
  "bun-match-svg": "0.0.15",
101
103
  "circuit-json": "0.0.464",
102
104
  "circuit-json-to-lbrn": "0.0.88",