import { Tree } from "@nx/devkit"; /** * Move KAB artifacts out of the workspace-wide `dist/archives/` tree and into * `{projectRoot}/target/` — a peer of the project's src/, matching where the * Maven half of a polyglot repo drops its own KABs. * * Repoints `kab` and `zip` (plus the internal-app `copyKab`) at the new * directory, and anchors `descriptor` and `sbom` on the project's build output * dir, where archiver picks them up into ui.zip. `splash` projects, which * package a layer KAB through the same convention, move with them. * * The `sbom` move is a fix, not just a relocation: it used to be written * beside the KAB and ordered after `zip`, so it never travelled with the * distribution it describes. * * The paths go in as `{projectRoot}` tokens so a project can be moved without * anyone rewriting them — which means the scripts that read those options must * expand the token, so this migration also refreshes tools/scripts. Skipping * that half would leave a workspace writing to a literal `{projectRoot}` dir. * * Also gitignores `target/` and excludes it from Nx's `default` named input: * the artifacts now live inside the project, so without both guards every * packaging run would invalidate the project's own cache entry. */ export default function update(host: Tree): void; //# sourceMappingURL=move-kab-output-to-target.d.ts.map