Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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

    authored
  2. @isaacs

    refactor output to go through central module

    isaacs authored
    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. @isaacs

    Dedicated central output writing path

    isaacs authored
    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. @isaacs
  5. @isaacs
  6. @isaacs

    clean when linking

    isaacs authored
Commits on Oct 28, 2010
  1. @isaacs
  2. @isaacs
  3. @isaacs
Commits on Oct 27, 2010
  1. @isaacs

    Add the "logfd" config

    isaacs authored
    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. @isaacs
  3. @isaacs

    pass info on up from npm ls

    isaacs authored
  4. @isaacs

    Only prune if prune is set true

    isaacs authored
  5. @isaacs
  6. @isaacs
Commits on Oct 26, 2010
  1. @indexzero @isaacs

    [minor] Move sudo warning till after npm.config is set

    indexzero authored isaacs committed
  2. @5long @isaacs

    Document require.main doesn't work as usual in bin file.

    5long authored isaacs committed
Commits on Oct 25, 2010
  1. @isaacs

    patch

    isaacs authored
  2. @isaacs

    Put back the temp directory assurance kludge.

    isaacs authored
    One day this will go away, I promise.
  3. @isaacs

    v0.2.5

    isaacs authored
  4. @isaacs

    notes for 0.2.5, and make doc

    isaacs authored
  5. @isaacs

    Remove last *Sync stuff

    isaacs authored
    Fetches are now done without even a momentary synchronous bit of IO.  npm may be used programmatically.
  6. @isaacs
Commits on Oct 24, 2010
  1. @isaacs
  2. @isaacs
  3. @isaacs

    comment fix

    isaacs authored
  4. @isaacs

    s/dependencies/node_modules/g

    isaacs authored
  5. @isaacs
  6. @isaacs

    Yo dawg!

    isaacs authored
    I heard you like error handling, so I put an error in your error handler so you can debug while you debug!
  7. @isaacs

    More "programmatic npm" updates.

    isaacs authored
    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.
  8. @isaacs

    dont' exit forcefully

    isaacs authored
Commits on Oct 23, 2010
  1. @indexzero @isaacs

    [api] Small changes to make npm available programatically

    indexzero authored isaacs committed
Commits on Oct 22, 2010
  1. @isaacs
  2. @isaacs
  3. @isaacs
Something went wrong with that request. Please try again.