@eljs/create-template
Version:
Create a new project powered by @eljs/create.
40 lines • 649 B
TypeScript
/**
* 远程模版
*/
export interface RemoteTemplate {
/**
* 模版类型
*/
type: 'npm' | 'git';
/**
* 模版值
*/
value: string;
/**
* 模板描述
*/
description: string;
/**
* 仓库地址
*/
registry?: string;
}
/**
* 模版配置项
*/
export interface TemplateConfig {
/**
* 应用场景
*/
scenes: {
[key: string]: string;
};
/**
* 模版集合
*/
templates: {
[scene: string]: Record<string, RemoteTemplate>;
};
}
export declare const defaultConfig: TemplateConfig;
//# sourceMappingURL=config.d.ts.map