cleoC
Denoβ€’2y agoβ€’
7 replies
cleo

Workspace option inconsistency?

I don't know if I'm just missing something but my local computer (latest version of deno) and my github action can't seem to agree on if the config option for making a workspace is workspace or workspaces.

when the option is workspaces:
deno publish: recognizes the folder as a workspace, attempts to publish all packages
npx jsr publish: detects workspaces, but ignores it ("The "workspaces" field was ignored. Use "workspace" instead."), attempts to find name, version and exports

when the option is workspace:
deno publish: doesn't even detect workspace, just goes straight to checking name, version and exports
npx jsr publish: recognizes the folder as a workspace, attempts to publish all packages
Was this page helpful?