2016-11-29 10:02:39 +08:00
|
|
|
/* eslint global-require: 0 */
|
|
|
|
import {ComponentRegistry} from 'nylas-exports'
|
2016-11-23 11:58:44 +08:00
|
|
|
import {createLogger} from './src/shared/logger'
|
2016-11-23 07:13:28 +08:00
|
|
|
|
2016-11-23 04:25:27 +08:00
|
|
|
export function activate() {
|
2016-11-23 11:58:44 +08:00
|
|
|
global.Logger = createLogger('local-sync')
|
2016-11-29 10:02:39 +08:00
|
|
|
require('./src/local-api/app');
|
|
|
|
require('./src/local-sync-worker/app');
|
|
|
|
|
|
|
|
const Root = require('./src/local-sync-dashboard/root').default;
|
|
|
|
ComponentRegistry.register(Root, {role: 'Developer:LocalSyncUI'});
|
2016-11-23 04:25:27 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export function deactivate() {
|
|
|
|
|
|
|
|
}
|