Drop the forked pre-push typecheck hook. House hooks come later.
Neuron Soul CI / build (push) Failing after 10m33s
Neuron Soul CI / deploy (push) Failing after 14m39s

This commit is contained in:
2026-08-30 21:40:25 -05:00
parent 81f3c187a8
commit a0f9c014de
-15
View File
@@ -1,15 +0,0 @@
#!/bin/sh
# Neuron Technologies pre-push guard.
# Warns on bun version drift and blocks pushes that break the build.
set -e
BUN_EXPECTED=$(bun -e 'const pkg = await Bun.file("package.json").json(); console.log(pkg.packageManager?.split("@")[1] ?? "")')
if [ -n "$BUN_EXPECTED" ]; then
if ! bun -e "import { semver } from 'bun'; if (!semver.satisfies(process.versions.bun, '^$BUN_EXPECTED')) process.exit(1)" 2>/dev/null; then
echo "WARNING: bun $(bun --version) does not satisfy ^$BUN_EXPECTED — continuing, but consider aligning your toolchain."
fi
fi
echo "Running typecheck before push..."
bun typecheck