core/steps/chapter.step.ts

core/steps/chapter.step.ts is a file in Bane's Lab Build Scripts. 12 lines of code and 1 definition.

import { renderSurfaces, surfacesKey } from "#core/coordinators/chapter.coordinator";
import { defineStep } from "#core/factories/step.factory";

defineStep({
    cache: { key: surfacesKey, outputs: ["methodology", "methodology.wiki"] },
    modes: ["build"],
    name: "chapters",
    needs: ["prune"],
    phase: "close",
    async run() {
        return { gives: {}, line: await renderSurfaces() };
    },
});