release: WRNexusJS 0.8.1
This commit is contained in:
@@ -6,6 +6,7 @@ import process from "node:process";
|
||||
import { fileURLToPath } from "node:url";
|
||||
|
||||
const root = resolve(dirname(fileURLToPath(import.meta.url)), "..");
|
||||
const releaseVersion = JSON.parse(readFileSync(join(root, "package.json"), "utf8")).version;
|
||||
const require = createRequire(import.meta.url);
|
||||
const componentPackages = new Set([
|
||||
"auth",
|
||||
@@ -111,7 +112,7 @@ for (const directory of packageDirectories) {
|
||||
if (hasHelperKit) helperPackageCount++;
|
||||
componentCount += components.length;
|
||||
|
||||
if (manifest.version !== "0.8.0")
|
||||
if (manifest.version !== releaseVersion)
|
||||
failures.push(`${manifest.name}: version is ${manifest.version}`);
|
||||
if (!existsSync(entry)) failures.push(`${manifest.name}: missing public entry ${main}`);
|
||||
if (!existsSync(join(packageRoot, "README.md")))
|
||||
@@ -187,7 +188,7 @@ for (const match of authSource.matchAll(/<input\b[\s\S]*?>/g)) {
|
||||
}
|
||||
|
||||
const report = {
|
||||
version: "0.8.0",
|
||||
version: releaseVersion,
|
||||
summary: {
|
||||
packageCount: packages.length,
|
||||
helperPackageCount,
|
||||
@@ -200,7 +201,7 @@ const report = {
|
||||
};
|
||||
|
||||
const markdown = [
|
||||
"# WRNexusJS 0.8.0 Package Kits",
|
||||
`# WRNexusJS ${releaseVersion} Package Kits`,
|
||||
"",
|
||||
"Every framework package has a public API/helper surface, package tests, and documentation. Packages that directly render developer-facing UI additionally provide package-owned `.wrn` blocks composed from `@wrnexus/ui`.",
|
||||
"",
|
||||
|
||||
Reference in New Issue
Block a user