Skip to content
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: babel-plugin-react-intl to babel-plugin-formatjs migration #361

Merged
merged 2 commits into from
Feb 8, 2024

Conversation

abdullahwaheed
Copy link
Contributor

@abdullahwaheed abdullahwaheed commented Oct 4, 2023

Upgraded to fronted-build v13 which migrates deprecated babel-plugin-react-intl to babel-plugin-formatjs.
Changed i18n_extract script in package.json accordingly

Epic Link

Migrate off babel-plugin-react-intl in favor of babel-plugin-formatjs

@abdullahwaheed abdullahwaheed self-assigned this Oct 4, 2023
@codecov
Copy link

codecov bot commented Oct 4, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (7cee54e) 82.49% compared to head (e90597e) 82.49%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #361   +/-   ##
=======================================
  Coverage   82.49%   82.49%           
=======================================
  Files          38       38           
  Lines         714      714           
  Branches      232      232           
=======================================
  Hits          589      589           
  Misses        121      121           
  Partials        4        4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -68,7 +68,7 @@
},
"devDependencies": {
"@edx/browserslist-config": "^1.1.0",
"@edx/frontend-build": "12.9.17",
"@edx/frontend-build": "13.0.1",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might be worth updating this to use the latest version of frontend-build https://github.com/openedx/frontend-build/releases/tag/v13.0.28

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm gonna merge these as is to get this change landed, since it's been open since October, and the scope update will require more code changes to webpack config and potentially other files.

@feanil feanil merged commit da98d3e into main Feb 8, 2024
5 checks passed
@feanil feanil deleted the abdullahwaheed/react-intl-to-formatjs branch February 8, 2024 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants