Permalink
Switch branches/tags
Commits on Oct 31, 2010
  1. npm deprecate function

    isaacs committed Oct 31, 2010
Commits on Oct 30, 2010
  1. add some notes for 0.2.6

    isaacs committed Oct 30, 2010
  2. do color and lf if its a tty

    isaacs committed Oct 30, 2010
  3. Merge branch 'recursive-rm'

    isaacs committed Oct 30, 2010
  4. Add recursive remove support. Major refactor.

    Fix several issues related to not being able to uninstall things for one
    reason or another.
    
    Add the --recursive flag to recursively uninstall all the dependents
    that would whine about something disappearing (with a warning, since it
    could cause some unexpected behavior or stuff going away.)
    
    Add the --force flag to uninstall things, even if doing so would cause
    a dependent package to possibly no longer function properly.  This is
    *really* not a good thing to do, and I waffled on it a lot, but there
    are some cases where garbage or broken links can exist, and having the
    tool is better than not having it.
    
    Don't respect links in the dependents folder that aren't actually links to
    proper valid working packages with a package.json file.  Just ignore em.
    isaacs committed Oct 30, 2010
Commits on Oct 29, 2010
  1. bump version to 0.2.6alpha

    isaacs committed Oct 29, 2010
  2. require output in ls.js

    olivoil committed with isaacs Oct 29, 2010
  3. refactor output to go through central module

    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.
    isaacs committed Oct 29, 2010
  4. Dedicated central output writing path

    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.
    isaacs committed Oct 29, 2010
  5. clean when linking

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

    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.
    isaacs committed Oct 27, 2010
  2. pass info on up from npm ls

    isaacs committed Oct 27, 2010
  3. Only prune if prune is set true

    isaacs committed Oct 27, 2010
Commits on Oct 26, 2010