Rename framework/ to diachron/ and update all references

Update paths in .gitignore, cmd, develop, mgmt, sync.sh, check.sh,
fixup.sh, CLAUDE.md, docs/new-project.md, and backend/*.sh scripts.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-02 18:10:32 -05:00
parent db1f2151de
commit 02edf259f0
40 changed files with 37 additions and 37 deletions

20
sync.sh
View File

@@ -6,11 +6,11 @@ set -eu
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# shellcheck source=framework/versions
source "$DIR/framework/versions"
# shellcheck source=diachron/versions
source "$DIR/diachron/versions"
# shellcheck source=framework/platform
source "$DIR/framework/platform"
# shellcheck source=diachron/platform
source "$DIR/diachron/platform"
# Get platform-specific variables
nodejs_binary_var="nodejs_binary_${platform}"
@@ -26,11 +26,11 @@ pnpm_binary_url="${!pnpm_binary_var}"
pnpm_checksum="${!pnpm_checksum_var}"
# Set up paths for shims to use
nodejs_dist_dir="framework/binaries/$nodejs_dirname"
nodejs_dist_dir="diachron/binaries/$nodejs_dirname"
nodejs_bin_dir="$nodejs_dist_dir/bin"
# Ensure correct node version is installed
node_installed_checksum_file="$DIR/framework/binaries/.node.checksum"
node_installed_checksum_file="$DIR/diachron/binaries/.node.checksum"
node_installed_checksum=""
if [ -f "$node_installed_checksum_file" ]; then
node_installed_checksum=$(cat "$node_installed_checksum_file")
@@ -38,22 +38,22 @@ fi
if [ "$node_installed_checksum" != "$nodejs_checksum" ]; then
echo "Downloading Node.js for $platform..."
node_archive="$DIR/framework/downloads/node.tar.xz"
node_archive="$DIR/diachron/downloads/node.tar.xz"
curl -fsSL "$nodejs_binary" -o "$node_archive"
echo "Verifying checksum..."
echo "$nodejs_checksum $node_archive" | sha256_check
echo "Extracting Node.js..."
tar -xf "$node_archive" -C "$DIR/framework/binaries"
tar -xf "$node_archive" -C "$DIR/diachron/binaries"
rm "$node_archive"
echo "$nodejs_checksum" >"$node_installed_checksum_file"
fi
# Ensure correct pnpm version is installed
pnpm_binary="$DIR/framework/binaries/pnpm"
pnpm_installed_checksum_file="$DIR/framework/binaries/.pnpm.checksum"
pnpm_binary="$DIR/diachron/binaries/pnpm"
pnpm_installed_checksum_file="$DIR/diachron/binaries/.pnpm.checksum"
pnpm_installed_checksum=""
if [ -f "$pnpm_installed_checksum_file" ]; then
pnpm_installed_checksum=$(cat "$pnpm_installed_checksum_file")