UNPKG

@opentiny/tiny-toolkit-pro

Version:

TinyPro Vue:开箱即用、前后端分离的 Vue 后台管理模板

83 lines (82 loc) 1.65 kB
/** * 控制台传入的参数 */ export interface CliOption { clientArgs: any; clientOptions: any; } export declare enum VueVersion { Vue3 = "tinyvue" } /** * 服务端类型 */ export declare enum ServerFrameworks { EggJs = "eggJs", NestJs = "nestJs", SpringCloud = "springCloud", Skip = "" } export declare enum BuildTool { Vite = "vite", Webpack = "webpack", Rspack = "rspack", Farm = "farm" } export declare const buildConfigs: { vite: string[]; webpack: string[]; rspack: string[]; farm: string[]; }; export declare const buildCommand: { vite: string; webpack: string; rspack: string; farm: string; }; export declare const devCommand: { vite: string; webpack: string; rspack: string; farm: string; }; export declare const removedCommand: string[]; /** * 需要删除的包 */ export declare const removeDependencies: { vite: string[]; webpack: any[]; rspack: any[]; farm: any[]; }; /** * 需要删除的包 */ export declare const devDependencies: { vite: (string | RegExp)[]; rspack: (string | RegExp)[]; webpack: (string | RegExp)[]; farm: (string | RegExp)[]; }; /** * 初始化问题的选项 -> 选择的值 */ export interface ProjectInfo { description: string; framework: string; name: string; serverFramework: ServerFrameworks; serverConfirm?: boolean; dialect?: string; host?: string; port?: number; database?: string; username?: string; password?: string; redisHost?: string; redisPort?: number; buildTool: BuildTool; vueVersion: VueVersion; }