UNPKG

@nxext/stencil

Version:

Nx plugin for stenciljs

10 lines (9 loc) 717 B
import { ProjectGraphProjectNode } from '@nx/devkit'; import type { DependentBuildableProjectNode } from '@nx/js/internal'; /** * Reimplements the `@nx/js` `updateBuildableProjectPackageJsonDependencies` * helper, removed without replacement in Nx 23 (nrwl/nx#35xxx). Writes the * resolved version of each buildable workspace/npm dependency into the * built package.json, mirroring the upstream behavior from Nx 22. */ export declare function updateBuildableProjectPackageJsonDependencies(root: string, projectName: string, targetName: string, configurationName: string, node: ProjectGraphProjectNode, dependencies: DependentBuildableProjectNode[], typeOfDependency?: 'dependencies' | 'peerDependencies'): void;