diff --git a/.githooks/pre-commit b/.githooks/pre-commit index 06e455db..3549963b 100755 --- a/.githooks/pre-commit +++ b/.githooks/pre-commit @@ -115,7 +115,7 @@ for f in $STAGED_FILES; do ;; *.py) echo "" - echo " Banned: Python file $f (use Julia/Rust/ReScript)" + echo " Banned: Python file $f (use Julia/Rust/AffineScript)" BANNED_FOUND=1 ;; esac diff --git a/.github/workflows/rsr-antipattern.yml b/.github/workflows/rsr-antipattern.yml index ff16d3a6..0141a5d3 100644 --- a/.github/workflows/rsr-antipattern.yml +++ b/.github/workflows/rsr-antipattern.yml @@ -168,7 +168,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/.github/workflows/ts-blocker.yml b/.github/workflows/ts-blocker.yml index 6a09ba26..45919fca 100644 --- a/.github/workflows/ts-blocker.yml +++ b/.github/workflows/ts-blocker.yml @@ -18,7 +18,7 @@ jobs: NEW_JS=$(git diff --name-only --diff-filter=A HEAD~1 2>/dev/null | grep -E '\.(js|jsx)$' | grep -v '\.res\.js$' | grep -v '\.gen\.' | grep -v 'node_modules' || true) if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then - echo "❌ New TS/JS files detected. Use ReScript instead." + echo "❌ New TS/JS files detected. Use AffineScript instead." [ -n "$NEW_TS" ] && echo "$NEW_TS" [ -n "$NEW_JS" ] && echo "$NEW_JS" exit 1 diff --git a/dlc/idaptik-dlc-reversible/.github/workflows/rsr-antipattern.yml b/dlc/idaptik-dlc-reversible/.github/workflows/rsr-antipattern.yml index 70a30a68..ba03dc5b 100644 --- a/dlc/idaptik-dlc-reversible/.github/workflows/rsr-antipattern.yml +++ b/dlc/idaptik-dlc-reversible/.github/workflows/rsr-antipattern.yml @@ -25,7 +25,7 @@ jobs: - name: Check for TypeScript run: | if find . -name "*.ts" -o -name "*.tsx" | grep -v node_modules | grep -q .; then - echo "❌ TypeScript files detected - use ReScript instead" + echo "❌ TypeScript files detected - use AffineScript instead" find . -name "*.ts" -o -name "*.tsx" | grep -v node_modules exit 1 fi @@ -81,7 +81,7 @@ jobs: - name: Check for tsconfig run: | if [ -f "tsconfig.json" ] || [ -f "tsconfig.*.json" ]; then - echo "❌ tsconfig.json detected - use ReScript instead" + echo "❌ tsconfig.json detected - use AffineScript instead" exit 1 fi echo "✅ No tsconfig.json" diff --git a/dlc/idaptik-dlc-reversible/.github/workflows/ts-blocker.yml b/dlc/idaptik-dlc-reversible/.github/workflows/ts-blocker.yml index 80f72edf..fa751f50 100644 --- a/dlc/idaptik-dlc-reversible/.github/workflows/ts-blocker.yml +++ b/dlc/idaptik-dlc-reversible/.github/workflows/ts-blocker.yml @@ -17,7 +17,7 @@ jobs: NEW_JS=$(git diff --name-only --diff-filter=A HEAD~1 2>/dev/null | grep -E '\.(js|jsx)$' | grep -v '\.res\.js$' | grep -v '\.gen\.' | grep -v 'node_modules' || true) if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then - echo "❌ New TS/JS files detected. Use ReScript instead." + echo "❌ New TS/JS files detected. Use AffineScript instead." [ -n "$NEW_TS" ] && echo "$NEW_TS" [ -n "$NEW_JS" ] && echo "$NEW_JS" exit 1 diff --git a/dlc/idaptik-dlc-reversible/.hooks/pre-commit b/dlc/idaptik-dlc-reversible/.hooks/pre-commit index a42b3839..0bc1037e 100755 --- a/dlc/idaptik-dlc-reversible/.hooks/pre-commit +++ b/dlc/idaptik-dlc-reversible/.hooks/pre-commit @@ -16,7 +16,7 @@ STAGED=$(git diff --cached --name-only --diff-filter=ACM) TS_FILES=$(echo "$STAGED" | grep -E '\.(ts|tsx)$' || true) if [ -n "$TS_FILES" ]; then echo "❌ BLOCKED: TypeScript files are not allowed" - echo "Use ReScript instead. Files:" + echo "Use AffineScript instead. Files:" echo "$TS_FILES" exit 1 fi