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?
- yarn's PnP solution: bind version with module, and use a resolver like
.pnp.js to parse module version and module path.
- python's solution: use
requirements.txt to record package's version, use virtualenv to isolate different project(it could not isolate different version)
- go mod solution?
- Other solution?