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
|
#!/usr/bin/env node
|
||||||
const fs = require('fs');
|
import fs from 'fs';
|
||||||
const path = require('path');
|
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 pkgPath = path.join(__dirname, '..', 'package.json');
|
||||||
const versionPath = path.join(__dirname, '..', 'src', 'lib', 'version.ts');
|
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 pkg = JSON.parse(fs.readFileSync(pkgPath, 'utf8'));
|
||||||
const version = pkg.version;
|
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');
|
fs.writeFileSync(versionPath, content, 'utf8');
|
||||||
console.log('Synced version to src/lib/version.ts:', version);
|
console.log('Synced version to src/lib/version.ts:', version);
|
||||||
|
|
||||||
+5
-5
@@ -1,8 +1,8 @@
|
|||||||
export const APP_VERSION = '0.2.0';
|
export const APP_VERSION = '0.3.0';
|
||||||
|
|
||||||
export const WHATS_NEW_BRIEF: string[] = [
|
export const WHATS_NEW_BRIEF: string[] = [
|
||||||
'Redesign: unified dark theme and gradients',
|
'Firebase Migration: all data now syncs across devices',
|
||||||
'Icons: lucide-react across headings and nav',
|
'Calendar: persistent prayer tracking with multi-day support',
|
||||||
'Cleanup: removed legacy email routes and pages',
|
'Loading UX: smooth auth and data loading transitions',
|
||||||
'UX: Pray For suggestions in compose tab'
|
'Offline Support: IndexedDB persistence for reliability'
|
||||||
];
|
];
|
||||||
Reference in new issue
Block a user