chore(release): single-source app version + add pnpm bump
- WebUI sidebar/login display and OneBot get_version_info now read the root package.json version via Vite `define`, removing hardcoded literals in webui/src/types.ts and core/onebot/actions/info.ts. - tools/bump-version.mjs (exposed as `pnpm bump <ver>`) syncs the version field across the root and all five workspace packages. - Bump everything to 1.7.8.
This commit is contained in:
13 files changed
+79
-10
No files matched your search
Vendored
+1
@@ -0,0 +1 @@
|
||||
declare const __APP_VERSION__: string;
|
||||
@@ -1,5 +1,6 @@
|
||||
export const APP_NAME = 'SnowLuma';
|
||||
export const APP_VERSION = '0.1.0';
|
||||
// Injected at build time by Vite from the monorepo root package.json.
|
||||
export const APP_VERSION = __APP_VERSION__;
|
||||
|
||||
export interface QQInfo {
|
||||
uin: string;
|
||||
|
||||
Reference in new issue
Block a user