fix: Dual package managers: both package-lock.json and yarn.lock tracked (#343)

Remove kraiken-lib/yarn.lock (npm is the sole package manager per CI and
build scripts), add packageManager field to kraiken-lib/package.json to
make the intent explicit, and add a single-package-manager CI step that
fails the build if yarn.lock reappears in kraiken-lib/.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
openhands 2026-02-28 10:51:59 +00:00
parent d9a38921b6
commit ab68e0cb68
3 changed files with 13 additions and 4594 deletions

View file

@ -2,6 +2,7 @@
"name": "kraiken-lib",
"version": "1.0.0",
"description": "helper functions and snatch selection",
"packageManager": "npm@11.6.1",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",