feat: 添加应用版本管理功能;生成 version.json 文件并更新环境变量配置

This commit is contained in:
2025-12-30 19:18:24 +07:00
parent 5b1ebac9c4
commit b6132ea30d
12 changed files with 520 additions and 22 deletions

3
types/env.d.ts vendored
View File

@@ -12,9 +12,10 @@ interface ImportMetaEnv {
readonly VITE_API_URL: string;
readonly VITE_TRADINGVIEW_LIBRARY_URL: string;
readonly VITE_TRADINGVIEW_DATA_API_URL: string;
readonly VITE_APP_VERSION: string;
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}
declare const __APP_VERSION__: string;