style: auto-format codebase with Prettier

Applied formatting to 1487+ files using pnpm format:write
  - TypeScript/JavaScript files
  - Svelte components
  - Astro pages
  - JSON configs
  - Markdown docs

  13 files still need manual review (Astro JSX comments)
This commit is contained in:
Wuesteon 2025-11-27 18:33:16 +01:00
parent 0241f5554c
commit d36b321d9d
3952 changed files with 661498 additions and 739751 deletions

View file

@ -10,21 +10,21 @@ const path = require('path');
const envFiles = ['.env', '.env.development', '.env.production'];
envFiles.forEach(file => {
const filePath = path.join(__dirname, file);
if (fs.existsSync(filePath)) {
console.log(`\n${file} exists`);
const content = fs.readFileSync(filePath, 'utf8');
const lines = content.split('\n');
lines.forEach(line => {
if (line.includes('POCKETBASE_URL')) {
console.log(` -> ${line}`);
}
});
}
envFiles.forEach((file) => {
const filePath = path.join(__dirname, file);
if (fs.existsSync(filePath)) {
console.log(`\n${file} exists`);
const content = fs.readFileSync(filePath, 'utf8');
const lines = content.split('\n');
lines.forEach((line) => {
if (line.includes('POCKETBASE_URL')) {
console.log(` -> ${line}`);
}
});
}
});
console.log('\nNOTE: SvelteKit/Vite loads environment variables differently.');
console.log('The app should use:');
console.log('- Development: http://localhost:8090 (from .env or fallback)');
console.log('- Production: https://pb.ulo.ad (from .env.production)');
console.log('- Production: https://pb.ulo.ad (from .env.production)');