diff --git a/packages/core/typings/src/plugins.d.ts b/packages/core/typings/src/plugins.d.ts index 6496c2818..a59fd1d7d 100644 --- a/packages/core/typings/src/plugins.d.ts +++ b/packages/core/typings/src/plugins.d.ts @@ -1,8 +1,5 @@ import {Callback} from './callbacks'; -export interface Plugin { -} - export interface Plugins { getPluginsFor(name: string): [Plugin]; loadInternalPlugin(name: string, options: any): void; diff --git a/packages/embark/src/lib/index.js b/packages/embark/src/lib/index.js deleted file mode 100644 index 726002668..000000000 --- a/packages/embark/src/lib/index.js +++ /dev/null @@ -1,29 +0,0 @@ -let pkg = require('../../package.json'); -import { Config, Events } from 'embark-core'; -import { Logger } from 'embark-logger'; - -class Embark { - - constructor(options) { - this.version = pkg.version; - this.options = options || {}; - } - - initConfig(env, options) { - this.events = new Events(); - this.logger = new Logger({logLevel: 'debug', events: this.events, context: this.context}); - - this.config = new Config({ - env: env, - logger: this.logger, - events: this.events, - context: this.context, - version: this.version, - package: pkg - }); - this.config.loadConfigFiles(options); - this.plugins = this.config.plugins; - } -} - -module.exports = Embark;