jon
Workspace member parallel processes (monorepo)
@wilsonlewis as a workaround, you could do something like:
- make a task in your root
deno.json[c]
, that itself runs a workspace-task.ts
file with some {taskName}
parameter
- in workspace-task.ts
, read the workspace
array from your root deno.json[c]
- iterate through and cwd
's into each workspace directory, reads the deno.json[c]
there
- for each matching {taskName}
, run deno task {taskName}
3 replies
any reason against using the deps.ts approach?
I’m stuck on an embedded deno 1.38.1 for now, so JSR isn’t an option quite yet. I have been trying out using import maps, and resolving jsr-like e.g.
@std/async
names to https/deno.land. Are there any major differences between this and using JSR? I was thinking it’d let me get most of the benefits without having to upgrade deno, or at least make the transition pretty easy once I do. Thoughts?7 replies