18 lines
531 B
TypeScript
18 lines
531 B
TypeScript
type DepGraph = {
|
|
nodes: Record<string, 1>;
|
|
dependencies: Record<string, Record<string, 1>>;
|
|
ascOrder: string[];
|
|
};
|
|
/**
|
|
* 构建项目依赖关系图
|
|
* @param cwd
|
|
* @returns
|
|
*/
|
|
export declare function analyzeDepedency(cwd: string): DepGraph;
|
|
/**
|
|
* 本函数用于构建src/initialize.dev, src/initialize.prod, src/initializeFeatures, src/context/FrontendContext, src/contextBackendContext
|
|
* 这些和dependency相关的项目文件
|
|
*/
|
|
export default function buildDependency(rebuild?: boolean): void;
|
|
export {};
|