UNPKG

@nx/js

Version:

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

14 lines (13 loc) 646 B
import { ExecutorContext } from '@nx/devkit'; import { DependentBuildableProjectNode } from '../buildable-libs-utils'; import type { UpdatePackageJsonOption } from './update-package-json'; export interface CopyPackageJsonOptions extends Omit<UpdatePackageJsonOption, 'projectRoot'> { watch?: boolean; extraDependencies?: DependentBuildableProjectNode[]; overrideDependencies?: DependentBuildableProjectNode[]; } export interface CopyPackageJsonResult { success?: boolean; stop?: () => void; } export declare function copyPackageJson(_options: CopyPackageJsonOptions, context: ExecutorContext): Promise<CopyPackageJsonResult>;