UNPKG

gen-jhipster

Version:

VHipster - Spring Boot + Angular/React/Vue in one handy generator

160 lines (159 loc) 5.52 kB
declare const command: { readonly configs: { readonly clientFramework: { readonly description: "Provide client framework for the application"; readonly cli: { readonly type: StringConstructor; }; readonly prompt: (generator: any) => { type: "select"; message: () => string; }; readonly choices: readonly [{ readonly value: "angular"; readonly name: "Angular"; }, { readonly value: "react"; readonly name: "React"; }, { readonly value: "vue"; readonly name: "Vue"; }, { readonly value: "no"; readonly name: "No client"; }]; readonly scope: "storage"; }; readonly clientTheme: { readonly cli: { readonly type: StringConstructor; readonly hide: true; }; readonly scope: "storage"; }; readonly clientThemeVariant: { readonly cli: { readonly type: StringConstructor; readonly hide: true; }; readonly choices: readonly [{ readonly value: "primary"; readonly name: "Primary"; }, { readonly value: "dark"; readonly name: "Dark"; }, { readonly value: "light"; readonly name: "Light"; }]; readonly scope: "storage"; }; readonly clientBundler: { readonly cli: { readonly type: StringConstructor; readonly hide: true; }; readonly choices: readonly ["webpack", "vite", "esbuild"]; readonly scope: "storage"; }; readonly devServerPort: { readonly cli: { readonly type: NumberConstructor; readonly hide: true; }; readonly scope: "storage"; }; readonly devServerPortProxy: { readonly cli: { readonly type: NumberConstructor; readonly hide: true; }; readonly scope: "storage"; }; readonly microfrontend: { readonly description: "Enable microfrontend support"; readonly cli: { readonly type: BooleanConstructor; }; readonly prompt: ({ jhipsterConfigWithDefaults: config }: any) => { type: "confirm"; when: (answers: any) => boolean; message: string; default: boolean; }; readonly scope: "storage"; }; readonly microfrontends: { readonly description: "Microfrontends to load"; readonly cli: { readonly type: (val: string) => { baseName: string; }[]; }; readonly prompt: ({ jhipsterConfigWithDefaults: config }: any) => { when: (answers: any) => boolean; type: "input"; message: string; filter: (answer: string) => { baseName: string; }[]; transformer: (answer: string | { baseName: string; }[]) => string; }; readonly scope: "storage"; }; readonly clientTestFramework: { readonly cli: { readonly type: StringConstructor; }; readonly jdl: { readonly type: "string"; readonly tokenType: "NAME"; readonly tokenValuePattern: RegExp; }; readonly scope: "storage"; readonly choices: readonly ["jest", "vitest"]; readonly default: (this: any, ctx: any) => "jest" | "vitest"; }; readonly clientTestFrameworks: { readonly description: "Client test frameworks"; readonly cli: { readonly type: ArrayConstructor; readonly hide: true; }; readonly prompt: ({ jhipsterConfigWithDefaults: config }: any) => { when: (answers: any) => boolean; type: "checkbox"; message: string; default: () => "cypress"[]; }; readonly choices: readonly [{ readonly name: "Cypress"; readonly value: "cypress"; }]; readonly scope: "storage"; }; readonly withAdminUi: { readonly description: "Generate administrative user interface"; readonly cli: { readonly type: BooleanConstructor; }; readonly prompt: ({ jhipsterConfigWithDefaults: config }: any) => { type: "confirm"; when: (answers: any) => boolean; message: string; }; readonly scope: "storage"; }; readonly clientRootDir: { readonly description: "Client root"; readonly cli: { readonly type: StringConstructor; }; readonly scope: "storage"; }; }; readonly import: readonly ["common"]; }; export default command;