Repository navigation
Conversation
The generated CLAUDE.md referenced `node_modules/bun-types/docs/**.mdx` which doesn't exist when installing `@types/bun`. Point to the primary docs at https://bun.sh/docs instead. Closes #27950
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughUpdated the documentation reference in the initialization template from a local node_modules path to the official Bun documentation URL. This corrects an inaccurate file path that was included in the generated CLAUDE.md file. Changes
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
There was a problem hiding this comment.
LGTM — straightforward docs URL fix.
Extended reasoning...
Overview
This PR changes a single line in src/init/rule.md, updating the Bun API docs reference from a non-existent local path (node_modules/bun-types/docs/**.mdx) to the correct public URL (https://bun.sh/docs).
Security risks
None. This is a documentation-only change in a markdown template file.
Level of scrutiny
Minimal scrutiny needed. This is a one-line text fix in a generated CLAUDE.md template — no code logic, no configuration, no security surface.
Other factors
The fix is clearly correct (the old path does not exist in @types/bun), the replacement URL is the canonical Bun documentation site, no bugs were found, and there are no outstanding reviewer comments.
|
@robobun That's not quite true, bun-types DOES vendor the Bun docs in markdown - See |
|
@alii is correct — Verified by downloading the tarball: This PR's change is incorrect — it replaces a useful local reference to vendored docs with a web URL. Closing. |
Summary
bun initgenerates a CLAUDE.md that referencesnode_modules/bun-types/docs/**.mdx, but that path doesn't exist when installing@types/bunCloses #27950
Closes #27964
Test plan
bun initwith debug build and verified the generated CLAUDE.md containshttps://bun.sh/docsinstead of the oldnode_modules/bun-types/docs/**.mdxpath