mirror of
https://github.com/bije0327/obsidian-stacktube.git
synced 2026-07-22 07:32:14 +00:00
- Pull-based sync client for StackTube /api/v1/notes (Bearer API key) - Settings tab (key, baseUrl, folder, interval, test connection) - Manual + interval sync, video_id dedup, YAML frontmatter, watermark resume - E2E harness (mock server + fake vault), 15/15 scenarios pass
9 lines
500 B
JavaScript
9 lines
500 B
JavaScript
import { readFileSync, writeFileSync } from "fs";
|
|
const targetVersion = process.env.npm_package_version;
|
|
const manifest = JSON.parse(readFileSync("manifest.json", "utf8"));
|
|
const { minAppVersion } = manifest;
|
|
manifest.version = targetVersion;
|
|
writeFileSync("manifest.json", JSON.stringify(manifest, null, 2) + "\n");
|
|
const versions = JSON.parse(readFileSync("versions.json", "utf8"));
|
|
versions[targetVersion] = minAppVersion;
|
|
writeFileSync("versions.json", JSON.stringify(versions, null, 2) + "\n");
|