Files
openclaw/scripts/package-source-preflight.d.mts
Vincent Koc 1ece62a4d8 fix(ci): gate source package producers (#128463)
* fix(release): preflight package source metadata

* fix(ci): gate source package producers

* fix(ci): preflight canonical package producers

* fix(ci): skip no-package source setup

* fix(ci): normalize source package validation

* fix(ci): normalize Docker package reporting

* fix(ci): avoid generic dependency guard

* test(ci): cover gated package identity
2026-08-23 22:30:10 -07:00

19 lines
502 B
TypeScript

type PackageSourcePreflightOptions = {
allowUnreleasedChangelog?: boolean;
};
export function validatePackageSource(params: {
aiManifestContent: string | null;
allowUnreleasedChangelog?: boolean;
changelogContent: string;
rootManifestContent: string;
}): string;
export function validatePackageSourceRef(
ref: string,
options?: PackageSourcePreflightOptions,
): string;
export function validatePackageSourceDir(
sourceDir: string,
options?: PackageSourcePreflightOptions,
): string;