15 lines
461 B
TypeScript
15 lines
461 B
TypeScript
import type { Plugin } from 'vite';
|
|||
|
|
|
||
|
|
export interface AppVersionInfo {
|
||
|
|
app: string;
|
||
|
|
build: number;
|
||
|
|
version: string;
|
||
|
|
commit: string | null;
|
||
|
|
builtAt: string;
|
||
|
|
history: { build: number; date: string; notes: string[] }[];
|
||
|
|
}
|
||
|
|
|
||
|
|
export function notesFor(app: string, message: string): string[];
|
||
|
|
export function computeAppVersion(app: string, cwd?: string): AppVersionInfo;
|
||
|
|
export function appVersion(app: 'user-app' | 'user-app-v2' | 'admin-panel'): Plugin;
|