windmill icon indicating copy to clipboard operation
windmill copied to clipboard

feature: Take deno.json into consideration when resolving dependencies for deno scripts.

Open pixeleet opened this issue 1 year ago • 1 comments

If a deno.json(c) is present in the root of the project, we should take it into consideration so we can map dependencies there. Since the addition of deno add {npm|jsr}:scope/pacakge it's quite convenient to use deno.json import maps.

pixeleet avatar May 28 '24 17:05 pixeleet

As documented, windmill currently supports a package.json to specify package versions:

So I'd recommend the same strategy to apply for Deno. Then we can manage dependency versions globally as well as map them.

For a more elaborate insight on the why, read this article from the official Deno team:

ghost avatar Aug 05 '24 09:08 ghost