ksawl_obsidian-alchemist/version-bump.mjs
Serhii Karavashkin f8530066df feat(release): version 1.0.1 - restore link symmetry and enhance audio converter
- fix(textbundle): restore link symmetry (assets folder) and fix redundant aliases
- fix(textbundle): improve Cyrillic handling in links and assets
- feat(audio): add video-to-audio extraction (mp4, mov, mkv, avi)
- feat(audio): add recursive folder conversion and multiple selection support
- feat(audio): implement smart metadata mapping (H1 heading and creation_date)
- chore(version): add version-bump.mjs automation and sync configs
- docs: update README and add CHANGELOG.md
2026-04-21 15:59:11 +03:00

16 lines
623 B
JavaScript

import { readFileSync, writeFileSync } from 'fs';
const manifest = JSON.parse(readFileSync('manifest.json', 'utf8'));
const { version, minAppVersion } = manifest;
// 1. Update package.json
const pkg = JSON.parse(readFileSync('package.json', 'utf8'));
pkg.version = version;
writeFileSync('package.json', JSON.stringify(pkg, null, 2) + '\n');
// 2. Update versions.json
const versions = JSON.parse(readFileSync('versions.json', 'utf8'));
versions[version] = minAppVersion;
writeFileSync('versions.json', JSON.stringify(versions, null, 2) + '\n');
console.log(`Version bumped to ${version} in all configuration files.`);