v0.1.2: Add VERSION.txt with build-time injection

This commit is contained in:
lotherk
2026-03-27 14:50:20 +00:00
parent 4a870dd5e3
commit b42801b6c5
7 changed files with 44 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "deardiary-backend",
"version": "0.0.3",
"version": "{{VERSION}}",
"type": "module",
"scripts": {
"dev": "bun --watch src/index.ts",

View File

@@ -726,7 +726,7 @@ app.post('/api/v1/ai/test', async (c) => {
}
});
const DEARDIARY_VERSION = '0.1.0';
const DEARDIARY_VERSION = '{{VERSION}}';
const MIN_IMPORT_VERSION = '0.0.3';
interface ExportData {