forked from Christopherdominic/soroban-ajo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathverify-structure.sh
More file actions
executable file
·44 lines (35 loc) · 1.1 KB
/
verify-structure.sh
File metadata and controls
executable file
·44 lines (35 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/bash
echo "🔍 Verifying Monorepo Structure"
echo "================================"
echo ""
# Check root structure
echo "✅ Root directory:"
ls -1 | grep -E "^(backend|frontend|contracts|docs|documentation|package.json|README.md|setup.sh)$" | wc -l
echo " Expected: 8 items"
echo ""
# Check frontend structure
echo "✅ Frontend structure:"
cd frontend
echo " Config files:"
ls -1 | grep -E "\.(js|json)$" | wc -l
echo " Expected: 5 (next.config.js, package.json, package-lock.json, postcss.config.js, tailwind.config.js, tsconfig.json)"
echo ""
echo " Source folders:"
cd src
ls -1 -d */ | wc -l
echo " Expected: 8 (app/, components/, hooks/, services/, styles/, tests/, types/, utils/)"
echo ""
cd ../..
# Check backend structure
echo "✅ Backend structure:"
cd backend/src
ls -1 -d */ | wc -l
echo " Expected: 6 (routes/, controllers/, services/, middleware/, types/, utils/)"
echo ""
cd ../..
# Check for old files
echo "❌ Checking for old Vite files:"
find . -name "vite.config.*" -o -name "vitest.*" 2>/dev/null | wc -l
echo " Expected: 0"
echo ""
echo "✨ Verification complete!"