2020-02-13 23:52:16 +00:00
|
|
|
/*
|
2024-09-06 17:56:18 +01:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2021-12-14 14:32:27 +00:00
|
|
|
Copyright 2021 The Matrix.org Foundation C.I.C.
|
2020-02-13 23:52:16 +00:00
|
|
|
|
2024-09-06 17:56:18 +01:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
|
|
|
|
Please see LICENSE files in the repository root for full details.
|
2020-02-13 23:52:16 +00:00
|
|
|
*/
|
|
|
|
|
2021-12-14 14:32:27 +00:00
|
|
|
import HakEnv from "./hakEnv";
|
2020-02-15 16:52:41 +00:00
|
|
|
|
2021-12-14 14:32:27 +00:00
|
|
|
export interface DependencyInfo {
|
|
|
|
name: string;
|
|
|
|
version: string;
|
|
|
|
cfg: Record<string, any>;
|
|
|
|
moduleHakDir: string;
|
|
|
|
moduleDotHakDir: string;
|
|
|
|
moduleTargetDotHakDir: string;
|
|
|
|
moduleBuildDir: string;
|
|
|
|
moduleBuildDirs: string[];
|
|
|
|
moduleOutDir: string;
|
|
|
|
nodeModuleBinDir: string;
|
|
|
|
depPrefix: string;
|
2022-12-15 11:00:58 +00:00
|
|
|
scripts: Record<string, (hakEnv: HakEnv, moduleInfo: DependencyInfo) => Promise<void>>;
|
2020-02-17 14:49:26 +00:00
|
|
|
}
|