Files
prayer-app/scripts/sync-version.js
T
nmemmert aa3a35bc4a feat: add app icon branding to all remaining page headers
- CalendarView header now displays icon
- ReflectionsList header now displays icon
- AnsweredPrayers header now displays icon
- ThingsToPrayFor header now displays icon

Completes visual identity unification across all main screens
2026-01-19 09:10:39 -05:00

15 lines
723 B
JavaScript

#!/usr/bin/env node
const fs = require('fs');
const path = require('path');
const pkgPath = path.join(__dirname, '..', 'package.json');
const versionPath = path.join(__dirname, '..', 'src', 'lib', 'version.ts');
const pkg = JSON.parse(fs.readFileSync(pkgPath, 'utf8'));
const version = pkg.version;
const content = `export const APP_VERSION = '${version}';\n\nexport const WHATS_NEW_BRIEF: string[] = [\n 'Redesign: unified dark theme and gradients',\n 'Icons: lucide-react across headings and nav',\n 'Cleanup: removed legacy email routes and pages',\n 'UX: Pray For suggestions in compose tab'\n];\n`;
fs.writeFileSync(versionPath, content, 'utf8');
console.log('Synced version to src/lib/version.ts:', version);