Add more telemetry data

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
Lauri Nevala committed 2020-10-22 21:28:23 +03:00
1 parent d396f6a44f
commit 4e6c7a815a
5 files changed
+64 -2

No files matched your search

+2
View File
@@ -5,7 +5,9 @@ import { defineGlobal } from "./utils/defineGlobal";
export const isMac = process.platform === "darwin"
export const isWindows = process.platform === "win32"
export const isLinux = process.platform === "linux"
export const isDebugging = process.env.DEBUG === "true";
export const isSnap = !!process.env["SNAP"]
export const isProduction = process.env.NODE_ENV === "production"
export const isTestEnv = !!process.env.JEST_WORKER_ID;
export const isDevelopment = !isTestEnv && !isProduction;
+5
View File
@@ -0,0 +1,5 @@
import { app } from "electron";
import { getAppVersion } from "../../common/utils";
export const version = getAppVersion()
export { isSnap, isWindows, isMac, isLinux, appName } from "../../common/vars"
+2
View File
@@ -1 +1,3 @@
export { ExtensionStore } from "../extension-store"
export { clusterStore, ClusterModel } from "../../common/cluster-store"
export { workspaceStore} from "../../common/workspace-store"
+2
View File
@@ -7,9 +7,11 @@ export * from "./lens-renderer-extension"
import * as EventBus from "./core-api/event-bus"
import * as Store from "./core-api/stores"
import * as Util from "./core-api/utils"
import * as App from "./core-api/app"
import * as Registry from "./core-api/registries"
export {
App,
EventBus,
Registry,
Store,