From 59636700103e1972f626d665936dcd5fb46fd4d8 Mon Sep 17 00:00:00 2001
From: super-lin0 <3924578651@qq.com>
Date: Fri, 18 Oct 2019 17:31:03 +0800
Subject: [PATCH] Add antd pro
---
package.json | 2 +-
src/index.js | 33 +-
template/pro/.dockerignore | 35 +
template/pro/.editorconfig | 16 +
template/pro/.eslintignore | 4 +
template/pro/.eslintrc.js | 7 +
.../pro/.github/ISSUE_TEMPLATE/bug_report.md | 24 +
.../.github/ISSUE_TEMPLATE/feature_request.md | 13 +
.../pro/.github/ISSUE_TEMPLATE/question.md | 13 +
template/pro/.gitignore.template | 40 +
template/pro/.gitpod.yml | 6 +
template/pro/.prettierignore | 20 +
template/pro/.prettierrc.js | 5 +
template/pro/.stylelintrc.js | 5 +
template/pro/CNAME | 1 +
template/pro/CODE_OF_CONDUCT.md | 46 +
template/pro/Dockerfile | 14 +
template/pro/Dockerfile.dev | 12 +
template/pro/Dockerfile.hub | 27 +
template/pro/LICENSE | 21 +
template/pro/README.fr-FR.md | 124 +
template/pro/README.ja-JP.md | 126 +
template/pro/README.md | 126 +
template/pro/README.pt-BR.md | 126 +
template/pro/README.ru-RU.md | 112 +
template/pro/README.tr-TR.md | 116 +
template/pro/README.zh-CN.md | 114 +
template/pro/azure-pipelines.yml | 78 +
template/pro/config/config.ts | 191 +
template/pro/config/defaultSettings.ts | 60 +
template/pro/config/plugin.config.ts | 104 +
template/pro/docker/docker-compose.dev.yml | 14 +
template/pro/docker/docker-compose.yml | 21 +
template/pro/docker/nginx.conf | 21 +
template/pro/jest-puppeteer.config.js | 12 +
template/pro/jest.config.js | 7 +
template/pro/jsconfig.json | 10 +
template/pro/lambda/api.js | 26 +
template/pro/lambda/mock/index.js | 4322 +++++++++++++++++
template/pro/lambda/mock/matchMock.js | 116 +
template/pro/mock/notices.ts | 105 +
template/pro/mock/route.ts | 5 +
template/pro/mock/user.ts | 145 +
template/pro/netlify.toml | 16 +
template/pro/package.json | 161 +
template/pro/public/favicon.png | Bin 0 -> 2849 bytes
template/pro/public/icons/icon-128x128.png | Bin 0 -> 1329 bytes
template/pro/public/icons/icon-192x192.png | Bin 0 -> 1856 bytes
template/pro/public/icons/icon-512x512.png | Bin 0 -> 5082 bytes
template/pro/src/assets/logo.svg | 43 +
.../src/components/Authorized/Authorized.tsx | 28 +
.../components/Authorized/AuthorizedRoute.tsx | 33 +
.../Authorized/CheckPermissions.tsx | 83 +
.../components/Authorized/PromiseRender.tsx | 93 +
.../pro/src/components/Authorized/Secured.tsx | 66 +
.../pro/src/components/Authorized/index.tsx | 13 +
.../components/Authorized/renderAuthorize.ts | 30 +
.../pro/src/components/CopyBlock/index.less | 29 +
.../pro/src/components/CopyBlock/index.tsx | 80 +
.../GlobalHeader/AvatarDropdown.tsx | 75 +
.../GlobalHeader/NoticeIconView.tsx | 154 +
.../components/GlobalHeader/RightContent.tsx | 75 +
.../src/components/GlobalHeader/index.less | 134 +
.../src/components/HeaderDropdown/index.less | 16 +
.../src/components/HeaderDropdown/index.tsx | 19 +
.../src/components/HeaderSearch/index.less | 32 +
.../pro/src/components/HeaderSearch/index.tsx | 147 +
.../src/components/NoticeIcon/NoticeList.less | 105 +
.../src/components/NoticeIcon/NoticeList.tsx | 114 +
.../pro/src/components/NoticeIcon/index.less | 31 +
.../pro/src/components/NoticeIcon/index.tsx | 175 +
.../pro/src/components/PageLoading/index.tsx | 11 +
.../pro/src/components/SelectLang/index.less | 24 +
.../pro/src/components/SelectLang/index.tsx | 51 +
.../SettingDrawer/themeColorClient.ts | 31 +
.../src/e2e/__mocks__/antd-pro-merge-less.js | 1 +
template/pro/src/e2e/baseLayout.e2e.js | 39 +
template/pro/src/e2e/topMenu.e2e.js | 15 +
template/pro/src/global.less | 47 +
template/pro/src/global.tsx | 83 +
template/pro/src/layouts/BasicLayout.tsx | 188 +
template/pro/src/layouts/BlankLayout.tsx | 5 +
template/pro/src/layouts/SecurityLayout.tsx | 58 +
template/pro/src/layouts/UserLayout.less | 71 +
template/pro/src/layouts/UserLayout.tsx | 65 +
template/pro/src/locales/en-US.ts | 22 +
template/pro/src/locales/en-US/component.ts | 5 +
.../pro/src/locales/en-US/globalHeader.ts | 17 +
template/pro/src/locales/en-US/menu.ts | 50 +
template/pro/src/locales/en-US/pwa.ts | 6 +
.../pro/src/locales/en-US/settingDrawer.ts | 31 +
template/pro/src/locales/en-US/settings.ts | 60 +
template/pro/src/locales/pt-BR.ts | 20 +
template/pro/src/locales/pt-BR/component.ts | 5 +
.../pro/src/locales/pt-BR/globalHeader.ts | 18 +
template/pro/src/locales/pt-BR/menu.ts | 51 +
template/pro/src/locales/pt-BR/pwa.ts | 7 +
.../pro/src/locales/pt-BR/settingDrawer.ts | 32 +
template/pro/src/locales/pt-BR/settings.ts | 60 +
template/pro/src/locales/zh-CN.ts | 22 +
template/pro/src/locales/zh-CN/component.ts | 5 +
.../pro/src/locales/zh-CN/globalHeader.ts | 17 +
template/pro/src/locales/zh-CN/menu.ts | 50 +
template/pro/src/locales/zh-CN/pwa.ts | 6 +
.../pro/src/locales/zh-CN/settingDrawer.ts | 31 +
template/pro/src/locales/zh-CN/settings.ts | 55 +
template/pro/src/locales/zh-TW.ts | 20 +
template/pro/src/locales/zh-TW/component.ts | 5 +
.../pro/src/locales/zh-TW/globalHeader.ts | 17 +
template/pro/src/locales/zh-TW/menu.ts | 51 +
template/pro/src/locales/zh-TW/pwa.ts | 6 +
.../pro/src/locales/zh-TW/settingDrawer.ts | 31 +
template/pro/src/locales/zh-TW/settings.ts | 55 +
template/pro/src/manifest.json | 22 +
template/pro/src/models/connect.d.ts | 40 +
template/pro/src/models/global.ts | 149 +
template/pro/src/models/login.ts | 95 +
template/pro/src/models/setting.ts | 89 +
template/pro/src/models/user.ts | 86 +
template/pro/src/pages/404.tsx | 21 +
template/pro/src/pages/Authorized.tsx | 58 +
template/pro/src/pages/Welcome.tsx | 66 +
template/pro/src/pages/document.ejs | 168 +
.../login/components/Login/LoginContext.tsx | 13 +
.../user/login/components/Login/LoginItem.tsx | 196 +
.../login/components/Login/LoginSubmit.tsx | 23 +
.../user/login/components/Login/LoginTab.tsx | 53 +
.../user/login/components/Login/index.less | 53 +
.../user/login/components/Login/index.tsx | 173 +
.../pages/user/login/components/Login/map.tsx | 65 +
template/pro/src/pages/user/login/index.tsx | 205 +
.../pro/src/pages/user/login/locales/en-US.ts | 78 +
.../pro/src/pages/user/login/locales/zh-CN.ts | 74 +
.../pro/src/pages/user/login/locales/zh-TW.ts | 74 +
template/pro/src/pages/user/login/style.less | 39 +
template/pro/src/service-worker.js | 66 +
template/pro/src/services/login.ts | 19 +
template/pro/src/services/user.ts | 13 +
template/pro/src/typings.d.ts | 43 +
template/pro/src/utils/Authorized.ts | 13 +
template/pro/src/utils/authority.test.ts | 16 +
template/pro/src/utils/authority.ts | 33 +
template/pro/src/utils/request.ts | 56 +
template/pro/src/utils/utils.less | 50 +
template/pro/src/utils/utils.test.ts | 37 +
template/pro/src/utils/utils.ts | 24 +
template/pro/tests/run-tests.js | 49 +
template/pro/tsconfig.json | 34 +
148 files changed, 11897 insertions(+), 17 deletions(-)
create mode 100644 template/pro/.dockerignore
create mode 100644 template/pro/.editorconfig
create mode 100644 template/pro/.eslintignore
create mode 100644 template/pro/.eslintrc.js
create mode 100644 template/pro/.github/ISSUE_TEMPLATE/bug_report.md
create mode 100644 template/pro/.github/ISSUE_TEMPLATE/feature_request.md
create mode 100644 template/pro/.github/ISSUE_TEMPLATE/question.md
create mode 100644 template/pro/.gitignore.template
create mode 100644 template/pro/.gitpod.yml
create mode 100644 template/pro/.prettierignore
create mode 100644 template/pro/.prettierrc.js
create mode 100644 template/pro/.stylelintrc.js
create mode 100644 template/pro/CNAME
create mode 100644 template/pro/CODE_OF_CONDUCT.md
create mode 100644 template/pro/Dockerfile
create mode 100644 template/pro/Dockerfile.dev
create mode 100644 template/pro/Dockerfile.hub
create mode 100644 template/pro/LICENSE
create mode 100644 template/pro/README.fr-FR.md
create mode 100644 template/pro/README.ja-JP.md
create mode 100644 template/pro/README.md
create mode 100644 template/pro/README.pt-BR.md
create mode 100644 template/pro/README.ru-RU.md
create mode 100644 template/pro/README.tr-TR.md
create mode 100644 template/pro/README.zh-CN.md
create mode 100644 template/pro/azure-pipelines.yml
create mode 100644 template/pro/config/config.ts
create mode 100644 template/pro/config/defaultSettings.ts
create mode 100644 template/pro/config/plugin.config.ts
create mode 100644 template/pro/docker/docker-compose.dev.yml
create mode 100644 template/pro/docker/docker-compose.yml
create mode 100644 template/pro/docker/nginx.conf
create mode 100644 template/pro/jest-puppeteer.config.js
create mode 100644 template/pro/jest.config.js
create mode 100644 template/pro/jsconfig.json
create mode 100644 template/pro/lambda/api.js
create mode 100644 template/pro/lambda/mock/index.js
create mode 100644 template/pro/lambda/mock/matchMock.js
create mode 100644 template/pro/mock/notices.ts
create mode 100644 template/pro/mock/route.ts
create mode 100644 template/pro/mock/user.ts
create mode 100644 template/pro/netlify.toml
create mode 100644 template/pro/package.json
create mode 100644 template/pro/public/favicon.png
create mode 100644 template/pro/public/icons/icon-128x128.png
create mode 100644 template/pro/public/icons/icon-192x192.png
create mode 100644 template/pro/public/icons/icon-512x512.png
create mode 100644 template/pro/src/assets/logo.svg
create mode 100644 template/pro/src/components/Authorized/Authorized.tsx
create mode 100644 template/pro/src/components/Authorized/AuthorizedRoute.tsx
create mode 100644 template/pro/src/components/Authorized/CheckPermissions.tsx
create mode 100644 template/pro/src/components/Authorized/PromiseRender.tsx
create mode 100644 template/pro/src/components/Authorized/Secured.tsx
create mode 100644 template/pro/src/components/Authorized/index.tsx
create mode 100644 template/pro/src/components/Authorized/renderAuthorize.ts
create mode 100644 template/pro/src/components/CopyBlock/index.less
create mode 100644 template/pro/src/components/CopyBlock/index.tsx
create mode 100644 template/pro/src/components/GlobalHeader/AvatarDropdown.tsx
create mode 100644 template/pro/src/components/GlobalHeader/NoticeIconView.tsx
create mode 100644 template/pro/src/components/GlobalHeader/RightContent.tsx
create mode 100644 template/pro/src/components/GlobalHeader/index.less
create mode 100644 template/pro/src/components/HeaderDropdown/index.less
create mode 100644 template/pro/src/components/HeaderDropdown/index.tsx
create mode 100644 template/pro/src/components/HeaderSearch/index.less
create mode 100644 template/pro/src/components/HeaderSearch/index.tsx
create mode 100755 template/pro/src/components/NoticeIcon/NoticeList.less
create mode 100644 template/pro/src/components/NoticeIcon/NoticeList.tsx
create mode 100644 template/pro/src/components/NoticeIcon/index.less
create mode 100644 template/pro/src/components/NoticeIcon/index.tsx
create mode 100644 template/pro/src/components/PageLoading/index.tsx
create mode 100644 template/pro/src/components/SelectLang/index.less
create mode 100644 template/pro/src/components/SelectLang/index.tsx
create mode 100644 template/pro/src/components/SettingDrawer/themeColorClient.ts
create mode 100644 template/pro/src/e2e/__mocks__/antd-pro-merge-less.js
create mode 100644 template/pro/src/e2e/baseLayout.e2e.js
create mode 100644 template/pro/src/e2e/topMenu.e2e.js
create mode 100644 template/pro/src/global.less
create mode 100644 template/pro/src/global.tsx
create mode 100644 template/pro/src/layouts/BasicLayout.tsx
create mode 100644 template/pro/src/layouts/BlankLayout.tsx
create mode 100644 template/pro/src/layouts/SecurityLayout.tsx
create mode 100755 template/pro/src/layouts/UserLayout.less
create mode 100644 template/pro/src/layouts/UserLayout.tsx
create mode 100644 template/pro/src/locales/en-US.ts
create mode 100644 template/pro/src/locales/en-US/component.ts
create mode 100644 template/pro/src/locales/en-US/globalHeader.ts
create mode 100644 template/pro/src/locales/en-US/menu.ts
create mode 100644 template/pro/src/locales/en-US/pwa.ts
create mode 100644 template/pro/src/locales/en-US/settingDrawer.ts
create mode 100644 template/pro/src/locales/en-US/settings.ts
create mode 100644 template/pro/src/locales/pt-BR.ts
create mode 100644 template/pro/src/locales/pt-BR/component.ts
create mode 100644 template/pro/src/locales/pt-BR/globalHeader.ts
create mode 100644 template/pro/src/locales/pt-BR/menu.ts
create mode 100644 template/pro/src/locales/pt-BR/pwa.ts
create mode 100644 template/pro/src/locales/pt-BR/settingDrawer.ts
create mode 100644 template/pro/src/locales/pt-BR/settings.ts
create mode 100644 template/pro/src/locales/zh-CN.ts
create mode 100644 template/pro/src/locales/zh-CN/component.ts
create mode 100644 template/pro/src/locales/zh-CN/globalHeader.ts
create mode 100644 template/pro/src/locales/zh-CN/menu.ts
create mode 100644 template/pro/src/locales/zh-CN/pwa.ts
create mode 100644 template/pro/src/locales/zh-CN/settingDrawer.ts
create mode 100644 template/pro/src/locales/zh-CN/settings.ts
create mode 100644 template/pro/src/locales/zh-TW.ts
create mode 100644 template/pro/src/locales/zh-TW/component.ts
create mode 100644 template/pro/src/locales/zh-TW/globalHeader.ts
create mode 100644 template/pro/src/locales/zh-TW/menu.ts
create mode 100644 template/pro/src/locales/zh-TW/pwa.ts
create mode 100644 template/pro/src/locales/zh-TW/settingDrawer.ts
create mode 100644 template/pro/src/locales/zh-TW/settings.ts
create mode 100644 template/pro/src/manifest.json
create mode 100644 template/pro/src/models/connect.d.ts
create mode 100644 template/pro/src/models/global.ts
create mode 100644 template/pro/src/models/login.ts
create mode 100644 template/pro/src/models/setting.ts
create mode 100644 template/pro/src/models/user.ts
create mode 100644 template/pro/src/pages/404.tsx
create mode 100644 template/pro/src/pages/Authorized.tsx
create mode 100644 template/pro/src/pages/Welcome.tsx
create mode 100644 template/pro/src/pages/document.ejs
create mode 100644 template/pro/src/pages/user/login/components/Login/LoginContext.tsx
create mode 100644 template/pro/src/pages/user/login/components/Login/LoginItem.tsx
create mode 100644 template/pro/src/pages/user/login/components/Login/LoginSubmit.tsx
create mode 100644 template/pro/src/pages/user/login/components/Login/LoginTab.tsx
create mode 100644 template/pro/src/pages/user/login/components/Login/index.less
create mode 100644 template/pro/src/pages/user/login/components/Login/index.tsx
create mode 100644 template/pro/src/pages/user/login/components/Login/map.tsx
create mode 100644 template/pro/src/pages/user/login/index.tsx
create mode 100644 template/pro/src/pages/user/login/locales/en-US.ts
create mode 100644 template/pro/src/pages/user/login/locales/zh-CN.ts
create mode 100644 template/pro/src/pages/user/login/locales/zh-TW.ts
create mode 100644 template/pro/src/pages/user/login/style.less
create mode 100644 template/pro/src/service-worker.js
create mode 100644 template/pro/src/services/login.ts
create mode 100644 template/pro/src/services/user.ts
create mode 100644 template/pro/src/typings.d.ts
create mode 100644 template/pro/src/utils/Authorized.ts
create mode 100644 template/pro/src/utils/authority.test.ts
create mode 100644 template/pro/src/utils/authority.ts
create mode 100644 template/pro/src/utils/request.ts
create mode 100644 template/pro/src/utils/utils.less
create mode 100644 template/pro/src/utils/utils.test.ts
create mode 100644 template/pro/src/utils/utils.ts
create mode 100644 template/pro/tests/run-tests.js
create mode 100644 template/pro/tsconfig.json
diff --git a/package.json b/package.json
index 1761a83..786691b 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "nemean-cli",
- "version": "0.1.5",
+ "version": "0.2.7",
"main": "src/index.js",
"bin": "bin/npmrc.js",
"license": "ISC",
diff --git a/src/index.js b/src/index.js
index 0c24a26..97f008b 100644
--- a/src/index.js
+++ b/src/index.js
@@ -24,7 +24,7 @@ class Factory {
switch (this.type) {
case "web":
break;
- case "mobile":
+ case "pro":
break;
default:
Factory.log("未知类型", "red");
@@ -34,6 +34,7 @@ class Factory {
filter: src => {
return (
!(src.indexOf("package.json") >= 0) &&
+ !(src.indexOf("package-lock.json") >= 0) &&
!(src.indexOf("eslintrc") >= 0) &&
!(src.indexOf("README.md") >= 0) &&
!(src.indexOf("gitignore") >= 0)
@@ -56,7 +57,7 @@ class Factory {
case "web":
temPackage = fs.readJSONSync(`${this.CUR_POJ_PATH}package.json`);
break;
- case "mobile":
+ case "pro":
temPackage = fs.readJSONSync(`${this.CUR_POJ_PATH}/package.json`);
break;
default:
@@ -111,11 +112,6 @@ class Factory {
}
});
- if (curPackage.dependencies && curPackage.dependencies["nemean-cli"]) {
- Factory.log("删除nemean-cli包");
- delete curPackage.dependencies["nemean-cli"];
- }
-
// scripts
// 暂时不考虑覆盖问题
curPackage.scripts = temPackage.scripts;
@@ -125,6 +121,15 @@ class Factory {
// pre commit
curPackage["pre-commit"] = temPackage["pre-commit"];
+ Factory.log("============================ \n", "yellow");
+ Factory.log(JSON.stringify(curPackage.dependencies), "yellow");
+ Factory.log("============================ \n", "yellow");
+
+ if (curPackage.dependencies && curPackage.dependencies["nemean-cli"]) {
+ Factory.log("删除nemean-cli包");
+ delete curPackage.dependencies["nemean-cli"];
+ }
+
fs.writeJSONSync(`${PRO_PATH}/package.json`, curPackage, {
spaces: 2
});
@@ -132,19 +137,15 @@ class Factory {
// 后续工作
callBack() {
- if (this.SYS_TYPE && this.SYS_TYPE.toLowerCase().indexOf("window") > 0) {
- // windows
- } else {
- Factory.log("开始安装依赖 \n");
- shell.exec("cnpm i --registry=http://101.132.127.199:7001");
- }
+ Factory.log("开始卸载nemean-cli依赖 \n");
+ shell.exec("npm uninstall nemean-cli --save");
}
start() {
try {
this.copyFile(); // copy核心文件
this.trimPackage(); // 处理依赖
- // this.callBack(); // 执行后续
+ this.callBack(); // 执行后续
} catch (e) {
Factory.log("构建失败" + e, "red");
}
@@ -160,8 +161,8 @@ module.exports = function begin() {
message: "请选择项目类型:",
pageSize: 2,
choices: [
- { name: "Ant Design Pro", value: "web" }
- // { name: "Mobile端项目", value: "mobile" },
+ { name: "app", value: "web" },
+ { name: "Ant design pro", value: "pro" }
]
}
];
diff --git a/template/pro/.dockerignore b/template/pro/.dockerignore
new file mode 100644
index 0000000..8e90ca6
--- /dev/null
+++ b/template/pro/.dockerignore
@@ -0,0 +1,35 @@
+# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
+
+# dependencies
+**/node_modules
+/src/utils/request-temp.js
+
+# production
+/.vscode
+
+# misc
+.DS_Store
+npm-debug.log*
+yarn-error.log
+
+/coverage
+.idea
+yarn.lock
+package-lock.json
+*bak
+.vscode
+
+# visual studio code
+.history
+*.log
+
+functions/mock
+.temp/**
+
+# umi
+.umi
+.umi-production
+
+# screenshot
+screenshot
+.firebase
\ No newline at end of file
diff --git a/template/pro/.editorconfig b/template/pro/.editorconfig
new file mode 100644
index 0000000..7e3649a
--- /dev/null
+++ b/template/pro/.editorconfig
@@ -0,0 +1,16 @@
+# http://editorconfig.org
+root = true
+
+[*]
+indent_style = space
+indent_size = 2
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[*.md]
+trim_trailing_whitespace = false
+
+[Makefile]
+indent_style = tab
diff --git a/template/pro/.eslintignore b/template/pro/.eslintignore
new file mode 100644
index 0000000..16116a2
--- /dev/null
+++ b/template/pro/.eslintignore
@@ -0,0 +1,4 @@
+/lambda/
+/scripts
+/config
+.history
\ No newline at end of file
diff --git a/template/pro/.eslintrc.js b/template/pro/.eslintrc.js
new file mode 100644
index 0000000..7ca3d28
--- /dev/null
+++ b/template/pro/.eslintrc.js
@@ -0,0 +1,7 @@
+module.exports = {
+ extends: [require.resolve('@umijs/fabric/dist/eslint')],
+ globals: {
+ ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION: true,
+ page: true,
+ },
+};
diff --git a/template/pro/.github/ISSUE_TEMPLATE/bug_report.md b/template/pro/.github/ISSUE_TEMPLATE/bug_report.md
new file mode 100644
index 0000000..eb90f97
--- /dev/null
+++ b/template/pro/.github/ISSUE_TEMPLATE/bug_report.md
@@ -0,0 +1,24 @@
+---
+name: '报告Bug 🐛'
+about: 报告 Ant Design Pro 的 bug
+title: '[BUG]'
+labels: bug
+assignees: ''
+---
+
+**bug 描述** [详细地描述 bug,让大家都能理解]
+
+**复现步骤** [清晰描述复现步骤,让别人也能看到问题]
+
+**期望结果** [描述你原本期望看到的结果]
+
+**复现代码** [提供可复现的代码,仓库,或线上示例]
+
+**版本信息:**
+
+- Ant Design Pro 版本: [e.g. 4.0.0]
+- umi 版本
+- 浏览器环境
+- 开发环境 [e.g. mac OS]
+
+**其他信息** [如截图等其他信息可以贴在这里]
diff --git a/template/pro/.github/ISSUE_TEMPLATE/feature_request.md b/template/pro/.github/ISSUE_TEMPLATE/feature_request.md
new file mode 100644
index 0000000..bdc3858
--- /dev/null
+++ b/template/pro/.github/ISSUE_TEMPLATE/feature_request.md
@@ -0,0 +1,13 @@
+---
+name: '功能需求 ✨'
+about: 对 Ant Design Pro 的需求或建议
+title: '[需求]'
+labels: feature
+assignees: ''
+---
+
+**需求描述** [详细地描述需求,让大家都能理解]
+
+**解决方案** [如果你有解决方案,在这里清晰地阐述]
+
+**其他信息** [如截图等其他信息可以贴在这里]
diff --git a/template/pro/.github/ISSUE_TEMPLATE/question.md b/template/pro/.github/ISSUE_TEMPLATE/question.md
new file mode 100644
index 0000000..3ad4067
--- /dev/null
+++ b/template/pro/.github/ISSUE_TEMPLATE/question.md
@@ -0,0 +1,13 @@
+---
+name: '疑问或需要帮助 ❓'
+about: 对 Ant Design Pro 使用的疑问或需要帮助
+title: '[问题]'
+labels: question
+assignees: ''
+---
+
+**问题描述** [详细地描述问题,让大家都能理解]
+
+**示例代码** [如果有必要,展示代码,线上示例,或仓库]
+
+**其他信息** [如截图等其他信息可以贴在这里]
diff --git a/template/pro/.gitignore.template b/template/pro/.gitignore.template
new file mode 100644
index 0000000..7fd9f58
--- /dev/null
+++ b/template/pro/.gitignore.template
@@ -0,0 +1,40 @@
+# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
+
+# dependencies
+**/node_modules
+# roadhog-api-doc ignore
+/src/utils/request-temp.js
+_roadhog-api-doc
+
+# production
+/dist
+/.vscode
+
+# misc
+.DS_Store
+npm-debug.log*
+yarn-error.log
+
+/coverage
+.idea
+yarn.lock
+package-lock.json
+*bak
+.vscode
+
+# visual studio code
+.history
+*.log
+functions/*
+.temp/**
+
+# umi
+.umi
+.umi-production
+
+# screenshot
+screenshot
+.firebase
+.eslintcache
+
+build
diff --git a/template/pro/.gitpod.yml b/template/pro/.gitpod.yml
new file mode 100644
index 0000000..32d8e64
--- /dev/null
+++ b/template/pro/.gitpod.yml
@@ -0,0 +1,6 @@
+ports:
+ - port: 8000
+ onOpen: open-preview
+tasks:
+ - init: npm install
+ command: npm start
diff --git a/template/pro/.prettierignore b/template/pro/.prettierignore
new file mode 100644
index 0000000..4fa82fc
--- /dev/null
+++ b/template/pro/.prettierignore
@@ -0,0 +1,20 @@
+**/*.svg
+package.json
+.umi
+.umi-production
+/dist
+.dockerignore
+.DS_Store
+.eslintignore
+*.png
+*.toml
+docker
+.editorconfig
+Dockerfile*
+.gitignore
+.prettierignore
+LICENSE
+.eslintcache
+*.lock
+yarn-error.log
+.history
\ No newline at end of file
diff --git a/template/pro/.prettierrc.js b/template/pro/.prettierrc.js
new file mode 100644
index 0000000..7b597d7
--- /dev/null
+++ b/template/pro/.prettierrc.js
@@ -0,0 +1,5 @@
+const fabric = require('@umijs/fabric');
+
+module.exports = {
+ ...fabric.prettier,
+};
diff --git a/template/pro/.stylelintrc.js b/template/pro/.stylelintrc.js
new file mode 100644
index 0000000..c203078
--- /dev/null
+++ b/template/pro/.stylelintrc.js
@@ -0,0 +1,5 @@
+const fabric = require('@umijs/fabric');
+
+module.exports = {
+ ...fabric.stylelint,
+};
diff --git a/template/pro/CNAME b/template/pro/CNAME
new file mode 100644
index 0000000..30c2d4d
--- /dev/null
+++ b/template/pro/CNAME
@@ -0,0 +1 @@
+preview.pro.ant.design
\ No newline at end of file
diff --git a/template/pro/CODE_OF_CONDUCT.md b/template/pro/CODE_OF_CONDUCT.md
new file mode 100644
index 0000000..2b4571c
--- /dev/null
+++ b/template/pro/CODE_OF_CONDUCT.md
@@ -0,0 +1,46 @@
+# Contributor Covenant Code of Conduct
+
+## Our Pledge
+
+In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
+
+## Our Standards
+
+Examples of behavior that contributes to creating a positive environment include:
+
+- Using welcoming and inclusive language
+- Being respectful of differing viewpoints and experiences
+- Gracefully accepting constructive criticism
+- Focusing on what is best for the community
+- Showing empathy towards other community members
+
+Examples of unacceptable behavior by participants include:
+
+- The use of sexualized language or imagery and unwelcome sexual attention or advances
+- Trolling, insulting/derogatory comments, and personal or political attacks
+- Public or private harassment
+- Publishing others' private information, such as a physical or electronic address, without explicit permission
+- Other conduct which could reasonably be considered inappropriate in a professional setting
+
+## Our Responsibilities
+
+Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
+
+Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
+
+## Scope
+
+This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
+
+## Enforcement
+
+Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at afc163@gmail.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
+
+Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
+
+## Attribution
+
+This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
+
+[homepage]: http://contributor-covenant.org
+[version]: http://contributor-covenant.org/version/1/4/
diff --git a/template/pro/Dockerfile b/template/pro/Dockerfile
new file mode 100644
index 0000000..35380f4
--- /dev/null
+++ b/template/pro/Dockerfile
@@ -0,0 +1,14 @@
+FROM circleci/node:latest-browsers
+
+WORKDIR /usr/src/app/
+USER root
+COPY package.json ./
+RUN yarn
+
+COPY ./ ./
+
+RUN npm run test:all
+
+RUN npm run fetch:blocks
+
+CMD ["npm", "run", "build"]
diff --git a/template/pro/Dockerfile.dev b/template/pro/Dockerfile.dev
new file mode 100644
index 0000000..b2c3d25
--- /dev/null
+++ b/template/pro/Dockerfile.dev
@@ -0,0 +1,12 @@
+FROM node:latest
+
+WORKDIR /usr/src/app/
+
+COPY package.json ./
+RUN npm install --silent --no-cache --registry=https://registry.npm.taobao.org
+
+COPY ./ ./
+
+RUN npm run fetch:blocks
+
+CMD ["npm", "run", "start"]
diff --git a/template/pro/Dockerfile.hub b/template/pro/Dockerfile.hub
new file mode 100644
index 0000000..58bbcbc
--- /dev/null
+++ b/template/pro/Dockerfile.hub
@@ -0,0 +1,27 @@
+FROM circleci/node:latest-browsers as builder
+
+WORKDIR /usr/src/app/
+USER root
+COPY package.json ./
+RUN yarn
+
+COPY ./ ./
+
+RUN npm run test:all
+
+RUN npm run fetch:blocks
+
+RUN npm run build
+
+
+FROM nginx
+
+WORKDIR /usr/share/nginx/html/
+
+COPY ./docker/nginx.conf /etc/nginx/conf.d/default.conf
+
+COPY --from=builder /usr/src/app/dist /usr/share/nginx/html/
+
+EXPOSE 80
+
+CMD ["nginx", "-g", "daemon off;"]
\ No newline at end of file
diff --git a/template/pro/LICENSE b/template/pro/LICENSE
new file mode 100644
index 0000000..c17ba2f
--- /dev/null
+++ b/template/pro/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2019 Alipay.inc
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/template/pro/README.fr-FR.md b/template/pro/README.fr-FR.md
new file mode 100644
index 0000000..5e2e744
--- /dev/null
+++ b/template/pro/README.fr-FR.md
@@ -0,0 +1,124 @@
+[English](./README.md) | [简体中文](./README.zh-CN.md) | [Русский](./README.ru-RU.md) | [Türkçe](./README.tr-TR.md) | [日本語](./README.ja-JP.md) | Français
+
+
Ant Design Pro
+
+
+
+Une solution UI prête à l'emploi pour des applications d'entreprise en tant que modèle React.
+
+[](http://umijs.org/) [](https://dev.azure.com/ant-design/ant-design-pro/_build/latest?definitionId=1?branchName=master) [](https://david-dm.org/ant-design/ant-design-pro) [](https://david-dm.org/ant-design/ant-design-pro?type=dev) [](https://gitter.im/ant-design/pro-english?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [](https://gitter.im/ant-design/ant-design-pro?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [](https://app.netlify.com/sites/ant-design-pro/deploys) 
+
+
+
+
+
+- Aperçu: http://preview.pro.ant.design
+- Page d'accueil: http://pro.ant.design
+- Documentation: http://pro.ant.design/docs/getting-started
+- ChangeLog: http://pro.ant.design/docs/changelog
+- FAQ: http://pro.ant.design/docs/faq
+- Site mirroir en Chine: http://ant-design-pro.gitee.io
+
+## 2.0 Sorti maintenant! 🎉🎉🎉
+
+[Annoncement de Ant Design Pro 2.0.0](https://medium.com/ant-design/beautiful-and-powerful-ant-design-pro-2-0-release-51358da5af95)
+
+## Recrutement pour la traduction :loudspeaker:
+
+Nous avons besoin de votre aide: https://github.com/ant-design/ant-design-pro/issues/120
+
+## Fonctionnalités
+
+- :gem: **Design soigné**: Suit [la spécification Ant Design](http://ant.design/)
+- :triangular_ruler: **Modèles communs**: Modèles typiques d'application d'entreprise
+- :rocket: **Développement dernier cri**: Infrastructure de développement de React/umi/dva/antd la plus récente
+- :iphone: **Design adapté**: Conçu pour des tailles d'écran variables
+- :art: **Thématisation**: Thème personnalisable avec configuration simple
+- :globe_with_meridians: **International**: Solution i18n intégrée
+- :gear: **Meilleures pratiques**: Flux de travail solide pour rendre votre code sain
+- :1234: **Développement simulé**: Solution de développement simulée facile à utiliser
+- :white_check_mark: **Tests UI**: Volez en toute sécurité avec les tests unitaires et e2e
+
+## Modèles
+
+```
+- Tableau de bord
+ - Analytique
+ - Moniteur
+ - Espace de travail
+- Formulaire
+ - Formulaire de base
+ - Formulaire par étape
+ - Formulaire avancé
+- Liste
+ - Tableau standard
+ - Liste standard
+ - Liste de cartes
+ - Liste de recherche (Projet/Applications/Article)
+- Profil
+ - Profil simple
+ - Profil avancé
+- Compte
+ - Centre du compte
+ - Paramètres du compte
+- Résultat
+ - Succès
+ - Échec
+- Exception
+ - 403
+ - 404
+ - 500
+- Utilisateur
+ - Connexion
+ - S'inscrire
+ - Résultat de l'inscription
+```
+
+## Utilisation
+
+### Utiliser bash
+
+```bash
+$ yarn create umi # or npm create umi
+
+# Choose ant-design-pro:
+ Select the boilerplate type (Use arrow keys)
+❯ ant-design-pro - Create project with an layout-only ant-design-pro boilerplate, use together with umi block.
+ app - Create project with a simple boilerplate, support typescript.
+ block - Create a umi block.
+ library - Create a library with umi.
+ plugin - Create a umi plugin.
+
+$ npm install
+$ npm start # visit http://localhost:8000
+```
+
+### Utilisation de Gitpod
+
+Ouvrez le projet avec Gitpod (environnement de développement gratuit pour GitHub) et commencez à coder immédiatement.
+
+[](https://gitpod.io/#https://github.com/ant-design/ant-design-pro)
+
+Plus d'instructions dans la [documentation](http://pro.ant.design/docs/getting-started).
+
+## Support des navigateurs
+
+Navigateurs modernes et IE11.
+
+| [](http://godban.github.io/browsers-support-badges/)IE / Edge | [](http://godban.github.io/browsers-support-badges/)Firefox | [](http://godban.github.io/browsers-support-badges/)Chrome | [](http://godban.github.io/browsers-support-badges/)Safari | [](http://godban.github.io/browsers-support-badges/)Opera |
+| --- | --- | --- | --- | --- |
+| IE11, Edge | deux dernières versions | deux dernières versions | deux dernières versions | deux dernières versions |
+
+## Contribution
+
+Toute forme de contribution est la bienvenue, voici quelques exemples de façons dont vous pouvez contribuer à ce projet:
+
+- Utiliser Ant Design Pro dans votre travail quotidien.
+- Soumettre des [issues](http://github.com/ant-design/ant-design-pro/issues) pour reporter les bugs ou poser des questions.
+- Proposer des [pull requests](http://github.com/ant-design/ant-design-pro/pulls) pour améliorer notre code.
+
+
+
+An out-of-box UI solution for enterprise applications as a React boilerplate.
+
+[](http://umijs.org/) [](https://dev.azure.com/ant-design/ant-design-pro/_build/latest?definitionId=1?branchName=master) [](https://david-dm.org/ant-design/ant-design-pro) [](https://david-dm.org/ant-design/ant-design-pro?type=dev) [](https://gitter.im/ant-design/pro-english?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [](https://gitter.im/ant-design/ant-design-pro?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [](https://app.netlify.com/sites/ant-design-pro/deploys) 
+
+
+
+
+
+- Preview: http://preview.pro.ant.design
+- Home Page: http://pro.ant.design
+- Documentation: http://pro.ant.design/docs/getting-started
+- ChangeLog: http://pro.ant.design/docs/changelog
+- FAQ: http://pro.ant.design/docs/faq
+- Mirror Site in China: http://ant-design-pro.gitee.io
+
+## 4.0 Released Now! 🎉🎉🎉
+
+[Announcing Ant Design Pro 4.0.0](https://medium.com/ant-design/ant-design-pro-v4-is-here-6f23098ae9d9)
+
+## Translation Recruitment :loudspeaker:
+
+We need your help: https://github.com/ant-design/ant-design-pro/issues/120
+
+## Features
+
+- :bulb: **TypeScript**: A language for application-scale JavaScript
+- :scroll: **Blocks**: Build page with block template
+- :gem: **Neat Design**: Follow [Ant Design specification](http://ant.design/)
+- :triangular_ruler: **Common Templates**: Typical templates for enterprise applications
+- :rocket: **State of The Art Development**: Newest development stack of React/umi/dva/antd
+- :iphone: **Responsive**: Designed for variable screen sizes
+- :art: **Theming**: Customizable theme with simple config
+- :globe_with_meridians: **International**: Built-in i18n solution
+- :gear: **Best Practices**: Solid workflow to make your code healthy
+- :1234: **Mock development**: Easy to use mock development solution
+- :white_check_mark: **UI Test**: Fly safely with unit and e2e tests
+
+## Templates
+
+```
+- Dashboard
+ - Analytic
+ - Monitor
+ - Workspace
+- Form
+ - Basic Form
+ - Step Form
+ - Advanced From
+- List
+ - Standard Table
+ - Standard List
+ - Card List
+ - Search List (Project/Applications/Article)
+- Profile
+ - Simple Profile
+ - Advanced Profile
+- Account
+ - Account Center
+ - Account Settings
+- Result
+ - Success
+ - Failed
+- Exception
+ - 403
+ - 404
+ - 500
+- User
+ - Login
+ - Register
+ - Register Result
+```
+
+## Usage
+
+### Use bash
+
+```bash
+$ yarn create umi # or npm create umi
+
+# Choose ant-design-pro:
+ Select the boilerplate type (Use arrow keys)
+❯ ant-design-pro - Create project with an layout-only ant-design-pro boilerplate, use together with umi block.
+ app - Create project with a simple boilerplate, support typescript.
+ block - Create a umi block.
+ library - Create a library with umi.
+ plugin - Create a umi plugin.
+
+$ npm install
+$ npm start # visit http://localhost:8000
+```
+
+### Use Gitpod
+
+Open the project in Gitpod (free online dev environment for GitHub) and start coding immediately.
+
+[](https://gitpod.io/#https://github.com/ant-design/ant-design-pro)
+
+More instructions at [documentation](http://pro.ant.design/docs/getting-started).
+
+## Browsers support
+
+Modern browsers and IE11.
+
+| [](http://godban.github.io/browsers-support-badges/)IE / Edge | [](http://godban.github.io/browsers-support-badges/)Firefox | [](http://godban.github.io/browsers-support-badges/)Chrome | [](http://godban.github.io/browsers-support-badges/)Safari | [](http://godban.github.io/browsers-support-badges/)Opera |
+| --- | --- | --- | --- | --- |
+| IE11, Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
+
+## Contributing
+
+Any type of contribution is welcome, here are some examples of how you may contribute to this project:
+
+- Use Ant Design Pro in your daily work.
+- Submit [issues](http://github.com/ant-design/ant-design-pro/issues) to report bugs or ask questions.
+- Propose [pull requests](http://github.com/ant-design/ant-design-pro/pulls) to improve our code.
+
+
+
+Uma solução de UI pronta para aplicações corporativos na forma de um boilerplate React.
+
+[](http://umijs.org/) [](https://dev.azure.com/ant-design/ant-design-pro/_build/latest?definitionId=1?branchName=master) [](https://david-dm.org/ant-design/ant-design-pro) [](https://david-dm.org/ant-design/ant-design-pro?type=dev) [](https://gitter.im/ant-design/pro-english?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [](https://gitter.im/ant-design/ant-design-pro?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [](https://app.netlify.com/sites/ant-design-pro/deploys) 
+
+
+
+
+
+- Prévia: http://preview.pro.ant.design
+- Página Inicial: http://pro.ant.design
+- Documentação: http://pro.ant.design/docs/getting-started
+- Mudanças: http://pro.ant.design/docs/changelog
+- FAQ: http://pro.ant.design/docs/faq
+- Site Alternativo na China: http://ant-design-pro.gitee.io
+
+## 4.0 Lançado! 🎉🎉🎉
+
+[Anúncio do Ant Design Pro 4.0.0](https://medium.com/ant-design/ant-design-pro-v4-is-here-6f23098ae9d9)
+
+## Recrutamento para tradução :loudspeaker:
+
+Precisamos da sua ajuda: https://github.com/ant-design/ant-design-pro/issues/120
+
+## Recursos
+
+- :bulb: **TypeScript**: Uma linguaguem para escalar aplicações JavaScript
+- :scroll: **Blocks**: Crie páginas com block template
+- :gem: **Design Elegante**: Segue as [especificações do Ant Design](http://ant.design/)
+- :triangular_ruler: **Modelos Comuns**: Modelos comuns para apliações empresariais
+- :rocket: **Estado da Arte do Desenvolvimento**: Stack de desenvolvimento mais recente do React/umi/dva/antd
+- :iphone: **Responsivo**: Projetado para tamanhos de telas variados
+- :art: **Personalização**: Customizável através de uma simples configuração
+- :globe_with_meridians: **Internacionalização**: Incluso i18n por padrão
+- :gear: **Melhores Práticas**: Fluxo de trabalho sólido para manter seu código saudável
+- :1234: **Desenvolvimento de Mock**: Fácil solução para desenvolvimento de mocks
+- :white_check_mark: **Testes de UI**: Voe tranquilamente com testes unitários e testes e2e
+
+## Modelos
+
+```
+- Painel de Controle
+ - Gráficos
+ - Monitoramento
+ - Areás de Trabalho
+- Formulários
+ - Formulários Básicos
+ - Formulário com Etapas
+ - Formulários Avançados
+- Listas
+ - Tabela Padrão
+ - Lista Padrão
+ - Lista com Cards
+ - Lista com Busca (Projeto/Aplicações/Artigos)
+- Perfís
+ - Perfil Simples
+ - Perfil Avançado
+- Conta
+ - Detalhes da Conta
+ - Configurações da Conta
+- Resultados
+ - Secesso
+ - Falha
+- Exceções
+ - 403
+ - 404
+ - 500
+- Usuário
+ - Login
+ - Cadastro
+ - Resultado do Cadastro
+```
+
+## Uso
+
+### Use o bash
+
+```bash
+$ yarn create umi # ou npm create umi
+
+# Escolha ant-design-pro:
+ Selecione o tipo do boilerplate (Use as teclas de seta)
+❯ ant-design-pro - Create project with an layout-only ant-design-pro boilerplate, use together with umi block.
+ app - Create project with a simple boilerplate, support typescript.
+ block - Create a umi block.
+ library - Create a library with umi.
+ plugin - Create a umi plugin.
+
+$ npm install
+$ npm start # visit http://localhost:8000
+```
+
+### Use Gitpod
+
+Abra o projeto no Gitpod (ambiente gratuito de desenvolvimento online para o GitHub) e comece a codificar imediatamente.
+
+[](https://gitpod.io/#https://github.com/ant-design/ant-design-pro)
+
+Mais instruções na [documentação](http://pro.ant.design/docs/getting-started).
+
+## Suporte a navegadores
+
+Navegadores modernos e IE11.
+
+| [](http://godban.github.io/browsers-support-badges/)IE / Edge | [](http://godban.github.io/browsers-support-badges/)Firefox | [](http://godban.github.io/browsers-support-badges/)Chrome | [](http://godban.github.io/browsers-support-badges/)Safari | [](http://godban.github.io/browsers-support-badges/)Opera |
+| --- | --- | --- | --- | --- |
+| IE11, Edge | últimas 2 versões | últimas 2 versões | últimas 2 versões | últimas 2 versões |
+
+## Contribuindo
+
+Qualquer tipo de contribuição é bem-vinda, aqui estão alguns exemplos de como você pode contribuir com esse projeto:
+
+- Use Ant Design Pro no seu trabalho diário.
+- Submeta [issues](http://github.com/ant-design/ant-design-pro/issues) para reportar bugs ou tirar dúvidas.
+- Proponha [pull requests](http://github.com/ant-design/ant-design-pro/pulls) para melhorar nosso código.
+
+
+
+UI-решение "из коробки" для корпоративных приложений как React boilerplate
+
+[](http://umijs.org/) [](https://dev.azure.com/ant-design/ant-design-pro/_build/latest?definitionId=1?branchName=master) [](https://david-dm.org/ant-design/ant-design-pro) [](https://david-dm.org/ant-design/ant-design-pro?type=dev) [](https://gitter.im/ant-design/pro-english?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [](https://gitter.im/ant-design/ant-design-pro?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [](https://app.netlify.com/sites/ant-design-pro/deploys) 
+
+
+
+
+
+- Демо: http://preview.pro.ant.design
+- Домашняя страница: http://pro.ant.design
+- Документация: http://pro.ant.design/docs/getting-started
+- История изменений: http://pro.ant.design/docs/changelog
+- FAQ: http://pro.ant.design/docs/faq
+- Китайское зеркало сайта: http://ant-design-pro.gitee.io
+
+## Поиск переводчиков :loudspeaker:
+
+Нам нужна ваша помощь: https://github.com/ant-design/ant-design-pro/issues/120
+
+## Возможности
+
+- :gem: **Аккуратный дизайн**: Посмотрите [спецификацию Ant Design](http://ant.design/)
+- :triangular_ruler: **Общие шаблоны**: Стандартные шаблоны для корпоративных приложений
+- :rocket: **Разработка, как искусство**: Новейший стек технологий React/umi/dva/antd
+- :iphone: **Отзывчивая верстка**: Создан для экранов разных размеров
+- :art: **Темизация**: Возможность изменения темы с помощью конфигурации
+- :globe_with_meridians: **Мультиязычность**: Встроенное i18n решение
+- :gear: **Лучшие практики**: Надежные процессы для хорошего кода
+- :1234: **Разработка по шаблону**: Простое в использовании решение для разработки
+- :white_check_mark: **UI тесты**: Разрабатывайте безопасно с юнит и e2e тестами
+
+## Шаблоны
+
+```
+- Dashboard
+ - Analytic
+ - Monitor
+ - Workspace
+- Form
+ - Basic Form
+ - Step Form
+ - Advanced From
+- List
+ - Standard Table
+ - Standard List
+ - Card List
+ - Search List (Project/Applications/Article)
+- Profile
+ - Simple Profile
+ - Advanced Profile
+- Account
+ - Account Center
+ - Account Settings
+- Result
+ - Success
+ - Failed
+- Exception
+ - 403
+ - 404
+ - 500
+- User
+ - Login
+ - Register
+ - Register Result
+```
+
+## Использование
+
+```bash
+$ yarn create umi # or npm create umi
+
+# Choose ant-design-pro:
+ Select the boilerplate type (Use arrow keys)
+❯ ant-design-pro - Create project with an layout-only ant-design-pro boilerplate, use together with umi block.
+ app - Create project with a simple boilerplate, support typescript.
+ block - Create a umi block.
+ library - Create a library with umi.
+ plugin - Create a umi plugin.
+
+$ npm install
+$ npm start # visit http://localhost:8000
+```
+
+Больше информации в [документации](http://pro.ant.design/docs/getting-started).
+
+## Совместимость
+
+Современные браузеры и IE11.
+
+| [](http://godban.github.io/browsers-support-badges/)IE / Edge | [](http://godban.github.io/browsers-support-badges/)Firefox | [](http://godban.github.io/browsers-support-badges/)Chrome | [](http://godban.github.io/browsers-support-badges/)Safari | [](http://godban.github.io/browsers-support-badges/)Opera |
+| --- | --- | --- | --- | --- |
+| IE11, Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
+
+## Распространение
+
+Любые варианты распространения приветствуются! Вот несколько примеров того, как вы можете помочь распространению проекта:
+
+- Использовать Ant Design Pro в ежедневной работе.
+- Создавать [задачи](http://github.com/ant-design/ant-design-pro/issues) заводить баги или отвечать на вопросы.
+- Делать [pull-реквесты](http://github.com/ant-design/ant-design-pro/pulls) для совершенствования нашего кода.
+
+
+
+React ile kurumsal uygulamalar için taslak olarak geliştirilmiş kullanıma hazır bir UI çözümü.
+
+[](https://circleci.com/gh/ant-design/ant-design-pro/) [](https://ci.appveyor.com/project/afc163/ant-design-pro/branch/master) [](https://david-dm.org/ant-design/ant-design-pro) [](https://david-dm.org/ant-design/ant-design-pro?type=dev) [](https://gitter.im/ant-design/pro-english?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)(🇺🇸) [](https://gitter.im/ant-design/ant-design-pro?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)(🇨🇳) [](https://app.netlify.com/sites/ant-design-pro/deploys) 
+
+
+
+
+
+- Önizleme: http://preview.pro.ant.design
+- Anasayfa: http://pro.ant.design
+- Dokümantasyon: http://pro.ant.design/docs/getting-started
+- ChangeLog: http://pro.ant.design/docs/changelog
+- SSS: http://pro.ant.design/docs/faq
+- Çinde barındırılan site: http://ant-design-pro.gitee.io
+
+## 2.0 Versiyonu Şimdi Yayında! 🎉🎉🎉
+
+[Announcing Ant Design Pro 2.0.0](https://medium.com/ant-design/beautiful-and-powerful-ant-design-pro-2-0-release-51358da5af95)
+
+## Çeviri Desteği :loudspeaker:
+
+Çeviriler için yardımınıza ihtiyacımız var: https://github.com/ant-design/ant-design-pro/issues/120
+
+## Özellikler
+
+- :gem: **Zarif Tasarım**: Buradan [Ant Design özellikleri](http://ant.design/)
+- :triangular_ruler: **Ortak Şablonlar**: Kurumsal uygulamalar için şablonlar
+- :rocket: **Sanatsal gelişim durumu**: Newest development stack of React/umi/dva/antd
+- :iphone: **Responsive**: Değişken ekran boyutları için tasarlanmıştır
+- :art: **Tema Kullanımı**: Basit ayarlar ile özelleştirilebilir tema
+- :globe_with_meridians: **Uluslararası**: Built-in i18n solution
+- :gear: **Best Practices**: İyi kod için sağlam iş akışı
+- :1234: **Mock Geliştirme**: Model(Mock) geliştirmeler için kolay çözüm
+- :white_check_mark: **UI Testi**: Unit ve e2e testleri ile güvenli sürdürülebilirlik
+
+## Şablonlar
+
+```
+- Dashboard
+ - Analitik
+ - Monitör
+ - Çalışma alanı
+- Form
+ - Basit Form
+ - Step Form
+ - Gelişmiş Form
+- List
+ - Standard Tablo
+ - Standard Liste
+ - Kart Liste
+ - Arama Listesi (Project/Applications/Article)
+- Profil
+ - Basit Profil
+ - Gelişmiş Profil
+- Hesap
+ - Hesap Yönetimi
+ - Hesap Ayarları
+- Sonuç
+ - Başarılı
+ - Hatalı
+- Hatalar
+ - 403
+ - 404
+ - 500
+- Kullanıcı
+ - Giriş
+ - Kayıt
+ - Kayıt Sonucu
+```
+
+## Kullanım
+
+```bash
+$ yarn create umi # or npm create umi
+
+# Choose ant-design-pro:
+ Select the boilerplate type (Use arrow keys)
+❯ ant-design-pro - Create project with an layout-only ant-design-pro boilerplate, use together with umi block.
+ app - Create project with a simple boilerplate, support typescript.
+ block - Create a umi block.
+ library - Create a library with umi.
+ plugin - Create a umi plugin.
+
+$ npm install
+$ npm start # visit http://localhost:8000
+```
+
+Daha fazla talimat için [dokümantasyon](http://pro.ant.design/docs/getting-started) sayfasına göz atın.
+
+## Tarayıcı desteği
+
+Modern internet tarayıcıları ve IE11.
+
+| [](http://godban.github.io/browsers-support-badges/)IE / Edge | [](http://godban.github.io/browsers-support-badges/)Firefox | [](http://godban.github.io/browsers-support-badges/)Chrome | [](http://godban.github.io/browsers-support-badges/)Safari | [](http://godban.github.io/browsers-support-badges/)Opera |
+| --- | --- | --- | --- | --- |
+| IE11, Edge | son 2 versiyon | son 2 versiyon | son 2 versiyon | son 2 versiyon |
+
+## Destek
+
+Her türlü desteğinize açığız, bu projeye nasıl katkıda bulunabileceğinize dair bazı örnekler:
+
+- Günlük işinizde Ant Design Pro kullanın.
+- Hataları bildirmek veya soru sormak için [issues](http://github.com/ant-design/ant-design-pro/issues) gönderin.
+- kodumuzu geliştirmek için [pull requests](http://github.com/ant-design/ant-design-pro/pulls) gönderin.
+
+