You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following package or app (I don't know which one to use in this usecase) uses generator.ts to generate the files in generated/ by using a git submodule, which is then exported (package.json) for use in other apps/packages. Is this structure good practice? Or is there a better alternative I can do? Any resources on how to achieve this, and properly setup something like this is greatly appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Summary
Hi, I have a project structure like so:
I want to make a package/app that generates a file that is to be used with other apps/packages. The project structure might look like this:
The following package or app (I don't know which one to use in this usecase) uses
generator.ts
to generate the files ingenerated/
by using a git submodule, which is then exported (package.json
) for use in other apps/packages. Is this structure good practice? Or is there a better alternative I can do? Any resources on how to achieve this, and properly setup something like this is greatly appreciated.Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions