-
Notifications
You must be signed in to change notification settings - Fork 18
Closed as not planned
Description
Basically I prefer loosely coupled way, so I want to write package manifest in jsr.json even in a Deno project. But when I run deno publish --dry-run or pnpm dlx jsr publish --dry-run, I'm getting an error:
error: Missing 'name', 'version' and 'exports' field in '<my-project-directory>/deno.json'.
The documentation says “Deno users can also include the required JSR properties in their deno.json to avoid having to create another file” (emphasize mine) and “When using Deno, all properties of the jsr.json configuration file can instead be placed in the deno.json” (emphasize mine), thus (and even if not said so) it should still definitely be possible to use the another file.
So I think the CLI must prioritize jsr.json than deno.json if both present.
Metadata
Metadata
Assignees
Labels
No labels