Skip to content

Instantly share code, notes, and snippets.

@fitzgen
Created June 8, 2010 18:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fitzgen/430406 to your computer and use it in GitHub Desktop.
Save fitzgen/430406 to your computer and use it in GitHub Desktop.
sudo npm publish .
npm configfile /home/fitzgen/.npmrc
npm sudo true
npm cli [ 'publish', '.' ]
npm version 0.1.14
npm publish [ '.' ]
npm readJson package.json
npm packTar . /usr/local/lib/node/.npm/.cache/wu/0.1.1/package.tgz
npm exec tar "czf" "/usr/local/lib/node/.npm/.cache/wu/0.1.1/package.tgz" "--exclude" ".git" "wu.js"
npm exec tar "xzf" "/usr/local/lib/node/.npm/.cache/wu/0.1.1/package.tgz" "--strip" "1" "-C" "/usr/local/lib/node/.npm/.cache/wu/0.1.1/package"
npm readJson /usr/local/lib/node/.npm/.cache/wu/0.1.1/package/package.json
npm publish { name: 'wu'
, description: 'A lazy, functional Javascript library that ain\'t nuthin\' ta f*ck wit.'
, author:
{ name: 'Nick Fitzgerald'
, email: 'fitzgen@gmail.com'
, url: 'http://fitzgeraldnick.com'
}
, bugs: 'http://github.com/fitzgen/wu.js/issues'
, licenses:
[ { type: 'MIT'
, url: 'http://www.opensource.org/licenses/mit-license.php '
}
]
, repositories:
[ { type: 'git'
, url: 'http://github.com/fitzgen/wu.js'
}
]
, url: 'http://fitzgen.github.com/wu.js'
, version: '0.1.1'
, directories: { lib: './lib' }
, main: './lib/wu'
, _id: 'wu-0.1.1'
}
npm PUT wu
npm GET wu
npm tarball /usr/local/lib/node/.npm/.cache/wu/0.1.1/package.tgz
npm stat /usr/local/lib/node/.npm/.cache/wu/0.1.1/package.tgz { dev: 2050
, ino: 150353
, mode: 33188
, nlink: 1
, uid: 0
, gid: 0
, rdev: 0
, size: 3863226
, blksize: 4096
, blocks: 7552
, atime: Tue, 08 Jun 2010 18:03:07 GMT
, mtime: Tue, 08 Jun 2010 18:03:07 GMT
, ctime: Tue, 08 Jun 2010 18:03:07 GMT
}
npm PUT wu/-/wu-0.1.1.tgz/-rev/3-fee2bca61b29c1056c9c10801f40ed90
npm uploading /usr/local/lib/node/.npm/.cache/wu/0.1.1/package.tgz
npm bytes 3863226
npm uploaded /usr/local/lib/node/.npm/.cache/wu/0.1.1/package.tgz
npm registry error parsing json
npm PUT wu/0.1.1
npm ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment