Skip to content

using deno add with a jsr dep when there is a package.json should not create a deno.json #32584

@sigmaSd

Description

@sigmaSd

Version: Deno 2.7.4 linux

if there is a package.json and no deno.json

using deno add npm:somdep do the expected thing and adds the dep to package.json

but using deno add jsr:somedep creates a deno.json and add it there instead of the expected thing of adding to package.json (specially now that deno handles jsr deps inside package.json)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions