Skip to content

Fix tsconfigs structure#9

Open
MrBartusek wants to merge 2 commits into
covalence-io:masterfrom
MrBartusek:fix-tsconfig
Open

Fix tsconfigs structure#9
MrBartusek wants to merge 2 commits into
covalence-io:masterfrom
MrBartusek:fix-tsconfig

Conversation

@MrBartusek
Copy link
Copy Markdown

Hey! The current config structure you have set up, which is two files tsconfig.server.json and tsconfig.client.json, is horribly bad practice and highly annoying to work with.

These files can't be really detected by vscode and probably other editors

image

This causes magnitude of issues, my editor was behaving very wierldy with these files, my types just weren't randomly detected. And this is not easily fixable: microsoft/vscode#12463 (comment) ms just say that this is not a good way of doing it

Adding anything relative to them is annoying. If you want to add type roots for types in the server you need to explicitly specify that they are in src/server/types rather than just types in server tsconfig

This pr changes it to two tsconfig.json in server and client directories that depend on main one

@MrBartusek
Copy link
Copy Markdown
Author

Happy second birthday PR #9 🥳

@atlc @przekwas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant