Comparing version 0.0.21 to 0.0.22
0.0.22 / 2014-01-10 | ||
================== | ||
* Sync package as publish. | ||
0.0.21 / 2013-12-23 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -21,2 +21,3 @@ /**! | ||
var spawn = require('child_process').spawn; | ||
var fs = require('fs'); | ||
var config = require('./config'); | ||
@@ -31,2 +32,8 @@ var parseArgv = require('./parse_argv'); | ||
if (program.userconfig && !fs.existsSync(program.userconfig)) { | ||
// make sure userconfig exists | ||
// or it will throw: npm ERR! Error: default value must be string or number | ||
fs.writeFileSync(program.userconfig, 'email =\n'); | ||
} | ||
args.unshift('--registry=' + program.registry); | ||
@@ -33,0 +40,0 @@ args.unshift('--cache=' + program.cache); |
{ | ||
"name": "cnpm", | ||
"version": "0.0.21", | ||
"version": "0.0.22", | ||
"description": "cnpm: npm client for cnpmjs.org", | ||
@@ -5,0 +5,0 @@ "main": "bin/cnpm", |
@@ -34,3 +34,6 @@ /**! | ||
.option('-u, --userconfig [userconfig]', 'userconfig file, default is ' + config.userconfig) | ||
.option('-y, --yes', 'yes all confirm'); | ||
.option('-y, --yes', 'yes all confirm') | ||
.option('--publish', '[sync options] sync as publish') | ||
.option('--no-deps', '[sync options] do not sync dependencies and devDependencies') | ||
; | ||
@@ -37,0 +40,0 @@ // commander's bug, fix here |
@@ -6,3 +6,3 @@ cnpm | ||
![logo](https://raw.github.com/fengmk2/cnpmjs.org/master/logo.png) | ||
![logo](https://raw.github.com/cnpm/cnpmjs.org/master/logo.png) | ||
@@ -29,3 +29,3 @@ cnpm: npm client for [cnpmjs.org](http://cnpmjs.org) | ||
``` | ||
```bash | ||
$ npm install cnpm -g | ||
@@ -32,0 +32,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25481
270
10