Deps cleanup
This commit is contained in:
parent
274239b10b
commit
76e258ef77
15 changed files with 873 additions and 872 deletions
|
@ -1,6 +1,6 @@
|
|||
"use strict";
|
||||
|
||||
const fs = require("fs-extra");
|
||||
const fs = require("fs");
|
||||
const { parseVariantsData } = require("./variants-data");
|
||||
const { parseLigationData } = require("./ligation-data");
|
||||
const { getCharMapAndSupportedLanguageList } = require("./supported-languages");
|
||||
|
@ -16,18 +16,23 @@ module.exports = async function main(argv) {
|
|||
argv.charMapItalicPath,
|
||||
argv.charMapObliquePath
|
||||
);
|
||||
await fs.writeJson(
|
||||
await fs.promises.writeFile(
|
||||
argv.exportPathMeta,
|
||||
{
|
||||
version,
|
||||
variantsData,
|
||||
ligationData: {
|
||||
cherry: ligationData.cherry,
|
||||
samplesNarrow: ligationData.samplesNarrow,
|
||||
nonMergeSets: ligationData.nonMergeSets
|
||||
}
|
||||
},
|
||||
{ spaces: 2 }
|
||||
JSON.stringify(
|
||||
{
|
||||
version,
|
||||
variantsData,
|
||||
ligationData: {
|
||||
cherry: ligationData.cherry,
|
||||
samplesNarrow: ligationData.samplesNarrow,
|
||||
nonMergeSets: ligationData.nonMergeSets
|
||||
}
|
||||
},
|
||||
{ spaces: 2 }
|
||||
)
|
||||
);
|
||||
await fs.promises.writeFile(
|
||||
argv.exportPathCov,
|
||||
JSON.stringify({ version, ...cl }, { spaces: 2 })
|
||||
);
|
||||
await fs.writeJson(argv.exportPathCov, { version, ...cl }, { spaces: 2 });
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue