-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Misc #202
Misc #202
Conversation
…he engine requirement or it will not work with future node versions.
…ket.io-node` requires as that is the name according to the package.json. Also updated the styling to fancy pancy HTML highlighting
, "dependencies": {} | ||
, "main": "index" | ||
, "engines": { "node": "0.4.x" } | ||
, "engines": { "node": ">= 0.4.0" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wouldn't do that, this bit me with many of my earlier modules
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both situations are indeed less than ideal, but the previous version was to restrictive this allows 0.4 and >. So I guess there isn't perfect solution for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
were you wanting to use it with the 0.5.x stuff? maybe >= 0.4.0 < 0.6.0
would be ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I develop and test all code on 0.4 and 0.5 to ensure a flawless upgrade once a new stable node.js is available.
So I guess a >= 0.4.0 < 0.6.0
would be suitable for this.
Want me to update the commit?
On May 8, 2011, at 7:13 PM, visionmedia wrote:
, "dependencies": {}
, "main": "index"
- , "engines": { "node": "0.4.x" }
- , "engines": { "node": ">= 0.4.0" }
were you wanting to use it with the 0.5.x stuff? maybe
>= 0.4.0 < 0.6.0
would be okReply to this email directly or view it on GitHub:
https://github.com/LearnBoost/Socket.IO-node/pull/202/files#r27205
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
personally I dont think people should be targeting 0.5.x at all, it's just not really a concern right now but we'll see what @guille thinks. IMO we should leave it at 0.4.x
package.json
Added more keywords, repository and updated the engine so that it actually installs on future node versions
Readme
Changed to fancy pansy
redcarpet
enabled syntax highlighting. Changedrequire('socket.io')
to `socket.io-node as that is the name according to the package.json and fixed small spelling mistake.