{"action":"created","issue":{"url":"https://api.github.com/repos/alexhultman/uWebSockets/issues/88","repository_url":"https://api.github.com/repos/alexhultman/uWebSockets","labels_url":"https://api.github.com/repos/alexhultman/uWebSockets/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/alexhultman/uWebSockets/issues/88/comments","events_url":"https://api.github.com/repos/alexhultman/uWebSockets/issues/88/events","html_url":"https://github.com/alexhultman/uWebSockets/pull/88","id":153002516,"number":88,"title":"Distribute two npm modules: source and binary","user":{"login":"kapouer","id":131406,"avatar_url":"https://avatars.githubusercontent.com/u/131406?v=3","gravatar_id":"","url":"https://api.github.com/users/kapouer","html_url":"https://github.com/kapouer","followers_url":"https://api.github.com/users/kapouer/followers","following_url":"https://api.github.com/users/kapouer/following{/other_user}","gists_url":"https://api.github.com/users/kapouer/gists{/gist_id}","starred_url":"https://api.github.com/users/kapouer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kapouer/subscriptions","organizations_url":"https://api.github.com/users/kapouer/orgs","repos_url":"https://api.github.com/users/kapouer/repos","events_url":"https://api.github.com/users/kapouer/events{/privacy}","received_events_url":"https://api.github.com/users/kapouer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2016-05-04T12:44:05Z","updated_at":"2016-05-05T14:02:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alexhultman/uWebSockets/pulls/88","html_url":"https://github.com/alexhultman/uWebSockets/pull/88","diff_url":"https://github.com/alexhultman/uWebSockets/pull/88.diff","patch_url":"https://github.com/alexhultman/uWebSockets/pull/88.patch"},"body":"## Makefile changes\r\nTo develop, just `make`.\r\nTo prepare a release, `VERSION=0.3.2 make prepare` and check the content of uws-binary, uws-source folders.\r\nTo publish, `VERSION=0.3.2 make publish` will publish both.\r\nAlso note the stamp on targets/ to avoid redownloading.\r\n\r\n## package.json changes\r\nThe `uws` package tells which nodejs versions and os it exactly supports.\r\nThe `uws-source` package is a little less strict by essence.\r\nI alos finished the work on binding.gyp so flags are set for darwin, and filename is the one expected by uws.js. I think it's a bad idea to load a versioned filename, because the error message will be misleading (missing module). Node already has a module version mismatch check and appropriate warning - but i didn't change that.\r\n"},"comment":{"url":"https://api.github.com/repos/alexhultman/uWebSockets/issues/comments/217162845","html_url":"https://github.com/alexhultman/uWebSockets/pull/88#issuecomment-217162845","issue_url":"https://api.github.com/repos/alexhultman/uWebSockets/issues/88","id":217162845,"user":{"login":"kapouer","id":131406,"avatar_url":"https://avatars.githubusercontent.com/u/131406?v=3","gravatar_id":"","url":"https://api.github.com/users/kapouer","html_url":"https://github.com/kapouer","followers_url":"https://api.github.com/users/kapouer/followers","following_url":"https://api.github.com/users/kapouer/following{/other_user}","gists_url":"https://api.github.com/users/kapouer/gists{/gist_id}","starred_url":"https://api.github.com/users/kapouer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kapouer/subscriptions","organizations_url":"https://api.github.com/users/kapouer/orgs","repos_url":"https://api.github.com/users/kapouer/repos","events_url":"https://api.github.com/users/kapouer/events{/privacy}","received_events_url":"https://api.github.com/users/kapouer/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T14:02:58Z","updated_at":"2016-05-05T14:02:58Z","body":"Latest commit address the problem with failing node-gyp during install. Now it's really a few non-worrying line in case it falls back to binaries.\r\n\r\nThe rest of your concerns i cannot address. What i proposed with that PR is what expect a vast majority of npm users when they do `npm install someaddon`. A smoother experience, while still retaining ability to hack and rebuild from the npm package (as it is the case for most addons in npm), is provided by tools like `node-pre-gyp` but you said you want to avoid depending on more tools.\r\n\r\n"}}