mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
WIP
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com> Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
parent
2d45fc6113
commit
592b7dbb18
@ -208,6 +208,7 @@ describe("channel", () => {
|
|||||||
handler: () => () => "some-other-value",
|
handler: () => () => "some-other-value",
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// @ts-ignore
|
||||||
testChannelListenerInMain2Injectable.id += "2";
|
testChannelListenerInMain2Injectable.id += "2";
|
||||||
|
|
||||||
applicationBuilder.beforeApplicationStart((mainDi) => {
|
applicationBuilder.beforeApplicationStart((mainDi) => {
|
||||||
|
|||||||
@ -200,6 +200,10 @@
|
|||||||
"@ogre-tools/injectable-extension-for-auto-registration": "^14.0.3",
|
"@ogre-tools/injectable-extension-for-auto-registration": "^14.0.3",
|
||||||
"@ogre-tools/injectable-extension-for-mobx": "^14.0.3",
|
"@ogre-tools/injectable-extension-for-mobx": "^14.0.3",
|
||||||
"@ogre-tools/injectable-react": "^14.0.3",
|
"@ogre-tools/injectable-react": "^14.0.3",
|
||||||
|
|
||||||
|
"@lensapp/feature-core": "*",
|
||||||
|
"@lensapp/cluster": "*",
|
||||||
|
|
||||||
"mobx": "^6.7.0",
|
"mobx": "^6.7.0",
|
||||||
"rimraf": "^4.1.2"
|
"rimraf": "^4.1.2"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -3,6 +3,11 @@ import { autoRegister } from "@ogre-tools/injectable-extension-for-auto-registra
|
|||||||
import { runInAction } from "mobx";
|
import { runInAction } from "mobx";
|
||||||
import { createApp, mainExtensionApi as Main, commonExtensionApi as Common } from "@k8slens/core/main";
|
import { createApp, mainExtensionApi as Main, commonExtensionApi as Common } from "@k8slens/core/main";
|
||||||
|
|
||||||
|
import { registerFeature } from '@lensapp/feature-core';
|
||||||
|
|
||||||
|
// @ts-ignore
|
||||||
|
import clusterFeature from '@lensapp/cluster/main';
|
||||||
|
|
||||||
const di = createContainer("main");
|
const di = createContainer("main");
|
||||||
const app = createApp({
|
const app = createApp({
|
||||||
di,
|
di,
|
||||||
@ -19,6 +24,8 @@ runInAction(() => {
|
|||||||
require.context("../common", true, CONTEXT_MATCHER_FOR_NON_FEATURES),
|
require.context("../common", true, CONTEXT_MATCHER_FOR_NON_FEATURES),
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|
||||||
|
registerFeature(di, clusterFeature);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user