nx-mesh
Version:
GraphQL Mesh support for Nx
16 lines (12 loc) • 511 B
TypeScript
import type { SetOptional } from 'type-fest';
import type { Schema as NodeLibrarySchema } from '@nrwl/node/src/generators/library/schema';
import type { ExampleName } from '../utils/create-mesh-example';
export type MeshConfigExtensions = 'cjs' | 'js' | 'json' | 'yml';
export interface BaseOptions
extends SetOptional<NodeLibrarySchema, 'compiler'> {
codegen?: boolean;
e2eTestRunner?: 'cypress' | 'none';
example?: ExampleName;
meshConfig?: MeshConfigExtensions;
projectType?: 'app' | 'lib';
}