aemfed
Version:
Upload front-end changes into AEM, refresh relevant resources in the page and get instant notifications from the error.log, all for easier and faster development.
33 lines (32 loc) • 835 B
TypeScript
import { JavascriptTrees } from "./javascript-trees";
export interface ILib {
name: string;
js?: string;
css?: string;
theme?: string;
categories: string[];
channels: string[];
dependencies: string[];
embedded: string[];
}
export interface IClientlibTreeConfig {
name: string;
server: string;
dumpLibsPath?: string;
}
export declare class ClientlibTree {
jsTrees: JavascriptTrees;
private name;
private server;
private dumpLibsPath;
private libs;
constructor(config?: IClientlibTreeConfig);
init(): Promise<void>;
findClientlibs(filePathRelative: string): ILib[];
findProxyTarget(jcrPath: string): string | undefined;
private processHtmlRegex;
private processRowRegex;
private getLinkList;
private getLinksRegex;
private getMatches;
}