From 67a560b5df22e005b9dfc67bcd14256872b7f522 Mon Sep 17 00:00:00 2001 From: Antony Rizzitelli Date: Mon, 15 Jun 2026 23:51:34 +0200 Subject: [PATCH 1/2] 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 | 10 ++++++---- pnpm-lock.yaml | 7 +++---- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index f28103a..c2e468c 100644 --- a/package.json +++ b/package.json @@ -35,11 +35,9 @@ "release": "pnpm run lint && pnpm run prepack && release-it", "test": "pnpm run build && ajs module test ." }, - "dependencies": { - "@antelopejs/interface-api": "^0.0.3", - "@antelopejs/interface-core": "^0.0.3" - }, "devDependencies": { + "@antelopejs/interface-api": ">=0.0.3 <1.0.0", + "@antelopejs/interface-core": ">=0.0.3 <1.0.0", "@biomejs/biome": "2.3.2", "@types/chai": "^4.3.20", "@types/mocha": "^10.0.10", @@ -52,6 +50,10 @@ "rimraf": "^6.1.3", "typescript": "^5.9.3" }, + "peerDependencies": { + "@antelopejs/interface-api": ">=0.0.3 <1.0.0", + "@antelopejs/interface-core": ">=0.0.3 <1.0.0" + }, "publishConfig": { "access": "public" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 58c42bb..474bb6b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -7,14 +7,13 @@ settings: importers: .: - dependencies: + devDependencies: '@antelopejs/interface-api': - specifier: ^0.0.3 + specifier: '>=0.0.3 <1.0.0' version: 0.0.3 '@antelopejs/interface-core': - specifier: ^0.0.3 + specifier: '>=0.0.3 <1.0.0' version: 0.0.3 - devDependencies: '@biomejs/biome': specifier: 2.3.2 version: 2.3.2 From 7b5e72c656cfd47841ef26335023fc4bb13a7f97 Mon Sep 17 00:00:00 2001 From: Antony Rizzitelli Date: Tue, 16 Jun 2026 13:52:42 +0200 Subject: [PATCH 2/2] chore(deps): pin dev interface versions to latest pnpm resolves direct dependency ranges to their lowest satisfying version (lowest-direct), so a range devDependency would build against the floor (oldest) interface. Pin devDependencies to the current published versions so local/CI builds exercise the latest, while peerDependencies keep the wide compatibility range for consumers. --- package.json | 4 ++-- pnpm-lock.yaml | 24 +++++++++++++----------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index c2e468c..8c58e1b 100644 --- a/package.json +++ b/package.json @@ -36,8 +36,8 @@ "test": "pnpm run build && ajs module test ." }, "devDependencies": { - "@antelopejs/interface-api": ">=0.0.3 <1.0.0", - "@antelopejs/interface-core": ">=0.0.3 <1.0.0", + "@antelopejs/interface-api": "^0.0.5", + "@antelopejs/interface-core": "^0.0.5", "@biomejs/biome": "2.3.2", "@types/chai": "^4.3.20", "@types/mocha": "^10.0.10", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 474bb6b..d893660 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,11 +9,11 @@ importers: .: devDependencies: '@antelopejs/interface-api': - specifier: '>=0.0.3 <1.0.0' - version: 0.0.3 + specifier: ^0.0.5 + version: 0.0.5(@antelopejs/interface-core@0.0.5) '@antelopejs/interface-core': - specifier: '>=0.0.3 <1.0.0' - version: 0.0.3 + specifier: ^0.0.5 + version: 0.0.5 '@biomejs/biome': specifier: 2.3.2 version: 2.3.2 @@ -50,11 +50,13 @@ importers: packages: - '@antelopejs/interface-api@0.0.3': - resolution: {integrity: sha512-64UrrttRAjA1LsXwDskh/UVcXDFpH2+gxJHCT+F8YGLPDJE1XzVUW6/YeG441J+zsFJTnaU6Vlt90TwWumcpCA==} + '@antelopejs/interface-api@0.0.5': + resolution: {integrity: sha512-BApviHE1vVkORDWtC8x8N2xCxBdFZZnhgMlxDuUmlXz2fGlYqBX1inIQQrEyOY31Zc/WN7nJpcA0zjjwk7Sp9A==} + peerDependencies: + '@antelopejs/interface-core': '>=0.0.3 <1.0.0' - '@antelopejs/interface-core@0.0.3': - resolution: {integrity: sha512-Kw3ffGiQHKJ88AqdFfPuwzl+v0w6QqzqiqnLY7M0MYYw+YwdRNXh5WAJkep0ePudR9leLGXPU//FYizNaDG6yw==} + '@antelopejs/interface-core@0.0.5': + resolution: {integrity: sha512-4H6hpFfiK2+DE8vL2mEtPbq1WNch9lt40QNr9KjBrOAtnuq/zMfIlzhbEsda39m+FVkMWXfUYoVolRogVKCLIQ==} '@biomejs/biome@2.3.2': resolution: {integrity: sha512-8e9tzamuDycx7fdrcJ/F/GDZ8SYukc5ud6tDicjjFqURKYFSWMl0H0iXNXZEGmcmNUmABgGuHThPykcM41INgg==} @@ -1369,11 +1371,11 @@ packages: snapshots: - '@antelopejs/interface-api@0.0.3': + '@antelopejs/interface-api@0.0.5(@antelopejs/interface-core@0.0.5)': dependencies: - '@antelopejs/interface-core': 0.0.3 + '@antelopejs/interface-core': 0.0.5 - '@antelopejs/interface-core@0.0.3': + '@antelopejs/interface-core@0.0.5': dependencies: reflect-metadata: 0.2.2