From b7f0a9f90a0fa53d9c22d7bcb5da4c834cc3696a Mon Sep 17 00:00:00 2001 From: Ken Riley Date: Thu, 30 Jul 2026 16:20:42 -0600 Subject: [PATCH] Require backgammon-types ^1.0.5, which is what the code already needs The resignation-offer merge (50793d1) started using BackgammonResignationOffer but left the dependency range at ^1.0.5's predecessor. ^1.0.3 is satisfied by 1.0.3, so npm had no reason to move, and the committed lock stayed on a types version that does not export the member. The result is a build that only works where node_modules happens to have been refreshed by hand. CI runs npm ci, obeys the lock, installs 1.0.3, and fails to compile src/Game/cube.ts -- development has been red since 2026-07-27. The lock's core self-version also catches up 1.0.2 -> 1.0.3 to match package.json, a stale sync left by the 1.0.3 release commit. --- package-lock.json | 12 ++++++------ package.json | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2fd7915..97eb698 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "@nodots/backgammon-core", - "version": "1.0.2", + "version": "1.0.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@nodots/backgammon-core", - "version": "1.0.2", + "version": "1.0.3", "license": "GPL-3.0", "dependencies": { - "@nodots/backgammon-types": "^1.0.3", + "@nodots/backgammon-types": "^1.0.5", "@nodots/gnubg-hints": "^1.0.0", "uuid": "^11.1.0" }, @@ -1330,9 +1330,9 @@ } }, "node_modules/@nodots/backgammon-types": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@nodots/backgammon-types/-/backgammon-types-1.0.3.tgz", - "integrity": "sha512-2o3jTgG2pioUTKUZshE9lDnwl/D4u5y+nA+Y7fBJsR6pzgF8O+BLDfIZigTsa91zodU6uIOLnpUoq+XaSyrw9A==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@nodots/backgammon-types/-/backgammon-types-1.0.5.tgz", + "integrity": "sha512-IHI/t+Jf7yXvy36afla7q3tl+qEpKy2gY6OGRNSNpLh7nllDrAVp5T79e3QfEkSKELH/QbeFXCmnJkE+18cI+A==", "license": "GPL-3.0", "engines": { "node": ">=20" diff --git a/package.json b/package.json index f4487c9..1122c5e 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "prepublishOnly": "npm run build" }, "dependencies": { - "@nodots/backgammon-types": "^1.0.3", + "@nodots/backgammon-types": "^1.0.5", "@nodots/gnubg-hints": "^1.0.0", "uuid": "^11.1.0" },