enhance release v2 experience

This commit is contained in:
ajnart committed 2026-08-14 02:18:46 +02:00
1 parent 9b4970583e
commit ef2ed6c602
152 files changed
+7236 -764

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
import { resolve } from "node:path";
import { checkFeatureContracts } from "./feature-platform/contracts.mts";
const root = resolve(import.meta.dirname, "..");
const problems = checkFeatureContracts(root);
if (problems.length > 0) {
console.error("Feature contract check failed:");
for (const problem of problems) console.error(`\n- ${problem.message}\n Repair: ${problem.repair}`);
process.exitCode = 1;
} else {
console.log("Feature contracts are consistent.");
}