mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix errors blocking compilation
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
a1d2fa05d7
commit
3fbbf022b9
@ -21,6 +21,8 @@ const fsInjectable = getInjectable({
|
|||||||
rm,
|
rm,
|
||||||
access,
|
access,
|
||||||
stat,
|
stat,
|
||||||
|
chmod,
|
||||||
|
copyFile,
|
||||||
},
|
},
|
||||||
ensureDir,
|
ensureDir,
|
||||||
ensureDirSync,
|
ensureDirSync,
|
||||||
@ -34,6 +36,7 @@ const fsInjectable = getInjectable({
|
|||||||
pathExists,
|
pathExists,
|
||||||
copy,
|
copy,
|
||||||
createReadStream,
|
createReadStream,
|
||||||
|
createWriteStream,
|
||||||
} = fse;
|
} = fse;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
@ -56,6 +59,9 @@ const fsInjectable = getInjectable({
|
|||||||
ensureDirSync,
|
ensureDirSync,
|
||||||
createReadStream,
|
createReadStream,
|
||||||
stat,
|
stat,
|
||||||
|
chmod,
|
||||||
|
copyFile,
|
||||||
|
createWriteStream,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
causesSideEffects: true,
|
causesSideEffects: true,
|
||||||
|
|||||||
@ -9,7 +9,7 @@ import type { BaseStoreDependencies } from "../../../common/base-store/base-stor
|
|||||||
import { BaseStore } from "../../../common/base-store/base-store";
|
import { BaseStore } from "../../../common/base-store/base-store";
|
||||||
import type { LensExtensionId } from "../../lens-extension";
|
import type { LensExtensionId } from "../../lens-extension";
|
||||||
import { getOrInsertWithAsync, toJS } from "../../../common/utils";
|
import { getOrInsertWithAsync, toJS } from "../../../common/utils";
|
||||||
import type { EnsureDirectory } from "../../../common/fs/ensure-dir.injectable";
|
import type { EnsureDirectory } from "../../../common/fs/ensure-directory.injectable";
|
||||||
import type { JoinPaths } from "../../../common/path/join-paths.injectable";
|
import type { JoinPaths } from "../../../common/path/join-paths.injectable";
|
||||||
import type { RandomBytes } from "../../../common/utils/random-bytes.injectable";
|
import type { RandomBytes } from "../../../common/utils/random-bytes.injectable";
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
import type { ClusterId, ClusterState } from "../../../../common/cluster-types";
|
import type { ClusterId, ClusterState } from "../../../../common/cluster-types";
|
||||||
import type { MessageChannel } from "../../../../common/utils/channel/message-channel-listener-injection-token";
|
import type { MessageChannel } from "../../../../common/utils/channel/message-channel-listener-injection-token";
|
||||||
import type { RequestChannel } from "../../../../common/utils/channel/request-channel-listener-injection-token";
|
import type { RequestChannel } from "../../../../common/utils/channel/request-channel";
|
||||||
|
|
||||||
export interface ClusterStateSync {
|
export interface ClusterStateSync {
|
||||||
clusterId: ClusterId;
|
clusterId: ClusterId;
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import type { OpenDialogOptions } from "electron";
|
import type { OpenDialogOptions } from "electron";
|
||||||
import type { RequestChannel } from "../../../common/utils/channel/request-channel-listener-injection-token";
|
import type { RequestChannel } from "../../../common/utils/channel/request-channel";
|
||||||
|
|
||||||
export type PathPickingResponse = {
|
export type PathPickingResponse = {
|
||||||
canceled: true;
|
canceled: true;
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import type { MessageChannel } from "../../../../common/utils/channel/message-channel-listener-injection-token";
|
import type { MessageChannel } from "../../../../common/utils/channel/message-channel-listener-injection-token";
|
||||||
import type { RequestChannel } from "../../../../common/utils/channel/request-channel-listener-injection-token";
|
import type { RequestChannel } from "../../../../common/utils/channel/request-channel";
|
||||||
|
|
||||||
export type SystemThemeType = "dark" | "light";
|
export type SystemThemeType = "dark" | "light";
|
||||||
|
|
||||||
|
|||||||
@ -62,6 +62,9 @@ export const getOverrideFsWithFakes = () => {
|
|||||||
ensureDirSync,
|
ensureDirSync,
|
||||||
createReadStream: root.createReadStream as any,
|
createReadStream: root.createReadStream as any,
|
||||||
stat: root.promises.stat as any,
|
stat: root.promises.stat as any,
|
||||||
|
chmod: root.promises.chmod,
|
||||||
|
copyFile: root.promises.copyFile,
|
||||||
|
createWriteStream: root.createWriteStream as any,
|
||||||
}));
|
}));
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@ -2749,7 +2749,7 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@types/node" "*"
|
"@types/node" "*"
|
||||||
|
|
||||||
"@types/ws@^8.5.1":
|
"@types/ws@^8.5.1", "@types/ws@^8.5.3":
|
||||||
version "8.5.3"
|
version "8.5.3"
|
||||||
resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.3.tgz#7d25a1ffbecd3c4f2d35068d0b283c037003274d"
|
resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.3.tgz#7d25a1ffbecd3c4f2d35068d0b283c037003274d"
|
||||||
integrity sha512-6YOoWjruKj1uLf3INHH7D3qTXwFfEsg1kf3c0uDdSBJwfa/llkwIjrAGV7j7mVgGNbzTQ3HiHKKDXl6bJPD97w==
|
integrity sha512-6YOoWjruKj1uLf3INHH7D3qTXwFfEsg1kf3c0uDdSBJwfa/llkwIjrAGV7j7mVgGNbzTQ3HiHKKDXl6bJPD97w==
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user