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
19 lines (18 loc) • 1.04 kB
TypeScript
import { Harmony } from '@teambit/harmony';
import { ScopeExtension } from '../scope';
import Workspace from './workspace';
import { ComponentFactory } from '../component';
import { IsolatorExtension } from '../isolator';
import { Logger } from '../logger';
import { DependencyResolverExtension } from '../dependency-resolver';
import { Variants } from '../variants';
import { WorkspaceExtConfig } from './types';
import { GraphQLExtension } from '../graphql';
import { CLIExtension } from '../cli';
export declare type WorkspaceDeps = [CLIExtension, ScopeExtension, ComponentFactory, IsolatorExtension, DependencyResolverExtension, Variants, Logger, GraphQLExtension];
export declare type WorkspaceCoreConfig = {
componentsDefaultDirectory: string;
defaultScope: string;
defaultOwner: string;
};
export default function provideWorkspace([cli, scope, component, isolator, dependencyResolver, variants, logger, graphql]: WorkspaceDeps, config: WorkspaceExtConfig, _slots: any, harmony: Harmony): Promise<Workspace | undefined>;