Re: [nodejs] NPM: How to install packages without compiling them

2012-10-14 Thread Bradley Meck
For future reference: https://groups.google.com/forum/?fromgroups#!topic/nodejs/0iosr9ln2AA On Thursday, October 11, 2012 4:07:24 PM UTC-5, Mariusz Nowak wrote: Bradley, thanks. I'll try that. Anyway it looks it needs to be done programmatically, maybe I'll come up with some neat module that

Re: [nodejs] NPM: How to install packages without compiling them

2012-10-11 Thread Mariusz Nowak
Daniel, I think 'npm rebuild' may work for installation of already created bundle, but still what's missing is how to download all dependencies into correct folders without compiling them. On Thursday, October 11, 2012 3:30:37 PM UTC+2, Daniel R. wrote: I believe the easiest way to achieve

Re: [nodejs] NPM: How to install packages without compiling them

2012-10-11 Thread Bradley Meck
https://npmjs.org/doc/config.html#rebuild-bundle On Thursday, October 11, 2012 8:49:10 AM UTC-5, Mariusz Nowak wrote: Daniel, I think 'npm rebuild' may work for installation of already created bundle, but still what's missing is how to download all dependencies into correct folders without

Re: [nodejs] NPM: How to install packages without compiling them

2012-10-11 Thread Bradley Meck
Forgot to mention, bundle the dependencies on your build server. On Thursday, October 11, 2012 10:25:56 AM UTC-5, Bradley Meck wrote: https://npmjs.org/doc/config.html#rebuild-bundle On Thursday, October 11, 2012 8:49:10 AM UTC-5, Mariusz Nowak wrote: Daniel, I think 'npm rebuild' may work

Re: [nodejs] NPM: How to install packages without compiling them

2012-10-11 Thread Mariusz Nowak
Bradley thanks, it's probably best way to install bundle that was already prepared, but do you know the way how can I create such bundle? This is what I'm missing (!) :) On Thursday, October 11, 2012 5:26:24 PM UTC+2, Bradley Meck wrote: Forgot to mention, bundle the dependencies on your

Re: [nodejs] NPM: How to install packages without compiling them

2012-10-11 Thread Bradley Meck
you can do something like ``` npm i cat package.json | json -e this.bundledDependencies='$(for FILE in $(ls -A node_modules); do printf $FILE ; done)'.split(/ /) package.json npm pack ``` We do something a bit more complex on our build server but this covers most cases (wont set env