deno task mono <command>
deno task mono start
A JurassicJS package for using deno commands in a monorepo with deno workspaces
Monodeno is a JurassicJS package that provides a simple way to run deno commands in a monorepo with deno workspaces. It is a wrapper around the deno command that allows you to run deno commands in a monorepo with deno workspaces.
deno monorepo
deno add jsr:@jurassicjs/monodeno
ensure you have workpaces in your deno project. For example, in your deno.json
file, you should have something like this:
{
"tasks": {
"mono": "deno run -A jsr:@jurassicjs/monodeno",
},
"workspaces": [
"apps/web",
"apps/docs",
]
}
This task will run the start
command in all the workspaces in your monorepo.
This project has monodeno as a dependency. You can clone the project and run the following command to see how it works.
https://github.com/jurassicjs/denomono
git clone https://github.com/jurassicjs/denomono.git