@nxrocks/nx-ktor
Version:
Nx plugin to generate, run, package, build (and more) Ktor projects inside your Nx workspace
33 lines (28 loc) • 812 B
TypeScript
export interface ProjectGeneratorOptions {
directory: string;
name?: string;
tags?: string;
ktorInitializrUrl?: string;
proxyUrl?: string;
buildSystem?: 'MAVEN' | 'GRADLE' | 'GRADLE_KTS';
groupId?: string;
artifactId?: string;
ktorVersion?: string;
kotlinVersion?: 'string';
engine?: 'NETTY' | 'JETTY' | 'CIO' | 'TOMCAT';
configurationLocation?: 'YAML' | 'HOCON' | 'CODE';
features?: string;
skipFormat?: boolean;
skipCodeSamples?: boolean;
transformIntoMultiModule?: boolean;
addToExistingParentModule?: boolean;
parentModuleName?: string;
keepProjectLevelWrapper?: boolean;
}
export interface NormalizedSchema extends ProjectGeneratorOptions {
projectName: string;
projectRoot: string;
projectFeatures: string[];
parsedTags: string[];
moduleRoot?: string;
}