Different paths for files you should edit vs generated files #719
osdiab
started this conversation in
DX improvements
Replies: 1 comment 2 replies
-
You can already manually override the names of each file: https://github.com/ivanhofer/typesafe-i18n/tree/main/packages/generator#options. You can set the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Right now you set a single
outputPath
likesrc/i18n
and everything is placed there.But the actual translations files, and the formatters, are things you should be editing, whereas the other stuff seems to be things that you mostly just auto-generate. This would be easier to understand as a team if the files you touch can be located in
src/i18n
and the files that are generated get placed at e.g.gen/i18n
so that they're not right next to each other.for now will just add a
gen-
prefix to the generated stuff to make it clear.Beta Was this translation helpful? Give feedback.
All reactions