Git Product home page Git Product logo

Comments (7)

aredridel avatar aredridel commented on August 18, 2024 1

Thanks! Fixed!

In general, I maintain vX-lts tags, since multiple branches can be lts at once, and tagging just 'lts' means you might get a major version without warning. That said lts should be maintained and is now pointing to 12.18.2.

from node-bin-gen.

aredridel avatar aredridel commented on August 18, 2024 1

There's a json file on nodejs.org in the downloads directory that could be used for automation

from node-bin-gen.

aredridel avatar aredridel commented on August 18, 2024 1

The json file is at https://nodejs.org/dist/index.json

from node-bin-gen.

mlandisbqs avatar mlandisbqs commented on August 18, 2024

...if there is a better way to programmatically pull the LTS version I am definitely all ears. I just assumed this was part of the build and deploy process for NodeJS / NPM :) Thanks for the fix.

from node-bin-gen.

aredridel avatar aredridel commented on August 18, 2024

Heh, it's actually kinda manual on my part. I keep meaning to script it but never get around to it.

you can use the tag v12-lts if you want to pin to 12. Your case ("we want to test against whatever LTS is declared to be") might be the good reason to use the lts tag tho

from node-bin-gen.

mlandisbqs avatar mlandisbqs commented on August 18, 2024

Hmmm, I could not find that json file linked or in the source code for the page. My team also uses nvm to manage the node version switching and it looks like nvm has this command which could work well for us depending on how often nvm keeps it up to date:

nvm version-remote --lts

Found it here: nvm-sh/nvm#1706

from node-bin-gen.

aredridel avatar aredridel commented on August 18, 2024

And yeah, it's super hidden unless you directory hack your way there and realize that nodejs has old school FTP-site style parts.

from node-bin-gen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.