From 393bdc95cb6ac45a69b06b76a16b671ffaff0faf Mon Sep 17 00:00:00 2001 From: YSingh Date: Wed, 1 Jul 2026 17:40:42 -0600 Subject: [PATCH] fix: declare transformation-matrix dependency; circuit-json-util as peer Build is tsup-node (no bundling). The shipped dist imports transformation-matrix (undeclared) and @tscircuit/circuit-json-util (devDependencies only), so a clean install + import throws "Cannot find module". Per the repo's dependency-check (internal_lib): transformation-matrix (external) -> dependencies; @tscircuit/circuit-json-util (internal) -> peerDependencies ("*"). `bunx @tscircuit/dependency-check` now passes. --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index 4a5fec8..ceff6e6 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,9 @@ "format:check": "biome format .", "format": "biome format . --write" }, + "dependencies": { + "transformation-matrix": "^3.1.0" + }, "devDependencies": { "@biomejs/biome": "^1.9.0", "@tscircuit/circuit-json-util": "^0.0.95", @@ -29,6 +32,7 @@ }, "peerDependencies": { "@flatten-js/core": "*", + "@tscircuit/circuit-json-util": "*", "@tscircuit/math-utils": "*", "circuit-json": "*", "circuit-json-to-connectivity-map": "*",