Add dependency duplication check between app and framework

Adds check-deps.ts which ensures backend/package.json doesn't duplicate
any dependencies already provided by backend/diachron/package.json.
Integrated into backend/check.sh.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-02 19:39:13 -05:00
parent eabec3816b
commit 341db4f821
6 changed files with 81 additions and 1 deletions

11
diachron/common.d/check-deps Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
set -eu
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
ROOT="$DIR/../.."
cd "$ROOT/backend"
"$ROOT/cmd" tsx check-deps.ts "$@"

View File

@@ -0,0 +1 @@
../common.d/check-deps

1
diachron/mgmt.d/check-deps Symbolic link
View File

@@ -0,0 +1 @@
../common.d/check-deps