fix: verify docs after release generation

This commit is contained in:
2026-07-13 14:18:44 +05:30
parent 1c541f3350
commit 3b46c69601
2 changed files with 14 additions and 4 deletions
+5 -3
View File
@@ -58,11 +58,13 @@ The command performs the remaining release as one guarded workflow:
2. Publish every missing `@wrnexus/*` package in dependency order. Already-published
packages are verified and skipped, so an interrupted release can be resumed safely.
3. Confirm every package is private and run the newly published CLI updater, including its
migrations, against `D:\Company\wrnexusjs`.
migrations, against `D:\Company\wrnexusjs`. The updater's immediate project check is
deferred because its generated docs inputs are rebuilt in the next step.
4. Align every docs-site dependency, regenerate package pages twice, update
`public/llms.txt`, `public/llms-full.txt`, the sitemap, and the documentation index.
5. Run the docs-site check and production build, verify that `public/llms.txt` contains the
current version and every framework package, then commit and push the docs repository.
5. Run the authoritative docs-site check and production build, verify that
`public/llms.txt` contains the current version and every framework package, then commit
and push the docs repository.
If the documentation checkout lives elsewhere, set `WRNEXUS_DOCS_ROOT` before running the
publish command. Both repositories must start clean and synchronized with their active
+9 -1
View File
@@ -216,7 +216,15 @@ function publish(all: PackageInfo[], version: string) {
console.log(`\nUpdating docs repository at ${docsRoot}\n`);
run(
process.execPath,
["x", "--package", `@wrnexus/cli@${version}`, "wrnexus", "update", `--version=${version}`],
[
"x",
"--package",
`@wrnexus/cli@${version}`,
"wrnexus",
"update",
`--version=${version}`,
"--no-verify",
],
docsRoot,
);
syncDocsManifest(all, version);