Commit a4ce3520 authored by 邹绪超's avatar 邹绪超

Updates

parent d2515d40
......@@ -6,12 +6,12 @@
name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"
/>
<link rel="stylesheet" href="/umi.18190c73.css" />
<link rel="stylesheet" href="/umi.75818a0d.css" />
<script>
window.routerBase = "/";
</script>
<script>
//! umi version: 3.2.24
//! umi version: 3.2.28
</script>
</head>
<body>
......@@ -44,6 +44,6 @@
}
})();
</script>
<script src="/umi.6b5a2990.js"></script>
<script src="/umi.228c07fb.js"></script>
</body>
</html>
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[0],{HVN5:function(n,t,e){"use strict";e("0Owb"),e("q1tI"),e("mlvz")},OGKa:function(n,t,e){},"TN5+":function(n,t,e){"use strict";e("0Owb"),e("q1tI"),e("kERV")},VCHF:function(n,t,e){"use strict";e.r(t);var a=e("q1tI"),c=e.n(a),i=e("dEAq");e("jSav"),e("ZpkN"),e("TN5+"),e("HVN5"),e("tP8H");t["default"]=function(){return c.a.createElement(c.a.Fragment,null,c.a.createElement("div",{className:"markdown"},c.a.createElement("h2",{id:"\u5b89\u88c5"},c.a.createElement(i["AnchorLink"],{to:"#\u5b89\u88c5","aria-hidden":"true"},c.a.createElement("span",{className:["icon","icon-link"]})),"\u5b89\u88c5"),c.a.createElement("p",null,"\u5f53\u524d wisdom-components \u6bcf\u4e00\u4e2a\u7ec4\u4ef6\u90fd\u662f\u4e00\u4e2a\u72ec\u7acb\u7684\u5305\uff0c\u4f60\u9700\u8981\u5728\u4f60\u7684\u9879\u76ee\u4e2d\u5b89\u88c5\u5bf9\u5e94\u7684 npm \u5305\u5e76\u4f7f\u7528\u3002")))}},kERV:function(n,t,e){},mlvz:function(n,t,e){},tP8H:function(n,t,e){"use strict";e("tJVT"),e("q1tI"),e("OGKa")}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[0],{HVN5:function(e,n,a){"use strict";a("wx14"),a("q1tI"),a("mlvz")},OGKa:function(e,n,a){},"TN5+":function(e,n,a){"use strict";a("wx14"),a("q1tI"),a("kERV")},VCHF:function(e,n,a){"use strict";a.r(n);var t=a("q1tI"),l=a.n(t),r=a("dEAq"),c=(a("jSav"),a("ZpkN"));a("TN5+"),a("HVN5"),a("tP8H");n["default"]=function(){return l.a.createElement(l.a.Fragment,null,l.a.createElement("div",{className:"markdown"},l.a.createElement("h2",{id:"\u5b89\u88c5"},l.a.createElement(r["AnchorLink"],{to:"#\u5b89\u88c5","aria-hidden":"true"},l.a.createElement("span",{className:["icon","icon-link"]})),"\u5b89\u88c5"),l.a.createElement("p",null,"\u5f53\u524d wisdom-components \u6bcf\u4e00\u4e2a\u7ec4\u4ef6\u90fd\u662f\u4e00\u4e2a\u72ec\u7acb\u7684\u5305\uff0c\u4f60\u9700\u8981\u5728\u4f60\u7684\u9879\u76ee\u4e2d\u5b89\u88c5\u5bf9\u5e94\u7684 npm \u5305\u5e76\u4f7f\u7528\u3002"),l.a.createElement("h2",{id:"panda-npm-\u79c1\u670d\u5730\u5740"},l.a.createElement(r["AnchorLink"],{to:"#panda-npm-\u79c1\u670d\u5730\u5740","aria-hidden":"true"},l.a.createElement("span",{className:["icon","icon-link"]})),"panda npm \u79c1\u670d\u5730\u5740"),l.a.createElement("ul",null,l.a.createElement("li",null,l.a.createElement(r["Link"],{to:"https://g.civnet.cn:4873/"},"https://g.civnet.cn:4873/"))),l.a.createElement("h2",{id:"nrm"},l.a.createElement(r["AnchorLink"],{to:"#nrm","aria-hidden":"true"},l.a.createElement("span",{className:["icon","icon-link"]})),"nrm"),l.a.createElement("p",null,"\u7b80\u4ecb\uff1anrm(npm registry manager )\u662f npm \u7684\u955c\u50cf\u6e90\u7ba1\u7406\u5de5\u5177\uff0c\u6709\u65f6\u5019\u56fd\u5916\u8d44\u6e90\u592a\u6162\uff0c\u4f7f\u7528\u8fd9\u4e2a\u5c31\u53ef\u4ee5\u5feb\u901f\u5730\u5728 npm \u6e90\u95f4\u5207\u6362"),l.a.createElement("h3",{id:"\u5b89\u88c5-nrm"},l.a.createElement(r["AnchorLink"],{to:"#\u5b89\u88c5-nrm","aria-hidden":"true"},l.a.createElement("span",{className:["icon","icon-link"]})),"\u5b89\u88c5 nrm"),l.a.createElement("p",null,"\u5728\u547d\u4ee4\u884c\u6267\u884c\u547d\u4ee4\uff0c\u5168\u5c40\u5b89\u88c5 nrm\u3002"),l.a.createElement(c["a"],{code:"npm install -g nrm\n",lang:"bash"}),l.a.createElement("h3",{id:"\u4f7f\u7528-nrm"},l.a.createElement(r["AnchorLink"],{to:"#\u4f7f\u7528-nrm","aria-hidden":"true"},l.a.createElement("span",{className:["icon","icon-link"]})),"\u4f7f\u7528 nrm"),l.a.createElement("ol",null,l.a.createElement("li",null,"\u67e5\u770b\u5f53\u524d\u955c\u50cf\u6e90")),l.a.createElement(c["a"],{code:"nrm ls\n",lang:"bash"}),l.a.createElement("ul",null,l.a.createElement("li",null,"npm -------- ",l.a.createElement(r["Link"],{to:"https://registry.npmjs.org/"},"https://registry.npmjs.org/")),l.a.createElement("li",null,"yarn ------- ",l.a.createElement(r["Link"],{to:"https://registry.yarnpkg.com/"},"https://registry.yarnpkg.com/")),l.a.createElement("li",null,"cnpm ------- ",l.a.createElement(r["Link"],{to:"http://r.cnpmjs.org/"},"http://r.cnpmjs.org/")),l.a.createElement("li",null,"taobao ----- ",l.a.createElement(r["Link"],{to:"https://registry.npm.taobao.org/"},"https://registry.npm.taobao.org/")),l.a.createElement("li",null,"nj --------- ",l.a.createElement(r["Link"],{to:"https://registry.nodejitsu.com/"},"https://registry.nodejitsu.com/")),l.a.createElement("li",null,"npmMirror -- ",l.a.createElement(r["Link"],{to:"https://skimdb.npmjs.com/registry/"},"https://skimdb.npmjs.com/registry/")),l.a.createElement("li",null,"edunpm ----- ",l.a.createElement(r["Link"],{to:"http://registry.enpmjs.org/"},"http://registry.enpmjs.org/"))),l.a.createElement("ol",{start:2},l.a.createElement("li",null,"\u5207\u6362\u5f53\u524d\u955c\u50cf\u6e90")),l.a.createElement(c["a"],{code:"nrm use taobao\n",lang:"bash"}),l.a.createElement("ol",{start:3},l.a.createElement("li",null,"\u6dfb\u52a0 \u6211\u4eec\u516c\u53f8 npm \u79c1\u670d\u955c\u50cf\u5730\u5740")),l.a.createElement(c["a"],{code:"nrm add panda https://g.civnet.cn:4873/\n",lang:"bash"}),l.a.createElement("ol",{start:4},l.a.createElement("li",null,"\u4f7f\u7528\u6211\u4eec\u516c\u53f8\u79c1\u670d\u505a\u4e3a\u955c\u50cf\u6e90\u5730\u5740")),l.a.createElement(c["a"],{code:"nrm use panda\n",lang:"bash"}),l.a.createElement("h2",{id:"\u4f7f\u7528-npm-\u79c1\u670d\u7ba1\u7406\u5305"},l.a.createElement(r["AnchorLink"],{to:"#\u4f7f\u7528-npm-\u79c1\u670d\u7ba1\u7406\u5305","aria-hidden":"true"},l.a.createElement("span",{className:["icon","icon-link"]})),"\u4f7f\u7528 npm \u79c1\u670d\u7ba1\u7406\u5305"),l.a.createElement("h3",{id:"\u641c\u7d22\u5e76\u67e5\u770b\u8981\u4f7f\u7528\u7684\u5305"},l.a.createElement(r["AnchorLink"],{to:"#\u641c\u7d22\u5e76\u67e5\u770b\u8981\u4f7f\u7528\u7684\u5305","aria-hidden":"true"},l.a.createElement("span",{className:["icon","icon-link"]})),"\u641c\u7d22\u5e76\u67e5\u770b\u8981\u4f7f\u7528\u7684\u5305"),l.a.createElement("p",null,l.a.createElement(r["Link"],{to:"https://g.civnet.cn:4873/"},"https://g.civnet.cn:4873/")," ",l.a.createElement("img",{src:"https://g.civnet.cn:5010/images/npm/home.png",alt:"home"})),l.a.createElement("h3",{id:"\u5728\u5f53\u524d\u9879\u76ee\u5b89\u88c5\u6240\u9700\u8981\u7684\u5305"},l.a.createElement(r["AnchorLink"],{to:"#\u5728\u5f53\u524d\u9879\u76ee\u5b89\u88c5\u6240\u9700\u8981\u7684\u5305","aria-hidden":"true"},l.a.createElement("span",{className:["icon","icon-link"]})),"\u5728\u5f53\u524d\u9879\u76ee\u5b89\u88c5\u6240\u9700\u8981\u7684\u5305"),l.a.createElement(c["a"],{code:"# \u4f8b\u5982\u8fd9\u91cc\u7684 kit_logger\nnpm i kit_logger\n",lang:"bash"}),l.a.createElement("h2",{id:"\u53d1\u5e03\u5305"},l.a.createElement(r["AnchorLink"],{to:"#\u53d1\u5e03\u5305","aria-hidden":"true"},l.a.createElement("span",{className:["icon","icon-link"]})),"\u53d1\u5e03\u5305"),l.a.createElement("ol",null,l.a.createElement("li",null,"\u6ce8\u518c\u7528\u6237")),l.a.createElement(c["a"],{code:"npm adduser\n",lang:"bash"}),l.a.createElement("ul",null,l.a.createElement("li",null,"username \u8f93\u5165\u4f60\u7684\u7528\u6237\u540d"),l.a.createElement("li",null,"password \u8f93\u5165\u4f60\u7684\u5bc6\u7801"),l.a.createElement("li",null,"email \u8f93\u5165\u4f60\u7684\u90ae\u7bb1")),l.a.createElement("ol",{start:2},l.a.createElement("li",null,"\u767b\u5f55")),l.a.createElement(c["a"],{code:"npm login\n",lang:"bash"}),l.a.createElement("ul",null,l.a.createElement("li",null,"username \u8f93\u5165\u4f60\u7684\u7528\u6237\u540d"),l.a.createElement("li",null,"password \u8f93\u5165\u4f60\u7684\u5bc6\u7801"),l.a.createElement("li",null,"email \u8f93\u5165\u4f60\u7684\u90ae\u7bb1")),l.a.createElement("ol",{start:3},l.a.createElement("li",null,"\u68c0\u67e5\u4f60\u7684\u5f53\u524d\u767b\u5f55\u72b6\u6001")),l.a.createElement(c["a"],{code:"npm whoami\n",lang:"bash"}),l.a.createElement("ol",{start:4},l.a.createElement("li",null,"\u68c0\u67e5\u5e76\u66f4\u65b0 ",l.a.createElement("code",null,"package.json")," \u6587\u4ef6")),l.a.createElement("ul",null,l.a.createElement("li",null,"name \u5305\u540d\u79f0"),l.a.createElement("li",null,"version \u5305\u7248\u672c"),l.a.createElement("li",null,"description \u5305\u63cf\u8ff0"),l.a.createElement("li",null,"homepage home \u5730\u5740\u8def\u5f84"),l.a.createElement("li",null,"repository \u4ed3\u5e93\u5730\u5740\u8def\u5f84"),l.a.createElement("li",null,"author \u5305\u4f5c\u8005"),l.a.createElement("li",null,"dependencies \u751f\u4ea7\u4f9d\u8d56\u9879"),l.a.createElement("li",null,"dev-dependencies \u5f00\u53d1\u4f9d\u8d56\u9879")),l.a.createElement("ol",{start:5},l.a.createElement("li",null,"\u53d1\u5e03\u5305")),l.a.createElement(c["a"],{code:"npm publish\n",lang:"bash"}),l.a.createElement("h2",{id:"\u66f4\u65b0\u5305"},l.a.createElement(r["AnchorLink"],{to:"#\u66f4\u65b0\u5305","aria-hidden":"true"},l.a.createElement("span",{className:["icon","icon-link"]})),"\u66f4\u65b0\u5305"),l.a.createElement("ol",null,l.a.createElement("li",null,"\u5305\u8fdc\u7a0b\u66f4\u65b0\u540e\uff0c\u540c\u6b65\u5230\u672c\u5730")),l.a.createElement(c["a"],{code:"# \u53ea\u66f4\u65b0 kit_logger\u5305\nnpm update kit_logger\n",lang:"bash"}),l.a.createElement("h2",{id:"\u5220\u9664\u5305"},l.a.createElement(r["AnchorLink"],{to:"#\u5220\u9664\u5305","aria-hidden":"true"},l.a.createElement("span",{className:["icon","icon-link"]})),"\u5220\u9664\u5305"),l.a.createElement(c["a"],{code:"# \u5220\u9664 kit_logger\u5305\nnpm unpublish kit_logger\n",lang:"bash"})))}},kERV:function(e,n,a){},mlvz:function(e,n,a){},tP8H:function(e,n,a){"use strict";a("ODXe"),a("q1tI"),a("OGKa")}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[1],{"F+kV":function(e,t,n){"use strict";n.r(t);var a=n("q1tI"),l=n.n(a),c=n("dEAq");n("jSav"),n("ZpkN"),n("TN5+"),n("HVN5"),n("tP8H");t["default"]=function(){return l.a.createElement(l.a.Fragment,null,l.a.createElement("div",{className:"markdown"},l.a.createElement("h2",{id:"\u7ec4\u4ef6\u770b\u677f"},l.a.createElement(c["AnchorLink"],{to:"#\u7ec4\u4ef6\u770b\u677f","aria-hidden":"true"},l.a.createElement("span",{className:["icon","icon-link"]})),"\u7ec4\u4ef6\u770b\u677f"),l.a.createElement("table",null,l.a.createElement("thead",null,l.a.createElement("tr",null,l.a.createElement("th",null,"\u7ec4\u4ef6"),l.a.createElement("th",null,"\u4e0b\u8f7d\u91cf"),l.a.createElement("th",null,"\u7248\u672c"))),l.a.createElement("tbody",null))))}},HVN5:function(e,t,n){"use strict";n("0Owb"),n("q1tI"),n("mlvz")},OGKa:function(e,t,n){},"TN5+":function(e,t,n){"use strict";n("0Owb"),n("q1tI"),n("kERV")},kERV:function(e,t,n){},mlvz:function(e,t,n){},tP8H:function(e,t,n){"use strict";n("tJVT"),n("q1tI"),n("OGKa")}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[1],{"F+kV":function(e,t,n){"use strict";n.r(t);var a=n("q1tI"),l=n.n(a),c=n("dEAq");n("jSav"),n("ZpkN"),n("TN5+"),n("HVN5"),n("tP8H");t["default"]=function(){return l.a.createElement(l.a.Fragment,null,l.a.createElement("div",{className:"markdown"},l.a.createElement("h2",{id:"\u7ec4\u4ef6\u770b\u677f"},l.a.createElement(c["AnchorLink"],{to:"#\u7ec4\u4ef6\u770b\u677f","aria-hidden":"true"},l.a.createElement("span",{className:["icon","icon-link"]})),"\u7ec4\u4ef6\u770b\u677f"),l.a.createElement("table",null,l.a.createElement("thead",null,l.a.createElement("tr",null,l.a.createElement("th",null,"\u7ec4\u4ef6"),l.a.createElement("th",null,"\u4e0b\u8f7d\u91cf"),l.a.createElement("th",null,"\u7248\u672c"))),l.a.createElement("tbody",null))))}},HVN5:function(e,t,n){"use strict";n("wx14"),n("q1tI"),n("mlvz")},OGKa:function(e,t,n){},"TN5+":function(e,t,n){"use strict";n("wx14"),n("q1tI"),n("kERV")},kERV:function(e,t,n){},mlvz:function(e,t,n){},tP8H:function(e,t,n){"use strict";n("ODXe"),n("q1tI"),n("OGKa")}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[3],{HVN5:function(e,n,t){"use strict";t("wx14"),t("q1tI"),t("mlvz")},OGKa:function(e,n,t){},"TN5+":function(e,n,t){"use strict";t("wx14"),t("q1tI"),t("kERV")},kERV:function(e,n,t){},mlvz:function(e,n,t){},tP8H:function(e,n,t){"use strict";t("ODXe"),t("q1tI"),t("OGKa")},"xlO+":function(e,n,t){"use strict";t.r(n);var a=t("q1tI"),l=t.n(a),o=t("dEAq"),c=(t("jSav"),t("ZpkN"));t("TN5+"),t("HVN5"),t("tP8H");n["default"]=function(){return l.a.createElement(l.a.Fragment,null,l.a.createElement("div",{className:"markdown"},l.a.createElement("h1",{id:"npm-\u79c1\u670d\u642d\u5efa\u6559\u7a0b"},l.a.createElement(o["AnchorLink"],{to:"#npm-\u79c1\u670d\u642d\u5efa\u6559\u7a0b","aria-hidden":"true"},l.a.createElement("span",{className:["icon","icon-link"]})),"npm \u79c1\u670d\u642d\u5efa\u6559\u7a0b"),l.a.createElement("h2",{id:"npm-\u79c1\u670d\u5fc5\u8981\u6027"},l.a.createElement(o["AnchorLink"],{to:"#npm-\u79c1\u670d\u5fc5\u8981\u6027","aria-hidden":"true"},l.a.createElement("span",{className:["icon","icon-link"]})),"npm \u79c1\u670d\u5fc5\u8981\u6027"),l.a.createElement("ol",null,l.a.createElement("li",null,"\u5982\u679c\u516c\u53f8\u5904\u4e8e\u9690\u79c1\u4fdd\u62a4\u7684\u9700\u8981\uff0c\u4e0d\u60f3\u5c06\u81ea\u5df1\u5c01\u7684\u5305\u63a8\u5230 npm \u793e\u533a\uff0c\u4f46\u53c8\u6025\u9700\u8981\u4e00\u5957\u5b8c\u6574\u7684\u5305\u7ba1\u7406\u5de5\u5177\u6765\u7ba1\u7406\u8d8a\u6765\u8d8a\u591a\u7684\u7ec4\u4ef6\uff0c\u6a21\u5757\uff0c\u9879\u76ee\u3002\u5bf9\u4e8e\u524d\u7aef\uff0c\u6700\u719f\u6089\u7684\u83ab\u8fc7\u4e8e npm,bower \u7b49\uff0c\u4f46\u662f bower \u7684\u5e02\u573a\u660e\u663e\u6ca1\u6709 npm \u5f3a\u5927\u7684\uff0cnpm \u662f\u524d\u7aef\u5305\u7ba1\u7406\u7684\u4e0d\u4e8c\u9009\u62e9 \u3002"),l.a.createElement("li",null,"\u4e0b\u8fc7 node \u5e93\u7684\u4eba\u90fd\u61c2\uff0c\u4ece npmjs \u4e0a\u4e0b\u8f7d\u6709\u591a\u6162\uff0c\u6240\u4ee5\u5927\u5bb6\u4f1a\u7528 cnpm \u4ece\u6dd8\u5b9d\u90a3\u4e0b\uff0c\u4f46\u6709\u6bd4\u6dd8\u5b9d\u66f4\u5feb\u7684\u65b9\u6cd5\u662f\u4ece\u5c40\u57df\u7f51\u7684\u79c1\u670d\u4e0b\u3002"),l.a.createElement("li",null,"\u5f53\u6211\u4eec\u642d\u597d\u4e86\u8fd9\u5957\u79c1\u670d\u7ba1\u7406\u5de5\u5177\u4e4b\u540e\u6709\u4ec0\u4e48\u4f18\u52bf\u5462\uff1f")),l.a.createElement("ul",null,l.a.createElement("li",null,"\u79c1\u6709\u5305\u6258\u7ba1\u5728\u6211\u4eec\u7684\u79c1\u670d\u4e0a\uff0c\u4e0d\u5bf9\u5916\u3002"),l.a.createElement("li",null,"\u9879\u76ee\u4e2d\u4f7f\u7528\u7684\u6240\u6709\u5305\u53ef\u4ee5\u7f13\u5b58\u5728\u6211\u4eec\u7684\u79c1\u670d\u4e0a\uff0c\u7136\u540e\u5927\u5bb6\u4e0b\u5305\u7684\u65f6\u5019\u8d70\u79c1\u670d\uff0c\u4e0d\u7528\u8d70 npmjs \u4e86\u3002\u901f\u5ea6\u5feb\u4e0a\u4e03\u516b\u500d\u4e0d\u5728\u8bdd\u4e0b\u3002"),l.a.createElement("li",null,"\u5bf9\u4e8e\u4e0b\u8f7d\u548c\u53d1\u5e03 npm \u5305\u90fd\u6709\u4e86\u76f8\u5e94\u7684\u6743\u9650\u7ba1\u7406\u3002")),l.a.createElement("h2",{id:"windows-npm-\u79c1\u670d\u642d\u5efa\u8fc7\u7a0b"},l.a.createElement(o["AnchorLink"],{to:"#windows-npm-\u79c1\u670d\u642d\u5efa\u8fc7\u7a0b","aria-hidden":"true"},l.a.createElement("span",{className:["icon","icon-link"]})),"windows npm \u79c1\u670d\u642d\u5efa\u8fc7\u7a0b"),l.a.createElement("ol",null,l.a.createElement("li",null,"\u5b89\u88c5 node \u73af\u5883\uff0c",l.a.createElement(o["Link"],{to:"https://nodejs.org/zh-cn/download/"},"node \u4e0b\u8f7d\u5730\u5740")),l.a.createElement("li",null,"\u51c6\u5907\u5de5\u4f5c\u76ee\u5f55 \u4f8b\u5982\u6211\u8fd9\u91cc\u7684",l.a.createElement("code",null,"F:\\npm")),l.a.createElement("li",null,"\u521d\u59cb\u5316",l.a.createElement("code",null,"pakage.json"))),l.a.createElement(c["a"],{code:"npm init -y\n",lang:"unknown"}),l.a.createElement("ol",{start:4},l.a.createElement("li",null,"\u5b89\u88c5",l.a.createElement("code",null,"verdaccio "))),l.a.createElement(c["a"],{code:"npm i verdaccio\n",lang:"unknown"}),l.a.createElement("ol",{start:4},l.a.createElement("li",null,"\u65b0\u5efa ",l.a.createElement("code",null,"config.yaml")," \u4f5c\u4e3a verdaccio \u79c1\u670d\u914d\u7f6e\u6587\u4ef6\uff0c\u914d\u7f6e\u6587\u4ef6\u53ef\u53c2\u8003\u5982\u4e0b\uff1a")),l.a.createElement(c["a"],{code:'# \u67e5\u770b\u66f4\u591a\u4f8b\u5b50\n# https://github.com/verdaccio/verdaccio/tree/master/conf\n\n# \u4ed3\u5e93\u4fdd\u5b58\u7684\u5730\u5740\uff0cpublish\u65f6\u4ed3\u5e93\u4fdd\u5b58\u7684\u5730\u5740\nstorage: ./storage\n# \u63d2\u4ef6\u7684\u5730\u5740\nplugins: ./plugins\n# \u76d1\u542c\u7684\u5730\u5740\nlisten: \'https://192.168.12.8:4873\'\n\nmax_body_size: 1024mb\n\nweb:\n enable: true\n title: panda | npm\u670d\u52a1\u5668\n logo: assets/panda.png\n primary_color: \'#4b5e40\'\n # comment out to disable gravatar support\n gravatar: true\n scope: \'@scope\'\n # by default packages are ordercer ascendant (asc|desc)\n sort_packages: asc\n # convert your UI to the dark side\n darkMode: false\n\n# \u7ffb\u8bd1\u60a8\u7684\u6ce8\u518c\u8868\uff0capi i18n\u5c1a\u4e0d\u53ef\u7528\ni18n:\n # list of the available translations https://github.com/verdaccio/ui/tree/master/i18n/translations\n web: zh-CN\n\nauth:\n htpasswd:\n file: ./htpasswd # \u8d26\u53f7\u5bc6\u7801\u7684\u6587\u4ef6\u5730\u5740\uff0c\u521d\u59cb\u5316\u65f6\u4e0d\u5b58\u5728\uff0c\u53ef\u6307\u5b9a\u9700\u8981\u624b\u5de5\u521b\u5efa\n # \u9ed8\u8ba41000\uff0c\u4e3a\u5141\u8bb8\u7528\u6237\u6ce8\u518c\u7684\u6570\u91cf\u3002defaults to "+inf"\u3002\n # \u4e3a-1\u65f6\uff0c\u4e0d\u5141\u8bb8\u7528\u6237\u901a\u8fc7npm adduser\u6ce8\u518c\u3002\n # \u4f46\u662f\uff0c\u5f53\u4e3a-1\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7\u76f4\u63a5\u7f16\u5199htpasswd file\u5185\u5bb9\u7684\u65b9\u5f0f\u6dfb\u52a0\u7528\u6237\n max_users: 1000\n\n# a list of other known repositories we can talk to\nuplinks:\n taobao:\n url: https://registry.npm.taobao.org/\n npmjs:\n url: https://registry.npmjs.org/\n\npackages:\n \'@*/*\':\n # scoped packages\n access: $all\n publish: $authenticated\n unpublish: $authenticated\n proxy: taobao\n\n \'**\':\n # allow all users (including non-authenticated users) to read and\n # publish all packages\n #\n # you can specify usernames/groupnames (depending on your auth plugin)\n # and three keywords: "$all", "$anonymous", "$authenticated"\n access: $all\n\n # allow all known users to publish/publish packages\n # (anyone can register by default, remember?)\n publish: $authenticated\n unpublish: $authenticated\n\n # if package is not available locally, proxy requests to \'npmjs\' registry\n proxy: taobao\n\n# You can specify HTTP/1.1 server keep alive timeout in seconds for incoming connections.\n# A value of 0 makes the http server behave similarly to Node.js versions prior to 8.0.0, which did not have a keep-alive timeout.\n# WORKAROUND: Through given configuration you can workaround following issue https://github.com/verdaccio/verdaccio/issues/301. Set to 0 in case 60 is not enough.\n#server:\n#keepAliveTimeout: 60\n\nmiddlewares:\n audit:\n enabled: true\n\nhttps:\n key: ./ssl/g.civnet.cn.key\n cert: ./ssl/g.civnet.cn.pem\n\nnotify:\n method: POST\n headers: [{ \'Content-Type\': \'application/json\' }]\n endpoint: http://172.16.10.33:3000/ # https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken\n content: \'{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}\'\n\n# log settings\nlogs:\n - { type: stdout, format: pretty, level: http }\n #- {type: file, path: verdaccio.log, level: info}\n#experiments:\n# # support for npm token command\n# token: false\n# # support for the new v1 search endpoint, functional by incomplete read more on ticket 1732\n# search: false\n',lang:"yaml"}),l.a.createElement("ol",{start:5},l.a.createElement("li",null,"\u8bd5\u8fd0\u884c\u4e00\u4e0b verdaccio \u770b\u6709\u65e0\u62a5\u9519")),l.a.createElement(c["a"],{code:"npx verdaccio\n# \u80fd\u591f\u6b63\u5e38\u6253\u5f00\u5e76\u4f7f\u7528'http://192.168.12.8:4873\u5373\u4e3a\u6b63\u5e38\n",lang:"unknown"}),l.a.createElement("ol",{start:5},l.a.createElement("li",null,"\u4e0b\u8f7d",l.a.createElement(o["Link"],{to:"https://www.nssm.cc/download/"},"nssm"),"\u6ce8\u518c verdaccio \u4f5c\u4e3a windwos \u670d\u52a1")),l.a.createElement("ul",null,l.a.createElement("li",null,"cmd \u8fdb\u5165\u521a\u4e0b\u8f7d\u597d nssm.exe \u6839\u76ee\u5f55"),l.a.createElement("li",null,"\u6253\u5f00\u5b89\u88c5\u4ea4\u4e92\u754c\u9762")),l.a.createElement(c["a"],{code:"nssm install npmjs\n# npmjs \u662f\u4f60\u7684\u670d\u52a1\u540d\n",lang:"bash"}),l.a.createElement("ul",null,l.a.createElement("li",null,"\u914d\u7f6e\u5982\u4e0b\uff1a Path: node Startup directory: f:\\verdaccio Arguments: f:\\verdaccio\\node_modules\\verdaccio\\build\\lib\\cli.js -c f:\\verdaccio\\config.yaml")),l.a.createElement("ol",{start:6},l.a.createElement("li",null,"\u542f\u52a8\u670d\u52a1\u5927\u529f\u544a\u6210\uff01\u670d\u52a1\u5668\u76ee\u5f55\u5982\u4e0b\u56fe ",l.a.createElement("img",{src:"https://g.civnet.cn:5010/images/npm/verdaccio.png",alt:"\u76ee\u5f55"})))))}}}]);
\ No newline at end of file
.__dumi-default-alert{position:relative;margin:24px 0;padding:10px 20px;color:#454d64;font-size:14px;line-height:20px;border-left:0;background:#fff;box-shadow:0 6px 16px -2px rgba(0,0,0,.06);border-radius:1px}.__dumi-default-alert:after{content:"";position:absolute;display:inline-block;top:0;left:0;bottom:0;width:3px;border-radius:1px}.__dumi-default-alert:first-child{margin-top:0}.__dumi-default-alert:not([type]):after,.__dumi-default-alert[type=warning]:after{background:#ffc121}.__dumi-default-alert[type=info]:after{background:#69b9ff}.__dumi-default-alert[type=success]:after{background:#8cd225}.__dumi-default-alert[type=error]:after{background:#ff4646}.__dumi-default-badge{display:inline-block;margin-left:6px;padding:1px 7px;color:#fff;font-size:13px;line-height:20px;text-shadow:0 -1px 0 rgba(0,0,0,.1);box-shadow:0 6px 16px -2px rgba(0,0,0,.06);border-radius:1px;vertical-align:top}.__dumi-default-badge:not([type]),.__dumi-default-badge[type=info]{background:#4569d4}.__dumi-default-badge[type=warning]{background:#ffc121}.__dumi-default-badge[type=success]{background:#8cd225}.__dumi-default-badge[type=error]{background:#ff4646}.__dumi-default-example-wrapper{padding-top:16px;height:calc(100vh - 66px)}@media only screen and (max-width:767px){.__dumi-default-example-wrapper{padding-top:16px}}.__dumi-default-example-wrapper-toolbar{display:flex;color:#454d64;font-size:16px;font-weight:500;justify-content:space-between;margin-bottom:16px;border-bottom:1px solid #ebedf1}.__dumi-default-example-wrapper-toolbar a,.__dumi-default-example-wrapper-toolbar button{display:inline-block;margin:6px 0 6px 12px;width:16px;height:16px;font-weight:400;border:0;outline:none;vertical-align:middle;cursor:pointer}.__dumi-default-example-wrapper-toolbar a:first-child,.__dumi-default-example-wrapper-toolbar button:first-child{background-position-x:-144px}.__dumi-default-example-wrapper-toolbar a:nth-child(2),.__dumi-default-example-wrapper-toolbar button:nth-child(2){background-position-x:-126px}.__dumi-default-example-wrapper iframe{width:100%;min-height:100%;border:0}
\ No newline at end of file
......@@ -6,12 +6,12 @@
name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"
/>
<link rel="stylesheet" href="/umi.18190c73.css" />
<link rel="stylesheet" href="/umi.75818a0d.css" />
<script>
window.routerBase = "/";
</script>
<script>
//! umi version: 3.2.24
//! umi version: 3.2.28
</script>
</head>
<body>
......@@ -44,6 +44,6 @@
}
})();
</script>
<script src="/umi.6b5a2990.js"></script>
<script src="/umi.228c07fb.js"></script>
</body>
</html>
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[3],{DYGa:function(e,t,n){"use strict";n.r(t);var a=n("q1tI"),l=n.n(a),c=n("dEAq");n("jSav"),n("ZpkN"),n("TN5+"),n("HVN5"),n("tP8H");t["default"]=function(){return l.a.createElement(l.a.Fragment,null,l.a.createElement("div",{className:"markdown"},l.a.createElement("h1",{id:"procard-\u6807\u51c6\u5361\u7247"},l.a.createElement(c["AnchorLink"],{to:"#procard-\u6807\u51c6\u5361\u7247","aria-hidden":"true"},l.a.createElement("span",{className:["icon","icon-link"]})),"ProCard \u6807\u51c6\u5361\u7247"),l.a.createElement("p",null,"\u9875\u5185\u5bb9\u5668\u5361\u7247\uff0c\u63d0\u4f9b\u6807\u51c6\u5361\u7247\u6837\u5f0f\uff0c\u5361\u7247\u5207\u5206\u4ee5\u53ca\u6805\u683c\u5e03\u5c40\u80fd\u529b\u3002"),l.a.createElement("h2",{id:"\u4f55\u65f6\u4f7f\u7528"},l.a.createElement(c["AnchorLink"],{to:"#\u4f55\u65f6\u4f7f\u7528","aria-hidden":"true"},l.a.createElement("span",{className:["icon","icon-link"]})),"\u4f55\u65f6\u4f7f\u7528"),l.a.createElement("ul",null,l.a.createElement("li",null,"\u9700\u8981\u4e00\u4e2a\u6807\u51c6\u5361\u7247\u5bb9\u7eb3\u5185\u5bb9\u65f6\u3002"),l.a.createElement("li",null,"\u9700\u8981\u591a\u4e2a\u5361\u7247\u6805\u683c\uff0cgutter \u5e03\u5c40\u65f6\u3002"),l.a.createElement("li",null,"\u9700\u8981\u8fdb\u884c\u5361\u7247\u5185\u5207\u5206\u5e03\u5c40\u65f6\u3002"),l.a.createElement("li",null,"\u9700\u8981\u5361\u7247\u53ef\u6298\u53e0\u65f6\u3002"))))}},HVN5:function(e,t,n){"use strict";n("0Owb"),n("q1tI"),n("mlvz")},OGKa:function(e,t,n){},"TN5+":function(e,t,n){"use strict";n("0Owb"),n("q1tI"),n("kERV")},kERV:function(e,t,n){},mlvz:function(e,t,n){},tP8H:function(e,t,n){"use strict";n("tJVT"),n("q1tI"),n("OGKa")}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[4],{DYGa:function(e,n,t){"use strict";t.r(n);var a=t("q1tI"),l=t.n(a),c=t("dEAq");t("jSav"),t("ZpkN"),t("TN5+"),t("HVN5"),t("tP8H");n["default"]=function(){return l.a.createElement(l.a.Fragment,null,l.a.createElement("div",{className:"markdown"},l.a.createElement("h1",{id:"procard-\u6807\u51c6\u5361\u7247"},l.a.createElement(c["AnchorLink"],{to:"#procard-\u6807\u51c6\u5361\u7247","aria-hidden":"true"},l.a.createElement("span",{className:["icon","icon-link"]})),"ProCard \u6807\u51c6\u5361\u7247"),l.a.createElement("p",null,"\u9875\u5185\u5bb9\u5668\u5361\u7247\uff0c\u63d0\u4f9b\u6807\u51c6\u5361\u7247\u6837\u5f0f\uff0c\u5361\u7247\u5207\u5206\u4ee5\u53ca\u6805\u683c\u5e03\u5c40\u80fd\u529b\u3002"),l.a.createElement("h2",{id:"\u4f55\u65f6\u4f7f\u7528"},l.a.createElement(c["AnchorLink"],{to:"#\u4f55\u65f6\u4f7f\u7528","aria-hidden":"true"},l.a.createElement("span",{className:["icon","icon-link"]})),"\u4f55\u65f6\u4f7f\u7528"),l.a.createElement("ul",null,l.a.createElement("li",null,"\u9700\u8981\u4e00\u4e2a\u6807\u51c6\u5361\u7247\u5bb9\u7eb3\u5185\u5bb9\u65f6\u3002"),l.a.createElement("li",null,"\u9700\u8981\u591a\u4e2a\u5361\u7247\u6805\u683c\uff0cgutter \u5e03\u5c40\u65f6\u3002"),l.a.createElement("li",null,"\u9700\u8981\u8fdb\u884c\u5361\u7247\u5185\u5207\u5206\u5e03\u5c40\u65f6\u3002"),l.a.createElement("li",null,"\u9700\u8981\u5361\u7247\u53ef\u6298\u53e0\u65f6\u3002"))))}},HVN5:function(e,n,t){"use strict";t("wx14"),t("q1tI"),t("mlvz")},OGKa:function(e,n,t){},"TN5+":function(e,n,t){"use strict";t("wx14"),t("q1tI"),t("kERV")},kERV:function(e,n,t){},mlvz:function(e,n,t){},tP8H:function(e,n,t){"use strict";t("ODXe"),t("q1tI"),t("OGKa")}}]);
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment