-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathverify-fixes.bat
More file actions
executable file
·55 lines (46 loc) · 1.41 KB
/
verify-fixes.bat
File metadata and controls
executable file
·55 lines (46 loc) · 1.41 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
45
46
47
48
49
50
51
52
53
54
55
@echo off
echo Running TypeScript compilation test for all fixed modules...
echo Checking basic-tests.test.ts...
npx tsc test/basic-tests.test.ts --noEmit
if %errorlevel% neq 0 (
echo [ERROR] basic-tests.test.ts still has issues!
exit /b 1
)
echo Checking overlap-algorithms.test.ts...
npx tsc test/overlap-algorithms.test.ts --noEmit
if %errorlevel% neq 0 (
echo [ERROR] overlap-algorithms.test.ts still has issues!
exit /b 1
)
echo Checking path-security.test.ts...
npx tsc test/path-security.test.ts --noEmit
if %errorlevel% neq 0 (
echo [ERROR] path-security.test.ts still has issues!
exit /b 1
)
echo Checking server-handlers.test.ts...
npx tsc test/server-handlers.test.ts --noEmit
if %errorlevel% neq 0 (
echo [ERROR] server-handlers.test.ts still has issues!
exit /b 1
)
echo Checking smart-append.test.ts...
npx tsc test/smart-append.test.ts --noEmit
if %errorlevel% neq 0 (
echo [ERROR] smart-append.test.ts still has issues!
exit /b 1
)
echo Checking typing-check.ts...
npx tsc test/typing-check.ts --noEmit
if %errorlevel% neq 0 (
echo [ERROR] typing-check.ts still has issues!
exit /b 1
)
echo All individual modules compile successfully!
echo Running full project build...
npm run build
if %errorlevel% equ 0 (
echo [SUCCESS] All fixes are working! The project builds without TypeScript errors.
) else (
echo [ERROR] There are still issues with the project build.
)