fix: TypeScript errors & build fixes for Control Panel Redesign
- Fix unused imports (Trash, Filter, Bell, CategoryAdvanced) - Fix undefined checks for cleanup settings - Fix cleanupPreview undefined checks - Fix useTheme unused parameter - Fix companyLabels type safety - Build erfolgreich durchgefuehrt
This commit is contained in:
62
FINAL_COMMIT.bat
Normal file
62
FINAL_COMMIT.bat
Normal file
@@ -0,0 +1,62 @@
|
||||
@echo off
|
||||
REM Finaler Commit und Push - Führe dieses Skript als Administrator aus
|
||||
|
||||
cd /d "%~dp0"
|
||||
|
||||
echo ========================================
|
||||
echo Git Commit und Push
|
||||
echo ========================================
|
||||
echo.
|
||||
|
||||
REM Versuche Git zu finden
|
||||
set GIT_PATH=
|
||||
if exist "C:\Program Files\Git\cmd\git.exe" set GIT_PATH=C:\Program Files\Git\cmd\git.exe
|
||||
if exist "C:\Program Files (x86)\Git\cmd\git.exe" set GIT_PATH=C:\Program Files (x86)\Git\cmd\git.exe
|
||||
if exist "%LOCALAPPDATA%\Programs\Git\cmd\git.exe" set GIT_PATH=%LOCALAPPDATA%\Programs\Git\cmd\git.exe
|
||||
|
||||
if "%GIT_PATH%"=="" (
|
||||
echo Git wurde nicht gefunden!
|
||||
echo.
|
||||
echo Bitte führe diese Befehle manuell in Git Bash aus:
|
||||
echo cd c:\Users\User\Documents\GitHub\ANDJJJJJJ
|
||||
echo git add .
|
||||
echo git commit -m "fix: TypeScript errors & build fixes for Control Panel Redesign"
|
||||
echo git push
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo Git gefunden: %GIT_PATH%
|
||||
echo.
|
||||
|
||||
echo [1/3] Staging aller Aenderungen...
|
||||
"%GIT_PATH%" add .
|
||||
if errorlevel 1 (
|
||||
echo Fehler beim Staging!
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo [2/3] Erstelle Commit...
|
||||
"%GIT_PATH%" commit -m "fix: TypeScript errors & build fixes for Control Panel Redesign" -m "- Fix unused imports (Trash, Filter, Bell, CategoryAdvanced)" -m "- Fix undefined checks for cleanup settings" -m "- Fix cleanupPreview undefined checks" -m "- Fix useTheme unused parameter" -m "- Fix companyLabels type safety" -m "- Build erfolgreich durchgefuehrt"
|
||||
if errorlevel 1 (
|
||||
echo Fehler beim Commit!
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo [3/3] Pushe Aenderungen...
|
||||
"%GIT_PATH%" push
|
||||
if errorlevel 1 (
|
||||
echo Fehler beim Push!
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo.
|
||||
echo ========================================
|
||||
echo Erfolgreich committed und gepusht!
|
||||
echo ========================================
|
||||
echo.
|
||||
echo Naechster Schritt: Deploye client/dist auf den Server
|
||||
pause
|
||||
Reference in New Issue
Block a user