From 7b271da2b837935ddc5f68171a17031fe51ff6e8 Mon Sep 17 00:00:00 2001 From: Michael Wolf Date: Sat, 7 Feb 2026 16:55:33 -0500 Subject: [PATCH] Fix some commands --- diachron/common.d/check-deps | 2 +- diachron/common.d/migrate | 2 +- diachron/develop.d/tsx | 5 +++++ diachron/mgmt.d/tsx | 5 +++++ 4 files changed, 12 insertions(+), 2 deletions(-) create mode 100755 diachron/develop.d/tsx create mode 100755 diachron/mgmt.d/tsx diff --git a/diachron/common.d/check-deps b/diachron/common.d/check-deps index e21c4c7..5f3d47f 100755 --- a/diachron/common.d/check-deps +++ b/diachron/common.d/check-deps @@ -6,6 +6,6 @@ DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" ROOT="$DIR/../.." -cd "$ROOT/backend" +cd "$ROOT/backend/diachron" "$ROOT/cmd" tsx check-deps.ts "$@" diff --git a/diachron/common.d/migrate b/diachron/common.d/migrate index 2d9be2c..7a2b02d 100755 --- a/diachron/common.d/migrate +++ b/diachron/common.d/migrate @@ -5,5 +5,5 @@ set -eu DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" ROOT="$DIR/../.." -cd "$ROOT/backend" +cd "$ROOT/backend/diachron" "$DIR"/tsx migrate.ts "$@" diff --git a/diachron/develop.d/tsx b/diachron/develop.d/tsx new file mode 100755 index 0000000..aad4af9 --- /dev/null +++ b/diachron/develop.d/tsx @@ -0,0 +1,5 @@ +#!/bin/bash + +DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" + +"$DIR"/../shims/pnpm tsx "$@" diff --git a/diachron/mgmt.d/tsx b/diachron/mgmt.d/tsx new file mode 100755 index 0000000..aad4af9 --- /dev/null +++ b/diachron/mgmt.d/tsx @@ -0,0 +1,5 @@ +#!/bin/bash + +DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" + +"$DIR"/../shims/pnpm tsx "$@"