9 lines
447 B
TypeScript
9 lines
447 B
TypeScript
import packageJson from "../../package.json" with { type: "json" };
|
|
|
|
export const VERSION = packageJson.version;
|
|
export const getLastChangelogVersionPath = (): string => "";
|
|
export const getChangelogPath = (): string | undefined => undefined;
|
|
export const isEnoent = (error: unknown): boolean =>
|
|
typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT";
|
|
export const logger = { error: () => {}, warn: () => {} };
|