@k8slens/extensions 6.0.1-git.592600c1bb.0 → 6.0.1-git.5c11d7f7fe.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) OpenLens Authors. All rights reserved.
|
|
3
|
+
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Join all entires with a PATH env var delimated string together
|
|
7
|
+
* @param PATHs Any number of PATH env variables
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This function does not attempt to handle any sort of escape sequences since after testing
|
|
10
|
+
* it was found that `zsh` (at least on `macOS`) does not when trying to find programs
|
|
11
|
+
*/
|
|
12
|
+
export declare function unionPATHs(...PATHs: string[]): string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
|
3
3
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
4
4
|
*/
|
|
5
|
-
export declare type EnvironmentVariables = Record<string, string
|
|
5
|
+
export declare type EnvironmentVariables = Partial<Record<string, string>>;
|
|
6
6
|
/**
|
|
7
7
|
* Attempts to get the shell environment per the user's existing startup scripts.
|
|
8
8
|
* If the environment can't be retrieved after 5 seconds an error message is logged.
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@k8slens/extensions",
|
|
3
3
|
"productName": "OpenLens extensions",
|
|
4
4
|
"description": "OpenLens - Open Source Kubernetes IDE: extensions",
|
|
5
|
-
"version": "6.0.1-git.
|
|
5
|
+
"version": "6.0.1-git.5c11d7f7fe.0",
|
|
6
6
|
"copyright": "© 2022 OpenLens Authors",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"main": "dist/src/extensions/extension-api.js",
|