feat: changelog.md release notes, v tags, plugin release notes and videos

This commit is contained in:
LukeGus committed 2026-10-06 18:13:39 -05:00
1 parent b9dd3488a5
commit 9bc2be721b
45 files changed
+1462 -816

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
const fs = require("fs");
const path = require("path");
const root = path.resolve(__dirname, "..");
const sdk = path.join(root, "packages/plugin-sdk/dist/changelog.js");
if (!fs.existsSync(sdk)) {
console.error("check-changelog: build the SDK first (npm run build:sdk)");
process.exit(1);
}
const { parseChangelog } = require(sdk);
const { problems } = parseChangelog(
fs.readFileSync(path.join(root, "CHANGELOG.md"), "utf8"),
);
if (problems.length > 0) {
for (const problem of problems) console.error(` CHANGELOG.md: ${problem}`);
process.exit(1);
}