chore: include pre-built dist for github install
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
import type { VersionInfo } from "./types";
|
||||
export declare function formatVersionOutput(info: VersionInfo): string;
|
||||
export declare function formatJsonOutput(info: VersionInfo): string;
|
||||
@@ -0,0 +1,2 @@
|
||||
import type { GetLocalVersionOptions } from "./types";
|
||||
export declare function getLocalVersion(options?: GetLocalVersionOptions): Promise<number>;
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
export { getLocalVersion } from "./get-local-version";
|
||||
export * from "./types";
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
export interface VersionInfo {
|
||||
currentVersion: string | null;
|
||||
latestVersion: string | null;
|
||||
isUpToDate: boolean;
|
||||
isLocalDev: boolean;
|
||||
isPinned: boolean;
|
||||
pinnedVersion: string | null;
|
||||
status: "up-to-date" | "outdated" | "local-dev" | "pinned" | "error" | "unknown";
|
||||
}
|
||||
export interface GetLocalVersionOptions {
|
||||
directory?: string;
|
||||
json?: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user