You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: fix stale Bun references and add systemic doc drift checks
Fix the Bun→Node migration documentation drift with three systemic improvements:
1. Fix generate-docs-sections.ts root cause
- Replace extractBunVersion() with extractPnpmVersion() derived from packageManager
- Make both version extractors throw on mismatch instead of silent fallback
- Update all prerequisite generators to reference Node.js + pnpm
- Remove 'or Bun' from library-usage prerequisite
2. Expand generated marker coverage
- Wrap DEVELOPMENT.md prerequisites in GENERATED:START/END dev-prereq markers
- Wrap DEVELOPMENT.md build section in GENERATED:START/END build-toolchain markers
- Wrap contributing.md build section in GENERATED:START/END build-commands markers
- Fix remaining stale refs: library-usage.md, plugins/README.md, check-no-deps.ts
3. Add generic check:stale-refs toolchain consistency check
- New script/check-stale-references.ts derives stale patterns from package.json
- Reads packageManager field to determine current PM, flags all others
- If project migrates from pnpm to yarn, check auto-flags pnpm references
- Added to CI lint job
4. Enhance check:fragments with subcommand coverage validation
- Check 5: verify fragments mention all subcommands in a route
- Handles default commands (sentry local = sentry local serve)
- Strips code blocks to avoid false heading matches
- Warns by default, --strict flag for hard errors
5. Fill subcommand coverage gaps in fragments
- dashboard.md: add revisions, restore examples
- cli.md: add defaults, import examples
- issue.md: add events subcommand and @latest/@most_frequent selectors
Supersedes PR #1022 which found real issues but missed several stale
references and lacked systemic prevention.
Copy file name to clipboardExpand all lines: docs/src/fragments/commands/cli.md
+46Lines changed: 46 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,52 @@ The CLI detects how it was installed and uses the appropriate upgrade method:
61
61
62
62
Nightly builds are only available as standalone binaries (via the curl install method). Switching to nightly from a package manager install will automatically migrate to a standalone binary.
0 commit comments