Skip to content

Fix stale docs pages and remove dead lint script#1

Open
chrismaz11 wants to merge 1 commit intomainfrom
cm/fix-docs-build-and-config
Open

Fix stale docs pages and remove dead lint script#1
chrismaz11 wants to merge 1 commit intomainfrom
cm/fix-docs-build-and-config

Conversation

@chrismaz11
Copy link
Collaborator

Summary

  • update the security and threat-model docs pages to use the current shared docs components
  • remove the stale lint script that referenced tooling not present in the repo
  • restore a clean production build for the current repo state

Why

Two documentation routes were still wired to component names that no longer exist in app/docs/_components.tsx, which broke pnpm build. The package scripts also advertised an eslint command even though this repo no longer ships ESLint configuration or dependencies.

Validation

  • corepack pnpm messaging:check
  • corepack pnpm build

Security Review

  • no new dependencies
  • no auth or crypto changes
  • scope is limited to stale docs wiring and a dead package script

Risks / Follow-ups

  • build still emits upstream baseline-browser-mapping staleness warnings from the current dependency tree, but validation passes without functional impact

@vercel
Copy link

vercel bot commented Mar 18, 2026

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

Project Deployment Actions Updated (UTC)
trustsignal-v0-redirect Ready Ready Preview, Comment Mar 18, 2026 4:00am
v0-signal-new Ready Ready Preview, Comment Mar 18, 2026 4:00am

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR restores a clean pnpm build by updating two stale docs routes to use the current shared docs components and by removing an obsolete lint script that referenced tooling no longer present in the repo.

Changes:

  • Removed the dead lint script from package.json.
  • Migrated /docs/security and /docs/threat-model pages from removed components (DocsShell, SectionBlock, etc.) to the current docs component set (DocHeader, DocSection, etc.).
  • Updated the security docs page to use the new callout/code/diagram components (DocCallout, DocCodeBlock, DocDiagram).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
package.json Removes the stale lint script that referenced missing ESLint tooling.
app/docs/threat-model/page.tsx Rewires the threat model page to the current shared docs components.
app/docs/security/page.tsx Rewires the security page to the current shared docs components, including diagram/code/callout replacements.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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