chore: include pre-built dist for github install
This commit is contained in:
@@ -0,0 +1 @@
|
||||
export declare function getCachedVersion(): string | null;
|
||||
@@ -0,0 +1,2 @@
|
||||
import type { UpdateCheckResult } from "../types";
|
||||
export declare function checkForUpdate(directory: string): Promise<UpdateCheckResult>;
|
||||
@@ -0,0 +1 @@
|
||||
export declare function getConfigPaths(directory: string): string[];
|
||||
@@ -0,0 +1 @@
|
||||
export declare function stripJsonComments(json: string): string;
|
||||
@@ -0,0 +1 @@
|
||||
export declare function getLatestVersion(channel?: string): Promise<string | null>;
|
||||
@@ -0,0 +1,2 @@
|
||||
export declare function isLocalDevMode(directory: string): boolean;
|
||||
export declare function getLocalDevPath(directory: string): string | null;
|
||||
@@ -0,0 +1 @@
|
||||
export declare function getLocalDevVersion(directory: string): string | null;
|
||||
@@ -0,0 +1 @@
|
||||
export declare function findPackageJsonUp(startPath: string): string | null;
|
||||
@@ -0,0 +1,2 @@
|
||||
export declare function updatePinnedVersion(configPath: string, oldEntry: string, newVersion: string): boolean;
|
||||
export declare function revertPinnedVersion(configPath: string, failedVersion: string, originalEntry: string): boolean;
|
||||
@@ -0,0 +1,7 @@
|
||||
export interface PluginEntryInfo {
|
||||
entry: string;
|
||||
isPinned: boolean;
|
||||
pinnedVersion: string | null;
|
||||
configPath: string;
|
||||
}
|
||||
export declare function findPluginEntry(directory: string): PluginEntryInfo | null;
|
||||
@@ -0,0 +1,7 @@
|
||||
import type { PluginEntryInfo } from "./plugin-entry";
|
||||
export interface SyncResult {
|
||||
synced: boolean;
|
||||
error: "file_not_found" | "plugin_not_in_deps" | "parse_error" | "write_error" | null;
|
||||
message?: string;
|
||||
}
|
||||
export declare function syncCachePackageJsonToIntent(pluginInfo: PluginEntryInfo): SyncResult;
|
||||
Reference in New Issue
Block a user