-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feat: implement codemod ibm-products-update-userprofileimage #18058
feat: implement codemod ibm-products-update-userprofileimage #18058
Conversation
✅ Deploy Preview for v11-carbon-web-components ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for v11-carbon-react ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #18058 +/- ##
==========================================
- Coverage 82.21% 82.17% -0.04%
==========================================
Files 404 404
Lines 14200 14206 +6
Branches 4509 4462 -47
==========================================
Hits 11674 11674
- Misses 2364 2369 +5
- Partials 162 163 +1 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
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.
Looks good, just one question
packages/upgrade/fixtures/ibm-products-update-userprofileimage-sample.jsx
Outdated
Show resolved
Hide resolved
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.
LGTM!
2a594b7
Hey there! v11.71.0 was just released that references this issue/PR. |
Closes 6308
This PR updates the @carbon/upgrade package with a new transform ibm-products-update-userprofileimage, to update the UserProfileImage to UserAvatar.
Changelog
New
Changed
Testing / Reviewing
Try out the Codemod locally by:
./bin/carbon-upgrade.js migrate list
to verify a new entry ibm-products-update-userprofileimage (Rewrites UserProfileImage to UserAvatar) is presentnpx jest transforms/__tests__/ibm-products-update-userprofileimage-test.js
and verify test result./bin/carbon-upgrade.js migrate ibm-products-update-userprofileimage fixtures/ibm-products-update-userprofileimage-sample.jsx -w
to try the Codemod. ( Select the /carbon/packages/upgrade as workspace)