i18next / i18next-gitbook

165 stars 172 forks source link

Added Codemods to migration Guides #226

Closed dfordp closed 1 month ago

dfordp commented 1 month ago

To assist with the upgrade from i18n v22.x.x to v23.0.0, we have added features that utilize codemods to automatically update your code to many of the new APIs and patterns. Run the following command to automatically update your code for i18n v23.0.0 migration:

These codemods include breaking changes which aren't implemented interally but have to updated across multiple repositories using the framework

npx codemod i18n/v23.0.0/migration-recipe

This will run the following codemods from the i18n Codemod repository:

adrai commented 1 month ago

nice

dfordp commented 1 month ago

@adrai sir there was a minor fix that I forgot to remove

npx codemod i18n/v23.0.0/migration-recipe

can you remove this I added this by mistake I made the changing commit but the pr was already merged till then

adrai commented 1 month ago

just adapted