chore: Docs umstrukturiert, Client-Updates, Scripts nach scripts/

This commit is contained in:
2026-01-28 20:00:37 +01:00
parent 4b38da3b85
commit 5ba12cb738
70 changed files with 1240 additions and 284 deletions

31
scripts/deploy-build.js Normal file
View File

@@ -0,0 +1,31 @@
// Node.js Script zum Ausführen von Git-Befehlen
const { execSync } = require('child_process');
const fs = require('fs');
const path = require('path');
const projectRoot = __dirname;
try {
console.log('📦 Staging aller Änderungen...');
execSync('git add .', { cwd: projectRoot, stdio: 'inherit' });
console.log('💾 Erstelle Commit...');
const commitMessage = `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 durchgeführt`;
execSync(`git commit -m "${commitMessage.replace(/"/g, '\\"')}"`, { cwd: projectRoot, stdio: 'inherit' });
console.log('🚀 Pushe Änderungen...');
execSync('git push', { cwd: projectRoot, stdio: 'inherit' });
console.log('\n✅ Erfolgreich committed und gepusht!');
} catch (error) {
console.error('❌ Fehler:', error.message);
process.exit(1);
}