mirror of https://github.com/embarklabs/embark.git
fix(@embark/cockpit): make cockpit start again
Most of the components don't work, but it starts
This commit is contained in:
parent
5736dc9498
commit
253cb9ed6e
|
@ -174,6 +174,7 @@ class EmbarkController {
|
||||||
engine.registerModuleGroup("filewatcher");
|
engine.registerModuleGroup("filewatcher");
|
||||||
engine.registerModuleGroup("storage");
|
engine.registerModuleGroup("storage");
|
||||||
engine.registerModuleGroup("communication");
|
engine.registerModuleGroup("communication");
|
||||||
|
engine.registerModuleGroup("cockpit");
|
||||||
engine.registerModulePackage('embark-deploy-tracker', {plugins: engine.plugins});
|
engine.registerModulePackage('embark-deploy-tracker', {plugins: engine.plugins});
|
||||||
|
|
||||||
engine.events.on('deployment:deployContracts:afterAll', () => {
|
engine.events.on('deployment:deployContracts:afterAll', () => {
|
||||||
|
|
|
@ -86,7 +86,8 @@ class Engine {
|
||||||
"storage": this.storageComponent,
|
"storage": this.storageComponent,
|
||||||
"communication": this.communicationComponents,
|
"communication": this.communicationComponents,
|
||||||
"filewatcher": this.filewatcherService,
|
"filewatcher": this.filewatcherService,
|
||||||
"tests": this.testComponents
|
"tests": this.testComponents,
|
||||||
|
cockpit: this.cockpitModules
|
||||||
};
|
};
|
||||||
|
|
||||||
let group = groups[groupName];
|
let group = groups[groupName];
|
||||||
|
@ -367,6 +368,11 @@ class Engine {
|
||||||
this.registerModulePackage('embark-api', {plugins: this.plugins});
|
this.registerModulePackage('embark-api', {plugins: this.plugins});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cockpitModules() {
|
||||||
|
this.registerModulePackage('embark-authenticator', {singleUseAuthToken: this.singleUseAuthToken});
|
||||||
|
this.registerModulePackage('embark-api', {plugins: this.plugins});
|
||||||
|
}
|
||||||
|
|
||||||
webServerService() {
|
webServerService() {
|
||||||
this.registerModulePackage('embark-webserver');
|
this.registerModulePackage('embark-webserver');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue