Replies: 1 comment 1 reply
-
|
@artola thanks for your feedback. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using
storeTranslationsToDiskto import json files, and it is not triggering therunAfterGeneratoreven if internally it calls:https://github.com/ivanhofer/typesafe-i18n/blob/9f21f1217bd0c25466e137ebc78093122769f026/packages/importer/src/importer.mts#L108
And this will only happens if
generateTypesis set totrue, otherwise it returns early:https://github.com/ivanhofer/typesafe-i18n/blob/9f21f1217bd0c25466e137ebc78093122769f026/packages/importer/src/importer.mts#L86
What I would like to achieve is to run "prettier" (
yarn prettier ./src/i18n --write) every time a files are created, regardless of types' generation.Beta Was this translation helpful? Give feedback.
All reactions