-
-
Notifications
You must be signed in to change notification settings - Fork 745
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
Support Node Support Aliases #617
Comments
So the way I see that working in both One thing brought up on |
Thanks for reply @wesleytodd. So if I am (just) picking the highest version at the time, are these mappings always correct?
(i.e. no dates consulted, newest version is implicitly always active.) |
References: A more formal list in a draft document: https://github.com/nodejs/package-maintenance/blob/master/docs/drafts/PACKAGE-SUPPORT.md#node-name-space GitHub Actions discussion: actions/setup-node#26 Discussion about whether current and lts can every overlap: https://github.com/nodejs/Release/blob/master/schedule.json Node release plan (and phases et al): https://github.com/nodejs/release#release-plan Tool for getting node versions by common aliases: https://github.com/pkgjs/nv |
I have refreshed myself on all the links and threads I could find. The closest I can find to a canonical reference is https://github.com/nodejs/package-maintenance/blob/master/docs/drafts/PACKAGE-SUPPORT.md#node-name-space At what stage is it appropriate to add support for these aliases in a release version of (@pkgjs/nv is at 0.0.3.) |
Looks correct to me.
That is just a process thing, we have a limited number of people participating and so some of these sit in the draft bucket for a while. This is really the reference for now: nodejs/package-maintenance#236 (comment) |
I am planning to leave these out of first implementation, revisit in future:
Reference: pkgjs/nv#7 |
|
Added |
I was wondering about what data might be added to I did an experiment by converting https://github.com/shadowspawn/node-schedule-tab/blob/master/nv (Having the active and support status in |
The document "Baseline practice - Document support levels" has just moved out out of draft: |
Shipped in |
I am opening this as a parallel to nvm-sh/nvm#2170 , rather than gate-crashing the
nvm
issue.FYI: @wesleytodd
The Node Aliases are: nodejs/package-maintenance#236
In general,
n
resolves an alias to a single resolved version. There are not any existing commands inn
where an alias resolves to multiple versions across major version number or release streams.The Node Aliases which specify a single version are
lts_latest
andcurrent
(which are currently available inn
aslts
andcurrent
). I see those as being relevant to a node version manager, and the version can be resolved using just the information in https://nodejs.org/dist/index.tab.The Node aliases which cover multiple streams are
all
,lts
,active
,lts_active
.Is there any value in supporting these aliases in some way when
n
does not have multiple version behaviour? My feeling is that it would be inconsistent asn run all
would effectively be identical ton run current
, and these aliases seem more relevant in a CI setting where you want test run across a matrix of target versions.The text was updated successfully, but these errors were encountered: