UNPKG

@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

17 lines 820 B
import { writeCompose, updateComposeImageTags } from "../../files/index.js"; import { defaultComposeFileName } from "../../params.js"; /** * Temporary compose is written to the root directory * It is used to generate the docker images */ export function writeTmpCompose({ compose, composeFileName = defaultComposeFileName, manifest, rootDir }) { const buildCompose = updateComposeImageTags(compose, manifest); writeCompose(buildCompose, { dir: rootDir, composeFileName }); } export function writeReleaseCompose({ compose, composeFileName = defaultComposeFileName, manifest, releaseDir }) { const releaseCompose = updateComposeImageTags(compose, manifest, { editExternalImages: true }); writeCompose(releaseCompose, { dir: releaseDir, composeFileName }); } //# sourceMappingURL=utils.js.map