Skip to content

[Discussion]What's the best version manager for deno package? #4291

@ahuigo

Description

@ahuigo

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?

  1. yarn's PnP solution: bind version with module, and use a resolver like .pnp.js to parse module version and module path.
  2. python's solution: use requirements.txt to record package's version, use virtualenv to isolate different project(it could not isolate different version)
  3. go mod solution?
  4. Other solution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions