@tscircuit/capacity-autorouter 0.0.124 → 0.0.126

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 +2 -2
  2. package/package.json +4 -3
package/README.md CHANGED
@@ -9,8 +9,8 @@ Want to understand how the autorouter works? Check out a stage-by-stage breakdow
9
9
  ## How to file a bug report
10
10
 
11
11
  1. You should have [created a bug report via the tscircuit errors tab](https://docs.tscircuit.com/contributing/report-autorouter-bugs)
12
- 2. Run `bun run bug-report <bug-report-url>`
13
- 3. This will download the bug report and create a debugging fixture file in the `examples/bug-reports` directory, you can then find the bug report in the server (via `bun run start`)
12
+ 2. Run `bun run bug-report <bug-report-url>` to download the report and create a debugging fixture file in the `examples/bug-reports` directory, you can then find the bug report in the server (via `bun run start`)
13
+ 3. Or run `bun run bug-report-with-test <bug-report-url>` to download the report, create the fixture, and scaffold a matching snapshot test under `tests/bugs`
14
14
 
15
15
  ## Installation
16
16
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/capacity-autorouter",
3
3
  "main": "./dist/index.js",
4
- "version": "0.0.124",
4
+ "version": "0.0.126",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
@@ -14,7 +14,8 @@
14
14
  "format:check": "biome format .",
15
15
  "vercel-build": "cosmos-export",
16
16
  "repomix:lib": "repomix --ignore 'testing/**,**/TwoRouteHighDensitySolver/**,**/RouteStitchingSolver/**,solvers/CapacitySegmentPointOptimizer/CapacitySegmentPointOptimizer.ts' lib",
17
- "bug-report": "bun run scripts/download-bug-report.ts"
17
+ "bug-report": "bun run scripts/download-bug-report.ts",
18
+ "bug-report-with-test": "bun run scripts/create-bug-report-test.ts"
18
19
  },
19
20
  "devDependencies": {
20
21
  "@biomejs/biome": "^1.9.4",
@@ -35,7 +36,7 @@
35
36
  "@vitejs/plugin-react": "^4.3.4",
36
37
  "bun-match-svg": "^0.0.9",
37
38
  "circuit-json-to-connectivity-map": "^0.0.19",
38
- "circuit-to-svg": "^0.0.110",
39
+ "circuit-to-svg": "^0.0.220",
39
40
  "clsx": "^2.1.1",
40
41
  "flatbush": "^4.4.0",
41
42
  "graphics-debug": "^0.0.44",