Prepare Frost 1.0.0 release candidate
CI / Test and package (push) Successful in 1m29s
Release and RC / Verify and publish (push) Failing after 6m12s

This commit is contained in:
2026-11-21 14:48:53 +01:00
parent ebfd15796f
commit 50fe5ec2e9
66 changed files with 577 additions and 22 deletions
+7
View File
@@ -14,6 +14,13 @@ if (packageLock.name !== packageJson.name) errors.push(`package-lock.json: packa
if (packageLock.version !== packageJson.version) errors.push(`package-lock.json: version ${packageLock.version} does not match ${packageJson.version}`);
if (packageLock.packages?.[""]?.name !== packageJson.name) errors.push("package-lock.json: root package name is stale");
if (packageLock.packages?.[""]?.version !== packageJson.version) errors.push("package-lock.json: root package version is stale");
if (packageJson.publishConfig?.access !== "public") errors.push("package.json: publishConfig.access must be public");
for (const requiredFile of ["README.md", "CHANGELOG.md", "MIGRATION.md", "SUPPORT.md", "public-api.json"]) {
if (!packageJson.files?.includes(requiredFile)) errors.push(`package.json: files must include ${requiredFile}`);
}
for (const browser of ["Chrome >= 111", "Edge >= 111", "Firefox >= 113", "Safari >= 16.4"]) {
if (!packageJson.browserslist?.includes(browser)) errors.push(`package.json: browserslist is missing ${browser}`);
}
const releases = [...changelog.matchAll(/^##\s+\[?(\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?)\]?\s*$/gm)].map((match) => ({ version: match[1], index: match.index }));
if (!releases.length) errors.push("CHANGELOG.md: no release headings found");