| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
We were doing our own highly custom (read: fragile) life cycle scripting for installing NodeGit. This should make it more in line with npm standards Update to latest lodash
Also adds console output to let the user know a bit more about what's currently being done during install.
Sorry, something went wrong.
|
I'll test it tonight 😍 |
Sorry, something went wrong.
|
Talked with john about this in person a moment ago, but putting here for records. We can't clean the source afterwards. The standard workflow for electron/nwjs is to npm install normally, then run a rebuild with the appropriate headers. This works with all other native modules i've seen, and currently works with nodegit, but cleaning the src/includes out would break that. We have to be able to run npm run rebuild after install has finished. Otherwise, gonna review it up right now. |
Sorry, something went wrong.
| /examples/ | ||
| /generate/ | ||
| /guides/ | ||
| /lib/ |
There was a problem hiding this comment.
Why ignore lib? all of our js is in there?
Sorry, something went wrong.
There was a problem hiding this comment.
lib should already be 100% built and in dist.
Sorry, something went wrong.
There was a problem hiding this comment.
That makes complete and total sense and I should have realized that, but sometimes I am do the forget.
Sorry, something went wrong.
|
This should be good now :) |
Sorry, something went wrong.
| "lodash": "~3.10.1", | ||
| "mocha": "~2.3.4", | ||
| "nan": "^2.2.0", | ||
| "node-gyp": "~3.0.3", |
There was a problem hiding this comment.
The gyp exclusions make me SO GODDAMNED HAPPY.
Sorry, something went wrong.
|
I'm so far removed from the lifecycle hooks code lately, but this looks v. good, nice work! |
Sorry, something went wrong.
|
@tbranyen There are a lot of improvements in npm3, but there are some definite regressions, and it doesn't fix the fact that npm2 is bundled with node 4 which is LTS :/ By excluding having to generate the code in our bundles, we just have to configure libssh2 if needed, ensure our deps are all installed when we run node-pre-gyp (this is not guaranteed properly in npm2, but it is in npm3 and trying to insure it ourself anyways actually breaks in npm3). We fall back to the default node-gyp now, since all that confusion was from A) node 0.8 and then came back in iojs 1/2. A lot has changed, but overall the process is easier to follow now in npm3. |
Sorry, something went wrong.
|
🎉 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
We were doing our own highly custom (read: fragile) life cycle scripting for installing NodeGit.
This should make it more in line with npm standards.