Re: lodash-node
On 14/08/14 22:41, T.C. Hollingsworth wrote: On Tue, Aug 5, 2014 at 11:35 AM, Tom Hughes t...@compton.nu wrote: What do people think about this approach? Looks nice. I was having nightmares about texlive.spec but your lua magic here is much nicer and easier to see what's going on. Excellent work! Please commit. I've pushed it in rawhide and F21 now. Tom -- Tom Hughes (t...@compton.nu) http://compton.nu/ ___ nodejs mailing list nodejs@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/nodejs
Re: lodash-node
On 22/04/14 17:39, Tom Hughes wrote: On 17/04/14 19:02, Jamie Nguyen wrote: The lodash-node module can be re-built by doing this: $ lodash modularize compat -o compat $ lodash modularize underscore -o underscore $ lodash modularize modern -o modern So you'll probably need to package lodash-cli first, remove lodash-node/{compat,modern,underscore}, and rebuild using the above commands. That's my understanding anyway. I, err, could be wrong about all of the above.. I think you're about right, but it turns out there's an extra bit of fun here, namely that lodash-cli uses the closure-compiler npm, which is just a wrapper for the closure javascript minifier which has already been declared unpackagable... Actually, closure is packaged for rawhide :) http://koji.fedoraproject.org/koji/packageinfo?packageID=17960 Sadly, I don't think it will make it into Fedora 20 or EPEL 6. It's blocking on a too-old release of guava: https://bugzilla.redhat.com/show_bug.cgi?id=1023832 -- Jamie Nguyen signature.asc Description: OpenPGP digital signature ___ nodejs mailing list nodejs@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/nodejs
Re: lodash-node
On 16/04/14 16:35, Tom Hughes wrote: I have an existing package that has a new version with a dependency on lodash-node so I was trying to package it but ran into the question of exactly what it is and how to deal with it... We have lodash packaged already and as bast I can figure out lodash-node is the result of using lodash-cli to build node modules from lodash. Though I'm not sure what that means when lodash is already a node module?!? In any case does that mean I should package lodash-cli first and then make the lodash-node package do that build step? lodash-cli allows commands like this: $ lodash compat $ lodash underscore $ lodash modern The file created by each of the above contain a subset of lodash functionality tailored to whatever preset you've chosen. lodash-node contains three subsets (compat, underscore, modern), but splits every single routine/function/method into a separate file. This allows individual methods to be required: var isEqual = require('lodash-node/modern/objects/isEqual'); The lodash-node module can be re-built by doing this: $ lodash modularize compat -o compat $ lodash modularize underscore -o underscore $ lodash modularize modern -o modern So you'll probably need to package lodash-cli first, remove lodash-node/{compat,modern,underscore}, and rebuild using the above commands. That's my understanding anyway. I, err, could be wrong about all of the above.. Kind regards, -- Jamie Nguyen signature.asc Description: OpenPGP digital signature ___ nodejs mailing list nodejs@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/nodejs