UNPKG

@jnxplus/common

Version:
39 lines (38 loc) 1.56 kB
import { TargetConfiguration } from '@nx/devkit'; export type LanguageType = 'java' | 'kotlin'; export type DSLType = 'groovy' | 'kotlin'; export type PackagingType = 'jar' | 'war'; export type ProjectType = 'application' | 'library'; export type ImageType = 'jvm' | 'legacy-jar' | 'native' | 'native-micro'; export type CustomCli = 'create-nx-maven-workspace' | 'create-nx-gradle-workspace'; export type TargetsType = Record<string, TargetConfiguration>; export type FrameworkType = 'spring-boot' | 'quarkus' | 'micronaut' | 'none'; export type PresetType = 'spring-boot' | 'quarkus' | 'micronaut' | 'none'; export type DependencyManagementType = 'none' | 'spring-boot-parent-pom' | 'spring-boot-bom' | 'quarkus-bom' | 'micronaut-parent-pom' | 'micronaut-bom'; export type VersionManagementType = 'properties' | 'version-catalog'; export interface TemplateOptionsType { [k: string]: any; } interface GraphOptionsType { skipProjectWithoutProjectJson: boolean; skipAggregatorProjectLinking: boolean; } export type NxMavenPluginOptions = { mavenRootDirectory: string; localRepoRelativePath: string; buildTargetName: string; buildImageTargetName: string; serveTargetName: string; testTargetName: string; integrationTestTargetName: string; graphOptions: GraphOptionsType; }; export type NxGradlePluginOptions = { gradleRootDirectory: string; buildTargetName: string; buildImageTargetName: string; serveTargetName: string; testTargetName: string; integrationTestTargetName: string; }; export {};