pxnpm 3.0.7 → 3.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/config.js +1 -1
  2. package/package.json +1 -1
package/lib/config.js CHANGED
@@ -109,7 +109,7 @@ let pxnpmServer = `http://tpl.cln3.nfjbill.ren`;
109
109
  // proxy = addr.proxy;
110
110
  // }
111
111
 
112
- let proxy = 'http://tpl.cln3.nfjbill.ren:20022';
112
+ let proxy = `${isPublish ? '' : 'http://tpl.cln3.nfjbill.ren:20022'}`;
113
113
  let registry = `http://tpl.cln3.nfjbill.ren:${isPublish ? 20023 : 20021}`;
114
114
 
115
115
  const userconfig = path.join(root, '.pxnpmrc');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pxnpm",
3
- "version": "3.0.7",
3
+ "version": "3.0.8",
4
4
  "description": "cnpm: npm client for cnpmjs.org",
5
5
  "preferGlobal": true,
6
6
  "bin": {