jsr icon indicating copy to clipboard operation
jsr copied to clipboard

Looks like dry-run does not check dependency versions

Open krutoo opened this issue 1 year ago • 2 comments

Hi, i have workflow with series run deno publish --dry-run and deno publish: https://github.com/krutoo/utils/actions/runs/8812575981/job/24188524460

Running deno publish --dry-run passes with ok status

But deno publish fails with error:

Failed to publish @krutoo/utils at 0.0.4: specifier 'npm:@types/react' is missing a version constraint

Looks like --dry-run does not check that rule

krutoo avatar Apr 24 '24 07:04 krutoo

@lucacasonato new details: I tried to publish my package and everything was fine with dry run but without it I got an error:

Authorization successful. Authenticated as Dmitry Petrov
Publishing @krutoo/[email protected] ...
error: Failed to publish @krutoo/[email protected]

Caused by:
    Failed to publish @krutoo/fetch-tools at 0.0.16: missing config file '/deno.json', is it perhaps excluded from publishing?

krutoo avatar Jun 28 '24 14:06 krutoo

any updates?

@lucacasonato

krutoo avatar Sep 12 '24 11:09 krutoo

bump

@lucacasonato

krutoo avatar Dec 24 '24 12:12 krutoo