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

Add support for lts/* #146

Merged
merged 4 commits into from
Oct 8, 2019
Merged

Add support for lts/* #146

merged 4 commits into from
Oct 8, 2019

Conversation

Schniz
Copy link
Owner

@Schniz Schniz commented Oct 2, 2019

This should fix #137.

Apparently, theres a json file in the Node dist that holds all the versions. This can be queried against to find the latest LTS, but can also be used to get any version we want. It can be cached locally and it should work better than traversing the HTML nodes as we do right now.

This PR doesn't implement this but starting to use an uncached index.json. I believe that in a future PR I'll migrate everything to use that file!

@Schniz Schniz self-assigned this Oct 2, 2019
@Schniz Schniz added the PR: New Feature A new feature was added label Oct 2, 2019
@Schniz Schniz force-pushed the add-latest-lts-support branch from 6614fa2 to 3fa8126 Compare October 2, 2019 09:44
@Schniz Schniz mentioned this pull request Oct 3, 2019
@Schniz Schniz merged commit 65c6d56 into master Oct 8, 2019
@Schniz Schniz deleted the add-latest-lts-support branch October 8, 2019 03:07
@Schniz Schniz mentioned this pull request Oct 8, 2019
for test_file in $DIRECTORY/*/run.sh; do
for test_file in $DIRECTORY/latest-lts/run.sh; do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this a mistake, @Schniz?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indeed! whoops!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: New Feature A new feature was added
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support lts/* in .nvmrc files
2 participants