bit-bin
Version:
<a href="https://opensource.org/licenses/Apache-2.0"><img alt="apache" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a> <a href="https://github.com/teambit/bit/blob/master/CONTRIBUTING.md"><img alt="prs" src="https://img.shields.io/b
23 lines (22 loc) • 966 B
TypeScript
import { BitId } from '../../bit-id';
import { Consumer } from '..';
import { SourceFile } from '../component/sources';
import { MergeStrategy, ApplyVersionResults } from './merge-version';
import { MergeResultsThreeWay } from './merge-version/three-way-merge';
export declare type CheckoutProps = {
version?: string;
ids?: BitId[];
latestVersion?: boolean;
promptMergeOptions: boolean;
mergeStrategy: MergeStrategy | null | undefined;
verbose: boolean;
skipNpmInstall: boolean;
ignorePackageJson: boolean;
writeConfig: boolean;
reset: boolean;
all: boolean;
ignoreDist: boolean;
};
declare const _default: (consumer: Consumer, checkoutProps: CheckoutProps) => Promise<ApplyVersionResults>;
export default _default;
export declare function applyModifiedVersion(componentFiles: SourceFile[], mergeResults: MergeResultsThreeWay, mergeStrategy: MergeStrategy | null | undefined, sharedDir?: string): Record<string, any>;