It seems that deno has no version manager by far.
We could inject the version into our project code:
import mod from 'mod/v0.1.1/main.ts';
It's painful as we have to write version everywhere. if we want to upgrade our package, replace the version is painful too.
So, what's the best version manager for deno package?
.pnp.js to parse module version and module path.requirements.txt to record package's version, use virtualenv to isolate different project(it could not isolate different version)Read the bottom section in https://deno.land/std/manual.md#linking-to-third-party-code.
A tool for updating versioned urls: https://github.com/hayd/deno-udd
But agree that using deps.ts makes things easier.
Most helpful comment
Read the bottom section in https://deno.land/std/manual.md#linking-to-third-party-code.