hasundue / molt

Update dependencies the Deno way
https://jsr.io/@molt
MIT License
79 stars 5 forks source link

Support for pre-release versions #195

Closed brc-dd closed 3 months ago

brc-dd commented 3 months ago

Molt currently doesn't update dependencies like jsr:@cliffy/command@1.0.0-rc.4 to jsr:@cliffy/command@1.0.0-rc.5.

If there is a stable version available, it even downgrades them:

~/foo
❯ cat deno.json
{
  "imports": {
    "@std/http": "jsr:@std/http@1.0.0-rc.4"
  }
}

~/foo
❯ deno run -A jsr:@molt/cli deno.json
📦 @std/http 1.0.0-rc.4 => 0.224.5
hasundue commented 3 months ago

As #194, I've already implemented this here and will be available in the next minor release :+1:

hasundue commented 3 months ago

As a workaround right now, you may --ignore such dependencies. Sorry for inconvenience though