/** * Configuration for the ExactScripts policy. * * @alpha */ export interface ExactScriptsConfig { /** * Scripts that must exist AND have exact content. * * @remarks * Unlike RequiredScripts, scripts in `exact` are validated against * the specified value. If a script exists but has different content, it fails validation. * Both missing and mismatched scripts are auto-fixable. * * @example * ```typescript * scripts: { * clean: "rimraf dist esm", * format: "biome format --write .", * } * ``` */ scripts: Record; } /** * A policy that validates scripts exist AND have exact content in package.json. * * @remarks * Use this policy when you want to enforce exact script content, not just presence. * This is useful for scripts that must be exactly the same across packages. * * For scripts where you only care about presence (not content), use RequiredScripts instead. * * @example * ```typescript * import { policy } from "repopo"; * import { ExactScripts } from "repopo/policies"; * * policy(ExactScripts, { * scripts: { * clean: "rimraf dist esm", * format: "biome format --write .", * lint: "biome lint .", * }, * }) * ``` * * @alpha */ export declare const ExactScripts: import("../policy.js").PolicyShape; //# sourceMappingURL=ExactScripts.d.ts.map