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
14 lines (13 loc) • 668 B
TypeScript
import ScopesData from './e2e-scopes';
export default class BitJsoncHelper {
scopes: ScopesData;
constructor(scopes: ScopesData);
read(bitJsoncDir?: string): any;
write(bitJsonc: Record<string, any>, bitJsoncDir?: string): void;
addKeyVal(bitJsoncDir: string | undefined, key: string, val: any): void;
addToVariant(bitJsoncDir: string | undefined, variant: string, key: string, val: any): void;
setVariant(bitJsoncDir: string | undefined, variant: string, config: any): void;
addKeyValToWorkspace(key: string, val: any, bitJsoncDir?: string): void;
addDefaultScope(scope?: string): void;
addDefaultOwner(owner: string): void;
}