From 1bbd6068c07c3ab91d95d5b2656283994d03a6c3 Mon Sep 17 00:00:00 2001 From: Antony Rizzitelli Date: Mon, 15 Jun 2026 23:52:07 +0200 Subject: [PATCH] chore(deps): interface deps as bounded peer + matching dev dependencies Interfaces are host-provided runtime singletons, so they move to peerDependencies. The range keeps the original lower bound (no forced upgrade) and is bounded to the current major (<1.0.0). devDependencies mirror the exact same range so local/CI builds exercise the full supported window, and the field is grouped with the other dependency sections. --- package.json | 5 ++++- pnpm-lock.yaml | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 5f57686..2ead9a3 100644 --- a/package.json +++ b/package.json @@ -39,10 +39,10 @@ "test": "pnpm run build && ajs module test ." }, "dependencies": { - "@antelopejs/interface-core": "^0.0.3", "ioredis": "^5.10.1" }, "devDependencies": { + "@antelopejs/interface-core": ">=0.0.3 <1.0.0", "@biomejs/biome": "2.3.2", "@types/chai": "^4.3.20", "@types/mocha": "^10.0.10", @@ -53,6 +53,9 @@ "rimraf": "^6.1.3", "typescript": "^5.9.3" }, + "peerDependencies": { + "@antelopejs/interface-core": ">=0.0.3 <1.0.0" + }, "publishConfig": { "access": "public" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6c2fb5a..247adb2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,13 +8,13 @@ importers: .: dependencies: - '@antelopejs/interface-core': - specifier: ^0.0.3 - version: 0.0.3 ioredis: specifier: ^5.10.1 version: 5.10.1 devDependencies: + '@antelopejs/interface-core': + specifier: '>=0.0.3 <1.0.0' + version: 0.0.3 '@biomejs/biome': specifier: 2.3.2 version: 2.3.2