-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Labels
bugSomething isn't working correctlySomething isn't working correctlygood first issueGood for newcomersGood for newcomersjsrIssues or feature requests relating to JSR.ioIssues or feature requests relating to JSR.iopublishRelated to "deno publish" subcommandRelated to "deno publish" subcommand
Description
Version: deno 1.41.1 (release, x86_64-pc-windows-msvc)
Problem:
When I have a deno.json file in the base folder deno publish doesnt seem to respect or even try to read options from jsr.json.
Error message looks like this.
PS E:\code\PROJECTNAME> deno publish --dry-run
error: file:///E:/code/PROJECTNAME/deno.json is missing 'name' field
if I rename or delete deno.json it correctly reads jsr.json when publishing.
PS E:\code\PROJECTNAME> deno publish --dry-run
Checking for slow types in the public API...
Simulating publish of <PACKAGE>@0.5.3 with files:
..
... FILE LIST REMOVED
Expected behaviour:
deno publish should check for the relevant options in jsr.json when the options is not included in deno.json. Or maybe even primary looking for the publish options in jsr.json.
Metadata
Metadata
Assignees
Labels
bugSomething isn't working correctlySomething isn't working correctlygood first issueGood for newcomersGood for newcomersjsrIssues or feature requests relating to JSR.ioIssues or feature requests relating to JSR.iopublishRelated to "deno publish" subcommandRelated to "deno publish" subcommand