@vendure/cli
Version:
A modern, headless ecommerce framework
14 lines (13 loc) • 586 B
TypeScript
import { ObjectLiteralExpression, Project, SourceFile } from 'ts-morph';
export declare class VendureConfigRef {
private project;
readonly sourceFile: SourceFile;
readonly configObject: ObjectLiteralExpression;
constructor(project: Project, configFilePath?: string);
getPathRelativeToProjectRoot(): string;
getConfigObjectVariableName(): string | undefined;
getPluginsArray(): import("ts-morph").ArrayLiteralExpression | undefined;
addToPluginsArray(text: string): void;
private isVendureConfigFile;
private isVendureConfigVariableDeclaration;
}