@dappnode/dappnodesdk
Version:
dappnodesdk is a tool to make the creation of new dappnode packages as simple as possible. It helps to initialize and publish in ethereum blockchain
16 lines (15 loc) • 621 B
TypeScript
import { PackageToBuildProps } from "../../types.js";
export declare function getPackagesToBuildProps({ allVariants, commaSeparatedVariants, rootDir, variantsDirPath, composeFileName }: {
allVariants: boolean;
commaSeparatedVariants?: string;
rootDir: string;
variantsDirPath: string;
composeFileName: string;
}): PackageToBuildProps[];
/**
* Main function to retrieve the valid variant names based on the specified variants and available directories.
*/
export declare function getValidVariantNames({ variantsDirPath, variants }: {
variantsDirPath: string;
variants?: string;
}): string[];