@lcap/builder
Version:
lcap builder utils
22 lines (21 loc) • 776 B
TypeScript
export interface ProjectLibUIInfo {
platform: string;
type: 'pc' | 'h5';
version: string;
pkgName: string;
framework: string;
}
export interface ProjectMetaInfo {
framework: 'vue2' | 'react' | 'vue3' | 'taro';
name: string;
version: string;
title: string;
description: string;
libUIInfo: ProjectLibUIInfo | null;
}
export declare function getExtensionProjectMeta(rootPath: string): ProjectMetaInfo;
export declare function getComponentList(rootPath: string, pkgInfo?: any): any[];
export declare function getSourceSchema(rootPath: string): any;
export declare function getLcapConfig(): any;
export declare function updateLcapConfg(config: any): void;
export declare function updatePackageInfo(rootPath: string, pkgInfo: any): void;