fix: Do not crash when opening details of a helm release

- Switch to using RequestChannel instead of LensProxy for better
  type safety

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2023-05-09 09:28:18 -04:00
1 parent b7ac14df73
commit 40af0d31c5
30 files changed
+664 -417

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ const webpackLensMain = (): webpack.Configuration => {
use: "node-loader",
},
{
test: /\.ts$/,
test: (modulePath) => modulePath.endsWith(".ts") && !modulePath.endsWith(".test.ts"),
exclude: /node_modules/,
use: {
loader: "ts-loader",
+4 -1
View File
@@ -62,7 +62,10 @@ export function webpackLensRenderer(): webpack.Configuration {
use: "node-loader",
},
{
test: /\.tsx?$/,
test: (modulePath) => (
(modulePath.endsWith(".ts") && !modulePath.endsWith(".test.ts"))
|| (modulePath.endsWith(".tsx") && !modulePath.endsWith(".test.tsx"))
),
exclude: /node_modules/,
use: {
loader: "ts-loader",