1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/packages/technical-features/application/agnostic/src/environment-token.ts
Sebastian Malton 128b05d4d4
feat: Allow built versions to specify an environment (#7495)
* feat: Allow built versions to specify an environment

- This should be hard coded at build time

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* chore: Add default value to open-lens

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* chore: Add  --no-bail to test script invocations

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* chore: Add tests for coverage of new code

Signed-off-by: Sebastian Malton <sebastian@malton.name>

---------

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-05 10:17:21 -04:00

10 lines
328 B
TypeScript

/**
* Copyright (c) OpenLens Authors. All rights reserved.
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import { getInjectionToken } from "@ogre-tools/injectable";
export const lensBuildEnvironmentInjectionToken = getInjectionToken<string>({
id: "lens-build-environment-token",
});