-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add the main entry file for molecule
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
|