Skip to content

Fix website monorepo cleanup regressions#2840

Merged
unarbos merged 2 commits into
mono-bittensorfrom
mono-website-fixes
Jul 9, 2026
Merged

Fix website monorepo cleanup regressions#2840
unarbos merged 2 commits into
mono-bittensorfrom
mono-website-fixes

Conversation

@UnArbosFive

@UnArbosFive UnArbosFive commented Jul 9, 2026

Copy link
Copy Markdown

Summary

  • Adds docs/** to the staging docs deploy trigger because the website docs source reads from the repository-level docs directory.
  • Fixes website lint by replacing next lint, avoiding the incompatible Turbo ESLint config path, and making the app ESLint config self-contained.
  • Removes stale internal stats routes, the public total-issuance route, and the unused @raofoundation/api workspace package so the website app only exposes the Fumadocs search API route.
  • Aligns website Node requirements with the installed Next version, fixes root format globs, removes the stale production helper, and trims now-unused website app dependencies.

Production deployment note

Production website deployment in watch-mainnet-release.yml is intentionally not changed here. The Vercel/GitHub integration must be finished and validated before relying on that production release path.

Validation

  • cd website && yarn install --immutable passed.
  • cd website && yarn turbo run build --filter=@raofoundation/bittensor-website... --force passed. The build route table shows ƒ /api/search as the only /api route.
  • cd website && yarn workspace @raofoundation/bittensor-website run lint passed with warnings only.
  • find website/apps/bittensor-website/src/app -path "*api*" -type f | sort returns only website/apps/bittensor-website/src/app/api/search/route.ts.
  • rg "@raofoundation/api|workspace:packages/api|packages/api|/api/public/total_issuance|api/stats|CHAIN_STATS_ENDPOINT" website -g "!**/.next/**" -g "!**/node_modules/**" returned no matches.
  • git diff --check and git diff --cached --check passed.

@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
subtensor Ready Ready Preview, Comment Jul 9, 2026 1:45pm

Request Review

@unarbos unarbos merged commit 498e7a5 into mono-bittensor Jul 9, 2026
2 checks passed
@unarbos unarbos deleted the mono-website-fixes branch July 9, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants