Re: [nodejs] Re: Build tool

2012-02-05 Thread Phoscur
Yeah, of course. But browserify does this better as anything else, and it's IMO the most important part of the JavaScript build process. So a lot of focus should go on this and every single nodejs build tool should support it by default. Just specifying one file to start this assembly and then add

[nodejs] Re: Build tool

2012-02-03 Thread CoolAJ86
pakmanager also inspects requires such as `require('./some/local/module')` and `require('some-npm-module')`. It will give you warnings if you have deps listed in package.json which are not being used as well as if you're requiring files which are neither on the filesystem nor in package.json.

[nodejs] Re: Build tool

2012-02-02 Thread hij1nx
You could call Browserify a build tool, but it has a single purpose (which is good!), it will bundle your commonjs for use in the browser. But a lot of the tools mentioned are more general purpose software build tools. -- Paolo Fragomeni Co-founder, CTO Nodejitsu, Inc. www.twitter.com/hij1nx www.g

Re: [nodejs] Re: Build tool

2012-02-02 Thread Phoscur
Yes, both browserifyand browserbuild assemble a concatenated file with all files used by require(). Eh, just had a closer look at their sourcecode... browserbuild does not resolve dependencies, it just includes all files available. browserify uses some kind of detective to included needed files (s

[nodejs] Re: Build tool

2012-02-01 Thread hij1nx
do any of these do automatic dependency resolving? On Feb 1, 12:23 am, Phoscur wrote: > Great, an alternative to browserify! This is perfect. Now I can choose a > build process to combine this with. > Thanks a lot! > > So far I've seen > cake, grunt and codesurgeon for the build process > and >

Re: [nodejs] Re: Build tool

2012-01-31 Thread Phoscur
Yes, I've seen codesurgeon. But it doesn't support this: > -automatic dependency resolving and including files How do you load all relevant files? Declaring all files explictly would be a lot of work... Building a custom require could work by prepending > function require(module) { > return r

Re: [nodejs] Re: Build tool

2012-01-31 Thread Phoscur
That is not true. I've been watching that topic, and I couldn't see anything useful for me in it. Ofc I don't want a build system like Ant. Who likes XML nowadays?? I've seen cake, but that does not do any of the things I want to be done. Am 31.01.2012 19:52, schrieb deitch: > Been a long ongoing

[nodejs] Re: Build tool

2012-01-31 Thread hij1nx
Checkout codesurgeon. https://github.com/hij1nx/codesurgeon We use this at nodejitsu and for a number of the http://github.com/flatiron projects. -- Paolo Fragomeni Co-founder, CTO Nodejitsu, Inc. www.twitter.com/hij1nx www.github.com/hij1nx On Jan 31, 1:52 pm, deitch wrote: > Been a long ongo

[nodejs] Re: Build tool

2012-01-31 Thread deitch
Been a long ongoing discussion about this at http://groups.google.com/group/nodejs/browse_thread/thread/4f5270afb0de400f On Jan 31, 11:31 am, Phoscur wrote: > So, this means, there are no other build tools out there? > > Am 30.01.2012 17:48, schrieb Phoscur: > > > > > > > > > Hi, > > I've seen so