fix: exclude web/static/ from JS/CSS checks (compiled output)
Exclude web/static/ from verification checks: - These are TypeScript compiled output files - Already in .gitignore (web/static/*.js) - Similar to node_modules/ - build artifacts, not source Updated verify-quick.sh to exclude: - web/static/*.js (TypeScript → JS compilation) - web/static/*.css (TailwindCSS → CSS compilation) Also removed ./bookhoard binary from repository. Verification now shows only 1 error: 12 legacy templates with custom CSS. Docs templates already comply (converted in Phase 4).
This commit is contained in:
@@ -29,12 +29,12 @@ else
|
||||
fi
|
||||
|
||||
section "2. JavaScript Files Check"
|
||||
JS_COUNT=$(find . -name "*.js" -not -path "./node_modules/*" -not -path "./docs/*" -not -path "./.git/*" 2>/dev/null | wc -l)
|
||||
JS_COUNT=$(find . -name "*.js" -not -path "./node_modules/*" -not -path "./docs/*" -not -path "./.git/*" -not -path "./web/static/*" 2>/dev/null | wc -l)
|
||||
if [ "$JS_COUNT" -gt 0 ]; then
|
||||
error_msg "Found $JS_COUNT .js files"
|
||||
find . -name "*.js" -not -path "./node_modules/*" -not -path "./docs/*" -not -path "./.git/*" 2>/dev/null | head -5
|
||||
find . -name "*.js" -not -path "./node_modules/*" -not -path "./docs/*" -not -path "./.git/*" -not -path "./web/static/*" 2>/dev/null | head -5
|
||||
else
|
||||
success_msg "No .js files"
|
||||
success_msg "No .js files (TypeScript compiled to web/static/)"
|
||||
fi
|
||||
|
||||
section "3. Secrets Check"
|
||||
|
||||
Reference in New Issue
Block a user