libpkgx icon indicating copy to clipboard operation
libpkgx copied to clipboard

Creating an LTS tag for node js

Open kishaningithub opened this issue 2 years ago • 3 comments

When I am using NVM my general usage is to run nvm install --lts to ensure I use the latest node LTS version in my project

It would be great if I can do something like pkgx node@lts --version and use the latest LTS version

kishaningithub avatar Nov 04 '23 04:11 kishaningithub

it's an interesting idea. what you'd want to implement would be something like:

versions:
  github: nodejs/node/releases/tags
  aliases:
    lts: ^24 || ^22 || ^20 || ^18 || ^16

or similar. I believe that support would be in pkgxdev/libpkgx. I'll move this issue there for further exploration.

jhheider avatar Nov 04 '23 05:11 jhheider

I would enjoy exploring the idea. Alias is not the right word IMO. Tags perhaps. Though that has connotations with git tags.

mxcl avatar Nov 17 '23 11:11 mxcl

Another one would be rust’s nightly tag.

mxcl avatar Nov 17 '23 11:11 mxcl