jon
jon
DDeno
Created by wilsonlewis on 9/9/2024 in #help
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
DDeno
Created by yoggyd on 9/4/2024 in #help
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
DDeno
Created by mavdotjs on 7/7/2024 in #help
Workspace option inconsistency?
I was playing around with workspaces today, and I also encountered inconsistencies. For example, deno_std repository uses "workspaces", but the JSONSchema file that VSCode uses for deno.json references "workspace". I just use both right now.
8 replies