This commit is contained in:
tree 2023-02-05 16:33:03 +01:00
rodič e9c0cd62ed
revize 4a9ddb5b0f
2 změnil soubory, kde provedl 5 přidání a 4 odebrání

Zobrazit soubor

@ -9,9 +9,8 @@ const options = Object.fromEntries(
}).filter((x) => x),
);
const deconf = new DeConfEngine();
console.log(options)
await deconf.init(options);
const deconf = new DeConfEngine(options);
await deconf.init();
const output = await deconf.build();
if (output) {

Zobrazit soubor

@ -40,7 +40,7 @@ export class DeConfEngine {
}
async build() {
await emptyDir(this.outputDir);
console.log(this.tag)
console.log(`Tag: ${this.tag}`);
await _textWrite([this.outputDir, "TAG"], this.tag);
for (const pkg of this.entries) {
console.table(pkg.data.events.map((e) => e.data.index), ["name"]);
@ -53,6 +53,8 @@ export class DeConfEngine {
name: p.data.index.name,
dataUrl: p.data.index.dataUrl,
exploreUrl: p.data.index.exploreUrl,
__time: new Date(),
__tag: this.tag,
})),
);
// write schemas