/**********************************************************************
 * Copyright (c) 2020-2021 Red Hat, Inc.
 *
 * This program and the accompanying materials are made
 * available under the terms of the Eclipse Public License 2.0
 * which is available at https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 ***********************************************************************/ import { ContainerModule , interfaces } from 'inversify' ; import { CheTheiaPluginsAnalyzer } from './che-theia-plugins-analyzer' ; import { CheTheiaPluginsMetaYamlGenerator } from './che-theia-plugins-meta-yaml-generator' ; import { CheTheiaPluginsYamlGenerator } from './che-theia-plugins-yaml-generator' ; import { CheTheiaPluginsYamlWriter } from './che-theia-plugins-yaml-writer' ; const cheTheiaPluginModule = new ContainerModule ( ( bind ) => { bind ( CheTheiaPluginsAnalyzer ) . toSelf ( ) . inSingletonScope ( ) ; bind ( CheTheiaPluginsMetaYamlGenerator ) . toSelf ( ) . inSingletonScope ( ) ; bind ( CheTheiaPluginsYamlGenerator ) . toSelf ( ) . inSingletonScope ( ) ; bind ( CheTheiaPluginsYamlWriter ) . toSelf ( ) . inSingletonScope ( ) ; } ) ; export { cheTheiaPluginModule } ;