Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full management of versions à la nvm with offline/cache capabilities and wildcards #25749

Open
ericlery opened this issue Sep 19, 2024 · 0 comments
Labels
cli related to cli/ dir suggestion suggestions for new features (yet to be agreed)

Comments

@ericlery
Copy link

ericlery commented Sep 19, 2024

Observation

Deno added cool ways to upgrade like installing without --version or deno upgrade [rc|lts].

But still it could be better. Versions are too precise, and you can't just ask for 1.46, neither ask for 1.46.* nor ~1.46.

Also, it would be good to have a full listing of the versions available and list the RCs, and LTSs in a nvm list-remote fashion.

Cherry on top would be offline resolution of the version asked if the list of tag is fresh, let's say a day. Similar to deno run -r, --reload, a reload option would refresh the cache.

Subcommands suggestion

deno ls-remote, list-remote [lts|*wildcard*] # What is available online
deno list [lts|*wildcard*] # offline list. A `-r, --remote` could make the `ls-remote` useless
deno upgrade [lts] # Already exists, but needs *wildcards* 
deno prune [one-version|*wildcard*] [-a, --all-unused, -d --dangling] [-o, --outdated] # outdated will remove all past versions, so if 1.46.3 is the current, 1.46.{0,1,2} will be deleted

See past issues:

@ericlery ericlery changed the title Full versions management à la nvm with offline/cache capabilities and wildcards Full management of versions à la nvm with offline/cache capabilities and wildcards Sep 19, 2024
@littledivy littledivy added cli related to cli/ dir suggestion suggestions for new features (yet to be agreed) labels Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli related to cli/ dir suggestion suggestions for new features (yet to be agreed)
Projects
None yet
Development

No branches or pull requests

2 participants