DenoDDeno
Powered by
CarereC
Denoβ€’3y agoβ€’
18 replies
Carere

Pretty new to Deno, what is the recommended way to create a monorepo-like in Deno ?

Everything is in the question. I tried during the entire week-end to get up & running with monorepo-like setup in Deno.

My NodeJS monorepo was pretty simplistic:
- app
---- 3 projects inside (front, server, and cli)
- packages
---- 1 project inside which is used by all 3 mentioned above

I don't have any problem with Deno runtime project (eg. CLI, server, etc), Deno delivers perfectly (it's a real pleasure to work with it on those type of project).

The real pain reside in FrontEnd with ViteJS. It seems that ViteJs project need to be in it's own root folder, it cannot be a sub-folder.
Also, I would like to keep my NX configuration since it does rely on package.json (really helpful in order to avoid building project if nothing has change in it)

So my question is, do I waste time trying to use my former knowledge of monorepo ?
Do I need to switch my way of thinking (as I did by not using package.json and node_modules) ?
Is there somewhere some resource explaining how to proceed to achieve what I'm trying to do ?

PS: Please, try to answer with elaborate responses, don't want to be bash for asking questions as a newbie on a new tech πŸ˜…
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

What is the recommended way to run CRON jobs with Deno Deploy EA?
AmrAAmr / help
8mo ago
Recommended `denoland/deno` contributor editor setup
DanielduelDDanielduel / help
3y ago
What the prefered way to use REACT in deno
dan.the.discloserDdan.the.discloser / help
4y ago
In Deno, what is the best way to simply host static websites?
abcdef38Aabcdef38 / help
3y ago