mirror of
https://github.com/lensapp/lens.git
synced 2024-09-20 13:57:23 +03:00
Cherry pick commits from 4.2 (#2953)
This commit is contained in:
parent
5642359306
commit
88de530913
@ -21,7 +21,6 @@
|
||||
|
||||
// App's common configuration for any process (main, renderer, build pipeline, etc.)
|
||||
import path from "path";
|
||||
import { SemVer } from "semver";
|
||||
import packageInfo from "../../package.json";
|
||||
import { defineGlobal } from "./utils/defineGlobal";
|
||||
|
||||
@ -67,10 +66,4 @@ export const apiKubePrefix = "/api-kube" as string; // k8s cluster apis
|
||||
export const issuesTrackerUrl = "https://github.com/lensapp/lens/issues" as string;
|
||||
export const slackUrl = "https://join.slack.com/t/k8slens/shared_invite/enQtOTc5NjAyNjYyOTk4LWU1NDQ0ZGFkOWJkNTRhYTc2YjVmZDdkM2FkNGM5MjhiYTRhMDU2NDQ1MzIyMDA4ZGZlNmExOTc0N2JmY2M3ZGI" as string;
|
||||
export const supportUrl = "https://docs.k8slens.dev/latest/support/" as string;
|
||||
|
||||
// This explicitly ignores the prerelease info on the package version
|
||||
const { major, minor, patch } = new SemVer(packageInfo.version);
|
||||
const mmpVersion = [major, minor, patch].join(".");
|
||||
const docsVersion = isProduction ? `v${mmpVersion}` : "latest";
|
||||
|
||||
export const docsUrl = `https://docs.k8slens.dev/${docsVersion}`;
|
||||
export const docsUrl = `https://docs.k8slens.dev/main/` as string;
|
||||
|
Loading…
Reference in New Issue
Block a user