-
Notifications
You must be signed in to change notification settings - Fork 0
Rename package from afetch to what-the-fetch #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: hckhanh <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 3 3
Lines 40 40
Branches 13 13
=========================================
Hits 40 40 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
CodSpeed Performance ReportMerging #9 will not alter performanceComparing Summary
Footnotes
|
There was a problem hiding this 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 renames the package from "afetch" to "what-the-fetch" to comply with npm naming requirements, as "afetch" is too similar to the existing "a-fetch" package.
- Updated package identifiers in
package.json,jsr.json, andbun.lock - Renamed all references in documentation files (README, CHANGELOG, docs content, and website metadata)
- Updated import examples in JSDoc comments across source files
Reviewed Changes
Copilot reviewed 15 out of 16 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/utils.ts | Updated JSDoc comment reference from "afetch" to "what-the-fetch" |
| src/types.ts | Updated JSDoc comment reference from "afetch" to "what-the-fetch" |
| src/index.ts | Updated import path examples from "@hckhanh/afetch" to "@hckhanh/what-the-fetch" |
| jsr.json | Updated package name from "@hckhanh/afetch" to "@hckhanh/what-the-fetch" |
| docs/src/lib/layout.shared.tsx | Updated GitHub URL and navigation title to "what-the-fetch" |
| docs/src/app/og/docs/[...slug]/route.tsx | Updated site name in OpenGraph image generation |
| docs/src/app/layout.tsx | Updated SEO metadata titles and keywords |
| docs/package.json | Updated package name and description |
| docs/content/docs/index.mdx | Renamed all references throughout introduction documentation |
| docs/content/docs/getting-started.mdx | Updated installation commands and all references |
| docs/content/docs/api-reference.mdx | Updated all code examples and descriptive text |
| bun.lock | Updated workspace name reference |
| README.md | Updated title, badges, and all references to the new package name |
| CHANGELOG.md | Updated changelog title and release notes |
| .github/PULL_REQUEST_TEMPLATE.md | Updated repository URL |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot update .changeset/seven-meals-grin.md |
Co-authored-by: hckhanh <[email protected]>
|



Summary
npm disallows package names too similar to existing packages.
afetchconflicts witha-fetch, requiring the rename towhat-the-fetch.Details
Updated package name across all references:
jsr.json(@hckhanh/what-the-fetch).mdxfiles in docssrc/files.changeset/seven-meals-grin.mdwith comprehensive description including breaking changes and migration instructionsExample import change:
The changeset file includes:
All tests pass. No functional changes.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.