cloud-drive-renamer/src/shared/version.ts
Zain 4b224761b6 refactor(ci): 优化 CI 流程并精简 npm scripts
docs: 添加 SCRIPTS.md 文档说明新命令集
style: 添加代码注释说明性能指标和 polyfill 状态
ci: 合并测试步骤为单一命令并优化构建验证
2025-12-16 17:58:20 +08:00

35 行
774 B
TypeScript

/**
* Application Version Constants
*
* ⚠️ AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
*
* This file is automatically generated by scripts/sync-version.js
* Source of truth: package.json "version" field
*
* To update version:
* 1. Edit version in package.json
* 2. Run: npm run sync:version (or automatically via prebuild/predev)
*
* Generated at: 2025-12-16T09:49:08.955Z
*/
/**
* Application version number (e.g., "0.1.0")
*/
export const APP_VERSION = '0.1.0' as const;
/**
* Application version with 'v' prefix (e.g., "v0.1.0")
* Commonly used for display purposes
*/
export const APP_VERSION_WITH_PREFIX = 'v0.1.0' as const;
/**
* Parse version into components
*/
export const VERSION_PARTS = {
major: 0,
minor: 1,
patch: 0,
} as const;