UNPKG

@nx/js

Version:

The JS plugin for Nx contains executors and generators that provide the best experience for developing JavaScript and TypeScript projects.

20 lines (19 loc) 930 B
import type { ExecutorContext } from '@nx/devkit'; import type { NormalizedExecutorOptions } from './schema'; interface InlineProjectNode { name: string; root: string; sourceRoot: string; pathAlias: string; buildOutputPath?: string; } export interface InlineProjectGraph { nodes: Record<string, InlineProjectNode>; externals: Record<string, InlineProjectNode>; dependencies: Record<string, string[]>; } export declare function isInlineGraphEmpty(inlineGraph: InlineProjectGraph): boolean; export declare function handleInliningBuild(context: ExecutorContext, options: NormalizedExecutorOptions, tsConfigPath: string, projectName?: string): InlineProjectGraph; export declare function postProcessInlinedDependencies(outputPath: string, parentOutputPath: string, inlineGraph: InlineProjectGraph): void; export declare function getRootTsConfigPath(context: ExecutorContext): string | null; export {};