Bump version to 0.3.0 and update what's new
This commit is contained in:
1 parent
497af40398
commit
c36c3b1c38
2 files changed
+13
-8
No files matched your search
@@ -1,6 +1,10 @@
|
||||
#!/usr/bin/env node
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
import { fileURLToPath } from 'url';
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = path.dirname(__filename);
|
||||
|
||||
const pkgPath = path.join(__dirname, '..', 'package.json');
|
||||
const versionPath = path.join(__dirname, '..', 'src', 'lib', 'version.ts');
|
||||
@@ -8,7 +12,8 @@ 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`;
|
||||
const content = `export const APP_VERSION = '${version}';\n\nexport const WHATS_NEW_BRIEF: string[] = [\n 'Firebase Migration: all data now syncs across devices',\n 'Calendar: persistent prayer tracking with multi-day support',\n 'Loading UX: smooth auth and data loading transitions',\n 'Offline Support: IndexedDB persistence for reliability'\n];\n`;
|
||||
|
||||
fs.writeFileSync(versionPath, content, 'utf8');
|
||||
console.log('Synced version to src/lib/version.ts:', version);
|
||||
|
||||
Reference in new issue
Block a user