pkgxdev / libpkgx

`import`… but with pkging powers
https://npmjs.com/libpkgx
Apache License 2.0
62 stars 11 forks source link

Creating an LTS tag for node js #53

Open kishaningithub opened 9 months ago

kishaningithub commented 9 months ago

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

jhheider commented 9 months ago

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.

mxcl commented 9 months ago

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

mxcl commented 9 months ago

Another one would be rust’s nightly tag.