mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
998cc36454
commit
66f28046b9
298 files changed
+549
-339
No files matched your search
@@ -11,6 +11,7 @@ import { registerFeature } from "@k8slens/feature-core";
|
||||
import { applicationFeature, startApplicationInjectionToken } from '@k8slens/application'
|
||||
import { applicationFeatureForElectronMain } from '@k8slens/application-for-electron-main'
|
||||
import { messagingFeatureForMain } from "@k8slens/messaging-for-main";
|
||||
import { loggerFeature } from "@k8slens/logger";
|
||||
|
||||
const environment = "main";
|
||||
|
||||
@@ -23,7 +24,15 @@ registerMobX(di);
|
||||
runInAction(() => {
|
||||
registerLensCore(di, environment);
|
||||
|
||||
registerFeature(di, applicationFeature, applicationFeatureForElectronMain, messagingFeatureForMain);
|
||||
registerFeature(di,
|
||||
loggerFeature,
|
||||
);
|
||||
|
||||
registerFeature(di,
|
||||
applicationFeature,
|
||||
applicationFeatureForElectronMain,
|
||||
messagingFeatureForMain,
|
||||
);
|
||||
|
||||
try {
|
||||
autoRegister({
|
||||
|
||||
@@ -22,6 +22,7 @@ import { messagingFeatureForRenderer } from "@k8slens/messaging-for-renderer";
|
||||
import { keyboardShortcutsFeature } from "@k8slens/keyboard-shortcuts";
|
||||
import { reactApplicationFeature } from "@k8slens/react-application";
|
||||
import { routingFeature } from "@k8slens/routing";
|
||||
import { loggerFeature } from "@k8slens/logger";
|
||||
|
||||
const environment = "renderer";
|
||||
|
||||
@@ -34,6 +35,11 @@ runInAction(() => {
|
||||
registerInjectableReact(di);
|
||||
registerLensCore(di, environment);
|
||||
|
||||
registerFeature(
|
||||
di,
|
||||
loggerFeature,
|
||||
);
|
||||
|
||||
registerFeature(
|
||||
di,
|
||||
applicationFeature,
|
||||
|
||||
Reference in new issue
Block a user