UNPKG

syncpack

Version:

Manage multiple package.json files, such as in Lerna Monorepos and Yarn/Pnpm Workspaces

7 lines (6 loc) 459 B
import { DependencyType, SyncpackConfig } from '../constants'; import { SourceWrapper } from './lib/get-wrappers'; declare type Options = Pick<SyncpackConfig, 'dev' | 'filter' | 'indent' | 'peer' | 'prod' | 'source'>; export declare const fixMismatches: (dependencyTypes: DependencyType[], filter: RegExp, wrappers: SourceWrapper[]) => void; export declare const fixMismatchesToDisk: ({ dev, filter, indent, peer, prod, source }: Options) => void; export {};