Open steffenkleinle opened 2 months ago
I wouldn't put that much effort in that but switch to a yarn monorepo and add there a general config package. If we can generate a yml file from typescript as we already do in the frontend package we could also generate the backend/config.yml
Is your feature request related to a problem? Please describe. We have two npm workspaces:
administration
andfrontend/buildConfigs
. Since thefrontend/buildConfigs
workspace has only a dependency totypescript
, only this package and its subdependencies should be installed in the root. However, a lot of other dependencies are installed in the root as well, seemingly arbitrarily.Describe the solution you'd like Clean up the dependencies and/or figure out why this happens. The dependencies should be installed correctly.
For example, the eslint plugin for jest fails to detect the version of jest since one is installed in the root and one in administration. This should be fixed (remove setting the version manually in
.eslintrc.js
).Describe alternatives you've considered Ignore it.
Additional context Mattermost discussion: https://chat.tuerantuer.org/digitalfabrik/pl/8zmj3gaombrgtb1jqpspbpctzy