-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
chore(docs): Update codemod command for fs-truncate-fd-deprecation #8338
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
base: main
Are you sure you want to change the base?
Conversation
When I started migrating my project to the new LTS version, I encountered an error when executing this code mod. ```bash > npx codemod run @nodejs/fs-truncate-to-ftruncate [1/2] 🔍 Resolving package from registry: https://app.codemod.com ... Error: Registry error: Package not found: @nodejs/fs-truncate-to-ftruncate ``` Signed-off-by: Mikhail Garbuzov <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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 updates a codemod command reference in the migration guide from v22 to v24, changing the codemod identifier from @nodejs/fs-truncate-to-ftruncate to @nodejs/fs-truncate-fd-deprecation to align with the GitHub repository directory name.
- Updated the npx codemod command to use
@nodejs/fs-truncate-fd-deprecation
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
AugustinMauroy
left a comment
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.
LGMT !
fix link to codemod location Co-authored-by: Augustin Mauroy <[email protected]> Signed-off-by: Mikhail Garbuzov <[email protected]>
Description
When I started migrating my project to the new LTS version, I encountered an error when executing this codemod.
Validation
> npx codemod run @nodejs/fs-truncate-to-ftruncate [1/2] 🔍 Resolving package from registry: https://app.codemod.com ... Error: Registry error: Package not found: @nodejs/fs-truncate-to-ftruncateRelated Issues
No
Check List
pnpm formatto ensure the code follows the style guide.pnpm testto check if all tests are passing.pnpm buildto check if the website builds without errors.