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

Fixes locale string extraction with formatjs #5689

Merged
merged 1 commit into from
Sep 6, 2022

Conversation

brianpeiris
Copy link
Contributor

Newer versions of @formatjs/cli do not export an extract function. This changed with our recent node/npm upgrade, which broke the npm run intl-extract script that we use for translations.
The function now lives in @formatjs/cli-lib, so this PR adds that as a dependency and uses it in intl-extract.js

@brianpeiris brianpeiris requested a review from keianhzo September 2, 2022 14:30
Copy link
Contributor

@keianhzo keianhzo left a comment

Choose a reason for hiding this comment

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

LGTM

@brianpeiris brianpeiris merged commit 6543d8e into master Sep 6, 2022
@brianpeiris brianpeiris deleted the bug/fix-locale-extraction branch September 6, 2022 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants