You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then run deno publish --dry-run, and it is success.
However, run deno publish and it is fail:
error: Failed to publish @XXXX/XXXX@XXXX
Caused by:
Failed to publish @XXXX/XXXX at XXXX: specifier 'jsr:@std/regexp/escape' is missing a version constraint
deno publish --dry-run should also check specifier jsr: version constraint.
The text was updated successfully, but these errors were encountered:
hugoalh
changed the title
deno publish --dry-run do not check specifier "jsr:@XXXX/XXXX" version constraintdeno publish --dry-run do not check specifier jsr: version constraint
Mar 10, 2024
Happened on Deno v1.41.2, not tested on other versions.
For example, at the script:
And at the config (look at the missing version constraint at the right side):
Then run
deno publish --dry-run
, and it is success.However, run
deno publish
and it is fail:deno publish --dry-run
should also check specifierjsr:
version constraint.The text was updated successfully, but these errors were encountered: