enhance release v2 experience
This commit is contained in:
1 parent
9b4970583e
commit
ef2ed6c602
152 files changed
+7236
-764
No files matched your search
@@ -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.");
|
||||
}
|
||||
Reference in new issue
Block a user