Permalink
Commits on Oct 29, 2010
  1. require output in ls.js

    olivoil committed Oct 29, 2010
  2. refactor output to go through central module

    isaacs committed Oct 29, 2010
    This is the dramatic refactor which was alluded to in ed004e0.
    
    1. All output goes through a central module.
    2. Callbacks are called when data is flushed, but only ever called once
    3. Set "outfd" and "logfd" to direct output and error to different places,
       or set to a writable stream when using npm programmatically.
    4. Clean up the many varied ways to write data to the console.
    5. Set colors smarter, and allow overriding by setting the "color" config.
  3. Dedicated central output writing path

    isaacs committed Oct 29, 2010
    All output goes through a central point.  This is the start of a dramatic
    refactoring which makes it much easier to track what goes on in npm when
    it is used programmagically.
  4. clean when linking

    isaacs committed Oct 29, 2010
Commits on Oct 28, 2010
Commits on Oct 27, 2010
  1. Add the "logfd" config

    isaacs committed Oct 27, 2010
    Log statements are written to the file descriptor or stream object passed in as the "logfd" configuration param.
    
    For bonus points, if it's not a tty, it doesn't get colorised.
    
    So, if someone does this:
    
    npm install npm --logfd 1 | pbcopy
    
    then it'll actually be a log that can be pasted into an email without a bunch of tty color code noise.
  2. pass info on up from npm ls

    isaacs committed Oct 27, 2010
Commits on Oct 26, 2010
Commits on Oct 25, 2010
  1. patch

    isaacs committed Oct 25, 2010
  2. Put back the temp directory assurance kludge.

    isaacs committed Oct 25, 2010
    One day this will go away, I promise.
  3. v0.2.5

    isaacs committed Oct 25, 2010
  4. notes for 0.2.5, and make doc

    isaacs committed Oct 25, 2010
  5. Remove last *Sync stuff

    isaacs committed Oct 25, 2010
    Fetches are now done without even a momentary synchronous bit of IO.  npm may be used programmatically.
Commits on Oct 24, 2010
  1. comment fix

    isaacs committed Oct 24, 2010
  2. s/dependencies/node_modules/g

    isaacs committed Oct 24, 2010
  3. Yo dawg!

    isaacs committed Oct 24, 2010
    I heard you like error handling, so I put an error in your error handler so you can debug while you debug!
  4. More "programmatic npm" updates.

    isaacs committed Oct 24, 2010
    Building more upon the patch from Charlie Robbins (d7c6982), these changes remove any way of npm actually triggering a program exit than by being called by the cli.
    
    - Move the "exit" option off the opts object and onto a proper config setting.  Why not?
    - Use \r\n for most output, so that it'll look correct in the repl, or other places where \n may not be enough.
    - Add a comment about loading npm programmatically.
  5. dont' exit forcefully

    isaacs committed Oct 24, 2010
Commits on Oct 23, 2010
Commits on Oct 22, 2010