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:
11
diachron/common.d/check-deps
Executable file
11
diachron/common.d/check-deps
Executable 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 "$@"
|
||||
1
diachron/develop.d/check-deps
Symbolic link
1
diachron/develop.d/check-deps
Symbolic link
@@ -0,0 +1 @@
|
||||
../common.d/check-deps
|
||||
1
diachron/mgmt.d/check-deps
Symbolic link
1
diachron/mgmt.d/check-deps
Symbolic link
@@ -0,0 +1 @@
|
||||
../common.d/check-deps
|
||||
Reference in New Issue
Block a user