From c9f1740bf0b55acecfdb50bdf73ca80f84f75da0 Mon Sep 17 00:00:00 2001 From: Sawyer Cutler Date: Thu, 24 Sep 2026 22:53:09 -0700 Subject: [PATCH] build(deps): move @intx/* to peers and require arktype ^2.2.3 @intx/inference and @intx/types become peers (^0.4.0) with 0.4.0 dev pins, so hosts share one Interchange install. The unused @intx/log is dropped. arktype is a caret range so a host keeps a single copy and TraversalError instanceof holds. --- bun.lock | 11 +++++++---- package.json | 9 ++++++--- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/bun.lock b/bun.lock index 454f220..dc3117b 100644 --- a/bun.lock +++ b/bun.lock @@ -5,17 +5,20 @@ "": { "name": "@corbits/reranking", "dependencies": { - "@intx/inference": "^0.4.0", - "@intx/log": "^0.4.0", - "@intx/types": "^0.4.0", - "arktype": "^2.1.29", + "arktype": "^2.2.3", }, "devDependencies": { + "@intx/inference": "0.4.0", "@intx/inference-testing": "0.4.0", + "@intx/types": "0.4.0", "@types/bun": "1.3.9", "prettier": "3.6.2", "typescript": "5.9.3", }, + "peerDependencies": { + "@intx/inference": "^0.4.0", + "@intx/types": "^0.4.0", + }, }, }, "packages": { diff --git a/package.json b/package.json index e00d129..218ba4c 100644 --- a/package.json +++ b/package.json @@ -22,13 +22,16 @@ "format": "prettier -w ." }, "dependencies": { + "arktype": "^2.2.3" + }, + "peerDependencies": { "@intx/inference": "^0.4.0", - "@intx/log": "^0.4.0", - "@intx/types": "^0.4.0", - "arktype": "^2.1.29" + "@intx/types": "^0.4.0" }, "devDependencies": { + "@intx/inference": "0.4.0", "@intx/inference-testing": "0.4.0", + "@intx/types": "0.4.0", "@types/bun": "1.3.9", "prettier": "3.6.2", "typescript": "5.9.3"