DenoDDeno
Powered by
pyzaistP
Denoβ€’3y agoβ€’
9 replies
pyzaist

Standard setup of a monorepo that includes frontend and backend TypeScript code for one app

Hello friends, I'm new to Deno and have what I feel is a relatively simple use case, but I've struggled to find good guidance about it.

My repo is here: https://github.com/timschwab/chesswar. Nothing too fancy, messing about with WebSockets and <canvas>. I used to have two repos - one for the backend server and one for the frontend server. But I decided to just join them into one repo, so I could trivially share some code and types between the server code and the client code.

However this means that the VSCode workspace includes both Deno server code and frontend TypeScript, and so I don't know the right way to set
target
target
and
lib
lib
.

Does this make sense? Any help appreciated. Thanks!
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Frontend & Backend in one Deno Deploy project
NikoNNiko / help
3y ago
[Issue] Monorepo with 2 Vue App and one API
Alexis.gAAlexis.g / help
10mo ago
Typescript monorepo LSP performance
KasperKKasper / help
15mo ago