import { ExecutorContext } from "@nx/devkit"; import { SbomExecutorSchema } from "./schema"; /** * Generate an SBOM for one project without installing anything: prune the * workspace lockfile to the project's transitive production dependencies via * the Nx graph, then run `npm sbom` (npm >= 10.1) over the pruned lockfile. * * The SBOM is written into the project's KAB archive directory, alongside * ui.zip and the .kab rather than inside them: archiver only zips the build * output dir, and kabtool packages nothing but ui.zip. An SBOM that has to * ship inside the KAB would have to be written to the build output dir and * ordered before `zip`. The pruned manifests are working files and stay in a * scratch directory. */ export default function sbomExecutor(options: SbomExecutorSchema, context: ExecutorContext): Promise<{ success: boolean; }>; //# sourceMappingURL=executor.d.ts.map