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

🏷 convert ra-language-english and ra-language-french to typescript #4569

Merged
merged 4 commits into from
Mar 24, 2020

Conversation

mayteio
Copy link
Contributor

@mayteio mayteio commented Mar 23, 2020

Self explanatory, summary of changes:

  1. Added ra-core/src/i18n/TranslationMessages.ts that contains the type. I tried with .d.ts as the extension, though tsc ignores this on build. Exported from pacakge.
  2. typed ra-18n-polyglot to accept this new type.
  3. converted ra-language-english and ra-language-french to typesript packages, added tsconfig.json, added build scripts and updated package.json to include relevant main, files, module and types.
  4. Ensure entire monorepo build without errors

@fzaninotto please let me know if I have missed something.

Copy link
Contributor

@djhi djhi left a comment

Choose a reason for hiding this comment

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

👍 Thanks!

@djhi djhi added this to the 3.4.0 milestone Mar 23, 2020
@fzaninotto fzaninotto merged commit a7d091d into marmelab:next Mar 24, 2020
@fzaninotto
Copy link
Member

Awesome, thanks!

@mayteio
Copy link
Contributor Author

mayteio commented Mar 25, 2020

No problem. Adding a ref to the issue: #4505

@mayteio mayteio deleted the feature/translations-to-ts branch March 25, 2020 23:38
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.

3 participants