Skip to content

Commit

Permalink
feat: add the main entry file for molecule
Browse files Browse the repository at this point in the history
  • Loading branch information
wewoor committed Oct 22, 2020
1 parent d49731e commit 63064c9
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import 'reflect-metadata';
import 'mo/style/main.scss';
import 'vscode-codicons/dist/codicon.css';
// import { container } from 'tsyringe';

import { EditorService } from 'mo/services/editor/editorService';
import { ActivityBarService } from 'mo/services/activityBarService';
import { ThemeService } from 'mo/services/themeServices';
import { SidebarService } from 'mo/services/sidebarService';
import { MenuBarService } from 'mo/services/menuBarService';
import { defaultExtensions } from 'mo/extensions';
import { MoleculeService } from 'mo/services/moleculeService';
import { ExtensionService } from './services/extensionService';

export * from 'mo/common/event';
export * from 'mo/core/workbench/activityBar';
export * from 'mo/services/eventService';

export const activityBarService = new ActivityBarService();
export const menuBarService = new MenuBarService();
export const editorService = new EditorService();
export const sidebarService = new SidebarService();
export const themeService = new ThemeService('vs-dark', 'vs-dark');
export const moleculeService = new MoleculeService(
menuBarService,
activityBarService,
editorService,
sidebarService,
themeService,
);

export const extensionService = new ExtensionService(defaultExtensions, moleculeService);

0 comments on commit 63064c9

Please sign in to comment.