biscuitboard 1.0.8 → 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 +12 -1
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -26,7 +26,18 @@ bun run export:gerbers examples/breadboard-clad.tsx
26
26
  The archive defaults to `dist/gerbers/<board-name>.zip`. Pass a second argument
27
27
  to choose another ZIP path. As a fabrication postprocessing step, every board
28
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.
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`.
30
41
 
31
42
  `BiscuitBoard` owns the fixed 75 mm x 55 mm outline, mounting holes, and
32
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.8",
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",