You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

1 lines
8.1 KiB

"use strict";(self.webpackChunkantd=self.webpackChunkantd||[]).push([[8356],{238926:function(d,l,_){_.r(l);var r=_(502143),Z=_(968521),m=_(720719),h=_(28840),v=_(759907),c=_(828089),p=_(825673),g=_(902068),E=_(574399),T=_(863942),P=_(316073),D=_(24628),O=_(719260),M=_(956140),x=_(127179),y=_(905388),f=_(40428),C=_(606965),b=_(268696),a=_(587302),t=_(424128),I=_(249706),k=_(795127),A=_(116846),L=_(212039),R=_(73024),B=_(553913),u=_(606641),i=_(667294),e=_(370917);function s(){var o=(0,u.eL)(),n=o.texts;return(0,e.tZ)(u.dY,null,(0,e.tZ)(i.Fragment,null,(0,e.tZ)("div",{className:"markdown"},(0,e.tZ)("p",null,n[0].value),(0,e.tZ)("h2",{id:"code-of-conduct"},(0,e.tZ)(t.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#code-of-conduct",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"Code of Conduct"),(0,e.tZ)("p",null,n[1].value,(0,e.tZ)(t.Z,{href:"https://github.com/ant-design/ant-design/blob/master/CODE_OF_CONDUCT.md",sourceType:"a"},n[2].value),n[3].value),(0,e.tZ)("h2",{id:"open-development"},(0,e.tZ)(t.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#open-development",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"Open Development"),(0,e.tZ)("p",null,n[4].value,(0,e.tZ)(t.Z,{href:"https://github.com/ant-design",sourceType:"a"},n[5].value),n[6].value),(0,e.tZ)("h2",{id:"branch-organization"},(0,e.tZ)(t.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#branch-organization",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"Branch Organization"),(0,e.tZ)("p",null,n[7].value,(0,e.tZ)(t.Z,{to:"/changelog#release-schedule",sourceType:"Link"},n[8].value),n[9].value,(0,e.tZ)("code",null,n[10].value),n[11].value,(0,e.tZ)("code",null,n[12].value),n[13].value,(0,e.tZ)("code",null,n[14].value),n[15].value,(0,e.tZ)("code",null,n[16].value),n[17].value),(0,e.tZ)("h2",{id:"bugs"},(0,e.tZ)(t.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#bugs",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"Bugs"),(0,e.tZ)("p",null,n[18].value,(0,e.tZ)(t.Z,{href:"https://github.com/ant-design/ant-design/issues",sourceType:"a"},n[19].value),n[20].value,(0,e.tZ)(t.Z,{href:"http://new-issue.ant.design",sourceType:"a"},n[21].value),n[22].value,(0,e.tZ)(t.Z,{href:"https://u.ant.design/codesandbox-repro",sourceType:"a"},n[23].value),n[24].value),(0,e.tZ)("p",null,n[25].value,(0,e.tZ)(t.Z,{to:"/docs/react/faq",sourceType:"Link"},n[26].value),n[27].value),(0,e.tZ)("h2",{id:"proposing-a-change"},(0,e.tZ)(t.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#proposing-a-change",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"Proposing a Change"),(0,e.tZ)("p",null,n[28].value,(0,e.tZ)(t.Z,{href:"http://new-issue.ant.design",sourceType:"a"},n[29].value),n[30].value),(0,e.tZ)("p",null,n[31].value,(0,e.tZ)(t.Z,{href:"https://github.com/ant-design/ant-design/wiki/API-Naming-rules",sourceType:"a"},n[32].value),n[33].value),(0,e.tZ)("h2",{id:"your-first-pull-request"},(0,e.tZ)(t.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#your-first-pull-request",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"Your First Pull Request"),(0,e.tZ)("p",null,n[34].value),(0,e.tZ)("p",null,(0,e.tZ)(t.Z,{href:"https://egghead.io/courses/how-to-contribute-to-an-open-source-project-on-github",sourceType:"a"},n[35].value)),(0,e.tZ)("p",null,n[36].value,(0,e.tZ)(t.Z,{href:"https://github.com/ant-design/ant-design/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22",sourceType:"a"},n[37].value),n[38].value),(0,e.tZ)("p",null,n[39].value),(0,e.tZ)("p",null,n[40].value),(0,e.tZ)("h2",{id:"sending-a-pull-request"},(0,e.tZ)(t.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#sending-a-pull-request",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"Sending a Pull Request"),(0,e.tZ)("p",null,n[41].value),(0,e.tZ)("p",null,(0,e.tZ)("strong",null,n[42].value),n[43].value),(0,e.tZ)("ol",null,(0,e.tZ)("li",null,n[44].value,(0,e.tZ)(t.Z,{to:"#branch-organization",sourceType:"Link"},n[45].value),n[46].value),(0,e.tZ)("li",null,n[47].value,(0,e.tZ)("code",null,n[48].value),n[49].value),(0,e.tZ)("li",null,n[50].value),(0,e.tZ)("li",null,n[51].value,(0,e.tZ)("code",null,n[52].value),n[53].value),(0,e.tZ)("li",null,n[54].value,(0,e.tZ)("code",null,n[55].value),n[56].value,(0,e.tZ)(t.Z,{href:"https://jestjs.io/docs/snapshot-testing",sourceType:"a"},n[57].value),n[58].value),(0,e.tZ)("li",null,n[59].value,(0,e.tZ)("code",null,n[60].value),n[61].value,(0,e.tZ)("code",null,n[62].value),n[63].value,(0,e.tZ)("strong",null,n[64].value,(0,e.tZ)(t.Z,{href:"https://docs.docker.com/get-docker/",sourceType:"a"},n[65].value),n[66].value)),(0,e.tZ)("li",null,n[67].value,(0,e.tZ)("code",null,n[68].value),n[69].value,(0,e.tZ)(t.Z,{href:"https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks",sourceType:"a"},n[70].value),n[71].value),(0,e.tZ)("li",null,n[72].value,(0,e.tZ)("code",null,n[73].value),n[74].value)),(0,e.tZ)("p",null,n[75].value,(0,e.tZ)(t.Z,{href:"https://github.com/react-component/",sourceType:"a"},n[76].value),n[77].value),(0,e.tZ)("p",null,n[78].value,(0,e.tZ)(t.Z,{href:"https://github.com/ant-design/ant-design/",sourceType:"a"},n[79].value),n[80].value),(0,e.tZ)("h2",{id:"development-workflow"},(0,e.tZ)(t.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#development-workflow",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"Development Workflow"),(0,e.tZ)("p",null,(0,e.tZ)("code",null,n[81].value),n[82].value,(0,e.tZ)("code",null,n[83].value),n[84].value),(0,e.tZ)("p",null,n[85].value)),(0,e.tZ)(a.Z,{npm:"$ npm install",yarn:"$ yarn"}),(0,e.tZ)("div",{className:"markdown"},(0,e.tZ)("p",null,n[86].value),(0,e.tZ)("h3",{id:"run-locally"},(0,e.tZ)(t.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#run-locally",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"Run locally"),(0,e.tZ)("p",null,n[87].value)),(0,e.tZ)(a.Z,{npm:"$ npm start",yarn:"$ yarn start"}),(0,e.tZ)("div",{className:"markdown"},(0,e.tZ)("h3",{id:"checks-the-code-style"},(0,e.tZ)(t.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#checks-the-code-style",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"Checks the code style")),(0,e.tZ)(a.Z,{npm:"$ npm run lint",yarn:"$ yarn lint"}),(0,e.tZ)("div",{className:"markdown"},(0,e.tZ)("h3",{id:"run-test"},(0,e.tZ)(t.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#run-test",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"Run test"),(0,e.tZ)("p",null,n[88].value,(0,e.tZ)("code",null,n[89].value),n[90].value)),(0,e.tZ)(a.Z,{npm:"$ npm test",yarn:"$ yarn test"}),(0,e.tZ)("div",{className:"markdown"},(0,e.tZ)("h3",{id:"compile"},(0,e.tZ)(t.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#compile",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"Compile"),(0,e.tZ)("p",null,n[91].value,(0,e.tZ)("code",null,n[92].value),n[93].value,(0,e.tZ)("code",null,n[94].value),n[95].value)),(0,e.tZ)(a.Z,{npm:"$ npm run compile",yarn:"$ yarn compile"}),(0,e.tZ)("div",{className:"markdown"},(0,e.tZ)("h3",{id:"build"},(0,e.tZ)(t.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#build",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"Build"),(0,e.tZ)("p",null,n[96].value)),(0,e.tZ)(a.Z,{npm:"$ npm run dist",yarn:"$ yarn dist"}),(0,e.tZ)("div",{className:"markdown"},(0,e.tZ)("h2",{id:"development-tools"},(0,e.tZ)(t.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#development-tools",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"Development Tools"),(0,e.tZ)("ul",null,(0,e.tZ)("li",null,n[97].value,(0,e.tZ)(t.Z,{href:"https://marketplace.visualstudio.com/items?itemName=shezhangzhang.antd-design-token",sourceType:"a"},n[98].value)),(0,e.tZ)("li",null,n[99].value,(0,e.tZ)(t.Z,{href:"https://github.com/fi3ework/vscode-antd-rush",sourceType:"a"},n[100].value))),(0,e.tZ)("h2",{id:"being-a-collaborator"},(0,e.tZ)(t.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#being-a-collaborator",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"Being a collaborator"),(0,e.tZ)("p",null,n[101].value,(0,e.tZ)(t.Z,{href:"https://github.com/ant-design/ant-design/wiki/Collaborators#how-to-apply-for-being-a-collaborator",sourceType:"a"},n[102].value),n[103].value),(0,e.tZ)("p",null,n[104].value),(0,e.tZ)("ul",null,(0,e.tZ)("li",null,(0,e.tZ)(t.Z,{to:"/docs/blog/to-be-collaborator",sourceType:"Link"},n[105].value))))))}l.default=s}}]);