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
node.js versions support #75
Comments
nvm has |
@chicoxyzzy good idea! Do you want to investigate more? I afraid that we couldn’t do HTTP request on user side. But maybe we could pack answer in some JSON and publish it on npm. |
Yep. That was the idea. We can even add I'll do some research and provide a PR soon but no guarantees on estimates :) |
Cool idea. But I thought What if we will made a major update and some of enterprise users could not update for it for a months. But they need a fresh database. I have this problem in Autoprefixer. Enterprise users afraid to update code, but could be OK with updating data-only npm packages. Do you want to start this npm package? Or I could use http://cultofmartians.com/ to find a maintainer. |
I'll do it |
@chicoxyzzy awesome. You have great contribute and I could be sure with package maintaining :). |
Just created very naïve implementation https://github.com/chicoxyzzy/node-releases Ideally I need to
So release process will be automated and in the same time humans will be able to prevent broken PRs if bot will go crazy 🤖 |
@chicoxyzzy Awesome! We may need:
@hzoo what
|
As for |
@chicoxyzzy no need for separated npm package. You could put ALso, what do you think to join |
@chicoxyzzy good idea to put support time calculation to Browserlist. I need a support duration for every version. |
my 2 cents. pls, make it possible to make it easy to query two latest + all lts, maybe |
btw, why do you want to separate iojs and node? iojs is basically 1.0 ≤ node < 4.0 |
@iamstarkov technically iojs never was a node. It's a fork and almost all enterprise companies ignored it. So it may be useful for someone to separate iojs and nodejs |
@chicoxyzzy thats correct, though as far iojs happened quite a while ago, nobody will query it intentionally. so separation probably is just an implementation detail |
compat-table and babel-preset-env could query it |
@ai just realised end dates for versions are not useful at all. What we need is end of support dates for minors / majors (depending on major version of node —
should it return It seems like latter is more correct.
It feels like it should return Anyway I updated the repo and we can start experiment with processed data https://github.com/chicoxyzzy/node-releases |
@chicoxyzzy sure, great question :).
|
Maybe we should rename package to |
Personally I like @hzoo would be great if you chime in. Do you have any opinion on how browserlist queries for node should be designed? Also do we need patch versions or @ai we definitely should grab @ChALkeR and @vkurchatkin on HolyJS conf to discuss this in person! 😉🍺 |
@chicoxyzzy @ChALkeR @vkurchatkin sure! I hope I will survive all drinks at HolyJS :D. |
I've changed format a bit in alpha.4:
|
i'd suggest |
regarding
so its |
I like |
in terms of babel compile targets, they are |
Babel is not only thing in the world 😉 |
for sure, thats why i suggested |
@ai why? Currently, we are trying to resolve at least browserslist config support to use browserslist ^1.5. But we have some problems after But we would be very happy to have Also, I think we could support more targets like |
Ouh, sure. |
Hi everyone! In the last days I tried to look into ways how to create a "universal" libs which target multiple environments with a modern tooling in mind. I don't know the current state of the discussion above, because the last comments are nearly a year old and I don't know what happened offsite, but as I understood it there is commonly used format to express "all" the target environments for a lib.
I wonder if these efforts could be unified somehow? In an ideal world I would like to see a package called something like Would that be a worthwile goal? Do you know related discussions around that? |
@donaldpipowitch Yeap. I think Node.js must be in Browserslist. The problems I see right now:
So one way is to create some sort of wrap library. Which will take take two options (one for Node.js, one for browsers) and send second to Browserslist. But 2 packages will be hard to maintaince. So there is a second way. Add special Node.js queries to Browserslist and add addition config name ( What do you think about it this 2 ways? I could add Node.js support to Browserslist in few days if I will find good source with released Node.js versions. |
@ai I think that sounds good as well. Add Node.js support directly to |
👍 I will think about it at Friday. |
Hi there, just wanted to ask if you found time thinking about this issue a little bit. (But don't feel rushed. Take the time you need :)) |
Hi. Oops, a lot of time spent :(. Sorry, I am right now in moving to New York. You can help me with this issue. Can you try to find some config with Node.js versions and support dates? |
Cool! I just moved myself 😄 (But in the same city.) Good luck and a lot of fun in New York!
I'll try 👍 |
@MylesBorins here is a issue which I mentioned in email |
@ai, would this work? https://raw.githubusercontent.com/nodejs/Release/master/schedule.json :) |
@donaldpipowitch good start. But we need also minor and patch versions. |
Because they include different levels of language support/language features? |
https://nodejs.org/download/release/index.tab these files are kept up to date with each release. You can get version, and versions of embedded stuff such as (V8) |
It seems like same as https://nodejs.org/dist/index.json which I used in https://github.com/chicoxyzzy/node-releases |
@chicoxyzzy indeed, they are aliases to one another |
@ai @yavorsky what do we need from node-releases to use it in browserlist and preset env? |
@chicoxyzzy automatic publications will be very useful. Right now seems like I will add Cult of Martians task for this issue. |
@ai @chicoxyzzy I created Pull Request to |
Done #253 |
Released in 4.0 |
@hzoo what versions we should support?
node.js
only. Or we should addio.js
?Do we have any open database for version to not update browerslist on every node.js release?
Maybe we could create is? Do we know somebody from node.js release team to integrate a process (yeap, I a big optimiste :D)?
The text was updated successfully, but these errors were encountered: