1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/common/vars/bundled-kubectl-version.injectable.ts
Sebastian Malton cedb0c4fa9 Clean up versioning and packageJson uses
- Rename packageJsonInjectable -> applicationInformationInjectable

- Add injectables for all sub items

- Introduce storeMigrationVersionInjectable for BaseStores

- Introduce extensionApiVersionInjectable

- Use buildVersionInjectable in more places, such as in telemetry

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-09-15 09:43:28 -04:00

14 lines
528 B
TypeScript

/**
* Copyright (c) OpenLens Authors. All rights reserved.
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import { getInjectable } from "@ogre-tools/injectable";
import applicationInformationInjectable from "./application-information.injectable";
const bundledKubectlVersionInjectable = getInjectable({
id: "bundled-kubectl-version",
instantiate: (di) => di.inject(applicationInformationInjectable).config.bundledKubectlVersion,
});
export default bundledKubectlVersionInjectable;