mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-16 22:39:41 +02:00
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:
parent
0241f5554c
commit
d36b321d9d
3952 changed files with 661498 additions and 739751 deletions
|
|
@ -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)');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue