2020-02-14 00:52:16 +01:00
|
|
|
/*
|
2024-09-06 18:56:18 +02:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2021-12-14 15:32:27 +01:00
|
|
|
Copyright 2021 The Matrix.org Foundation C.I.C.
|
2020-02-14 00:52:16 +01:00
|
|
|
|
2024-09-06 18:56:18 +02: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-14 00:52:16 +01:00
|
|
|
*/
|
|
|
|
|
2024-10-30 19:06:03 +01:00
|
|
|
import type HakEnv from "./hakEnv.js";
|
2020-02-15 17:52:41 +01:00
|
|
|
|
2021-12-14 15:32:27 +01: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 12:00:58 +01:00
|
|
|
scripts: Record<string, (hakEnv: HakEnv, moduleInfo: DependencyInfo) => Promise<void>>;
|
2020-02-17 15:49:26 +01:00
|
|
|
}
|