feat: merge master to v4 (#3666)
* fix: error-processing-request (#3402) * Close: #3398 * error authority is undefined * feat: add new config "menu.enableLocale" (#3310) * feat: add new config "layoutLocal" * Use enableLayoutLocale instead of layoutLocale * Use enableMenuLocale instead of enableMenuLocale * use menu.disableLocal * Fix an issue in list item Add (#3423) * try fix test error (#3424) * try fix test error * try fix ci error in windows * feat: Routing is in the root directory can also matchs. (#3364) * fix viewport content Error parsing a meta element's content: ';' is not a valid key-value pair separator. Please use ',' instead. * Set up CI with Azure Pipelines (#3268) * Set up CI with Azure Pipelines * change some js filemod to 644 (#3447) * fix #2851 (#3440) * add responsive-table (#3472) * remove PureComponent (#3470) * remove PureComponent * fix typo * chore: upgrade jest-puppeteer and remove some puppeteer config * html prettier (#3473) * prettier html * update dependencies * centering icon * set icon size * edit text * Removed redundant colon - zh-CN (#3480) * Removed redundant colon - zh-CN * Removed redundant colon - zh-TW * Removed redundant colon - en-US * fix: horizontal scroll bar appears on SiderMenu with light navTheme (#3381) * fix: horizontal scroll bar appears on SiderMenu with light navTheme * a better solution * fix Badge error (#3488) * fix tag error * Move flags to badges in README * Make "home" optional in breadcrumb (#3416) * fixed submenu collapsed when refresh page (#3494) * perf: add checkout config in azure (#3498) *🆙 upgrade deps (#3503) * fix: unresponsive collapse btn on mobile (#3504) * style: prettier SiderMenu.js (#3501) * style: prettier SiderMenu.js * new config file * fix ci error * feat: support pwa config (#3508) * feat: support pwa config * style: change code style * reset ci (#3507) * add actionsText prop to TagSelect, add locales to List page #3367 (#3442) * add actionsText prop to TagSelect, add locales to List page * add actionsText prop to TagSelect, add locales to List page * 修正繁体中文文案 (#3511) * Route authority attribute behavior (#3514) * fix customize menu icon bug (#3509) * fix customize menu icon bug 当采用自定义菜单图标(即通过url引用方式)且菜单折叠时,文字不隐藏 * fix customize menu icon bug 修改样式 * feat: add a demo that jump to details (#3502) * feat: add a demo that jump to details * feat: hide progress in coi * remove trigger config * remove fetchDepth: 1 * refactor: userinfo and application from api * style: fix code style * Enhance stylelint rules, fix propTypes error of TagSelect (#3518) * add stylelint shareable config for css modules * fix CSS pseudo element with double colon * support stylelint declaration-block-no-ignored-properties rule * support sorted CSS properties order for readability and consistency * autofix order of all styles by lint:fix script * fix propTypes error of TagSelect component * Revert "autofix order of all styles by lint:fix script" This reverts commit 51cb9d055f607489a259fd878d80c6b6e70c61de. * Revert "support sorted CSS properties order for readability and consistency" This reverts commit ff6c24d263cf5d3f73880bd7a5866efb4911de9f. * make lint:fix work for stylelint * Revert "Revert "autofix order of all styles by lint:fix script"" This reverts commit 946ed0a351542904e70680c166e47a1f5080d1ca. * Revert "Revert "support sorted CSS properties order for readability and consistency"" This reverts commit 31b557e3826e6e5c5cf9b591fc97e24b9b2abb6e. * Update README.zh-CN.md * doc: add umi-badge (#3538) * doc: add umi-badge * Update README.ru-RU.md (#3539) add umi badge * feat: Officially traded will use cdn to optimize bizchart (#3535) * route authority attribute behavior no use while (#3522) * route authority attribute behavior no use while * i18n pt-BR: analysis & component (#3540) * Translation of form and monitor (pt-BR) * Change flag of Portugal (pt-PT) to Brazil (pt-BR) * i18n pt-BR: analysis & component * Fix missing export default (#3525) * fix types missing export default * Update package.json * Update index.d.ts * Update index.d.ts * Update index.d.ts * 增加IconFont组件、菜单图标可以使用自己的IconFont项目图标 (#3517) * feature: 1.add iconfont component; 2.menu can add iconfont icon. * fix: 调整菜单引入iconfont的方式为String. 1. 新增IconFont组件,需在组件内配置自己的IconFont图标项目地址; 2. 然后,菜单图标可以引入自己的IconFont图标,图标字符串以icon-开头. * ajust: put the IconFont Script Url into defaultSetting.js * 调整iconfontUrl名称 * fix:注释更新 * 留空iconfontUrl * Site title use defaultSettings (#3546) * Site title od top use defaultSettings (#3551) * pref: optimize performance (#3542) * pref: optimize performance * pref: use less img * pref: use less img * fix: Eslint warning of Mock dependence (#3554) * perf: use requestAnimationFrame * Fix: onPressEnter trigger twice login request in IE11 * Fix: onPressEnter trigger twice login request in IE11 * Login title (#3564) * Added document title to UserLayout by identifying the current route object and using its name kaey to set the title * Adjusment to document title * feat: use same getPageTile function * when select 3 item ,text branch * style: use standard frontmatter * doc: remove subtitle in en-Us * better demo md * fix PageHeader no title bug (#3583) * fix PageHeader no title bug * default value * fix: React does not recognize the `staticContext` prop on a DOM element. (#3582) * doc: better demo * remove drawer onHandleClick, ant-design/ant-design#15051 (#3602) * Use Umi Permission Routing (#3587) Use Umi Permission Routing * fix the problem that breadcrumbNameMap does not contain hidden menus. (#3606) * Update enzyme to version 3.9.0 * Update package.json * Update jest-puppeteer to version 4.0.0 * Update prettier to version 1.16.4 * Update package.json *🐛 fix TagCloud style override bug (#3632) * Update stylelint-config-prettier to version 5.0.0 * Update index.md (#3644) * dead code (#3639) * dead code Close: #3637 * delete dead props * [NoticeIcon] Replace `LoadMore` with `ViewMore` button (#3439) * enhance LoadMore: Debounce * enhance LoadMore: debounce * use Tag instead of div * rewrite margin-right of Tag * hide LoadMore in NoticeList without onLoadMore * another style * fix a mistake * remove local config * fix a bug * user-select: none * remover local config * replace global/fetchMoreNotices with global/fetchNotices * replace LoadMore with ViewMore * remove prop `name` in NoticeIcon * fix: tab title does not show correct text * Fix margin top style error of Description List following Description List (#3653) * fix login model statu
Showing
.circleci/config.yml
deleted
100644 → 0
appveyor.yml
deleted
100644 → 0
azure-pipelines.yml
0 → 100644
{ | ||
"name": "ant-design-pro", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "An out-of-box UI solution for enterprise applications", | ||
"private": true, | ||
"scripts": { | ||
... | ... | @@ -11,10 +11,10 @@ |
"dev:no-mock": "cross-env MOCK=none umi dev", | ||
"build": "umi build", | ||
"analyze": "cross-env ANALYZE=1 umi build", | ||
"lint:style": "stylelint \"src/**/*.less\" --syntax less", | ||
"lint:style": "stylelint 'src/**/*.less' --syntax less", | ||
"lint:prettier": "check-prettier lint", | ||
"lint": "eslint --ext .js src mock tests && npm run lint:style && npm run lint:prettier", | ||
"lint:fix": "eslint --fix --ext .js src mock tests && npm run lint:style", | ||
"lint:fix": "eslint --fix --ext .js src mock tests && stylelint --fix 'src/**/*.less' --syntax less", | ||
"lint-staged": "lint-staged", | ||
"lint-staged:js": "eslint --ext .js", | ||
"test": "umi test", | ||
... | ... | @@ -50,46 +50,51 @@ |
"umi-request": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"@types/react": "^16.7.7", | ||
"@types/react-dom": "^16.0.10", | ||
"@types/react": "^16.8.1", | ||
"@types/react-dom": "^16.0.11", | ||
"antd-pro-merge-less": "^1.0.0", | ||
"antd-theme-webpack-plugin": "^1.1.8", | ||
"antd-theme-webpack-plugin": "^1.2.0", | ||
"babel-eslint": "^10.0.1", | ||
"chalk": "^2.4.2", | ||
"check-prettier": "^1.0.1", | ||
"cross-env": "^5.1.1", | ||
"cross-env": "^5.2.0", | ||
"cross-port-killer": "^1.0.1", | ||
"enzyme": "3.7.0", | ||
"eslint": "^5.4.0", | ||
"eslint-config-airbnb": "^17.0.0", | ||
"eslint-config-prettier": "^3.0.1", | ||
"enzyme": "^3.9.0", | ||
"eslint": "^5.13.0", | ||
"eslint-config-airbnb": "^17.1.0", | ||
"eslint-config-prettier": "^4.0.0", | ||
"eslint-plugin-babel": "^5.3.0", | ||
"eslint-plugin-compat": "^2.6.2", | ||
"eslint-plugin-import": "^2.14.0", | ||
"eslint-plugin-jsx-a11y": "^6.1.2", | ||
"eslint-plugin-markdown": "^1.0.0-beta.6", | ||
"eslint-plugin-react": "^7.11.1", | ||
"husky": "^1.2.0", | ||
"jest-puppeteer": "^3.5.1", | ||
"eslint-plugin-compat": "^2.6.3", | ||
"eslint-plugin-import": "^2.16.0", | ||
"eslint-plugin-jsx-a11y": "^6.2.0", | ||
"eslint-plugin-markdown": "^1.0.0", | ||
"eslint-plugin-react": "^7.12.4", | ||
"gh-pages": "^2.0.1", | ||
"husky": "^1.3.1", | ||
"jest-puppeteer": "^4.0.0", | ||
"less": "^3.9.0", | ||
"lint-staged": "^8.1.0", | ||
"lint-staged": "^8.1.1", | ||
"merge-umi-mock-data": "^1.0.4", | ||
"mockjs": "^1.0.1-beta3", | ||
"prettier": "1.15.2", | ||
"pro-download": "^1.0.1", | ||
"prettier": "^1.16.4", | ||
"slash2": "^2.0.0", | ||
"stylelint": "^9.8.0", | ||
"stylelint-config-prettier": "^4.0.0", | ||
"stylelint-config-standard": "^18.0.0", | ||
"tslint": "^5.10.0", | ||
"tslint-config-prettier": "^1.10.0", | ||
"stylelint": "^9.10.1", | ||
"stylelint-config-css-modules": "^1.3.0", | ||
"stylelint-config-prettier": "^5.0.0", | ||
"stylelint-config-rational-order": "^0.0.4", | ||
"stylelint-config-standard": "^18.2.0", | ||
"stylelint-declaration-block-no-ignored-properties": "^1.1.0", | ||
"stylelint-order": "^2.0.0", | ||
"tslint": "^5.12.1", | ||
"tslint-config-prettier": "^1.17.0", | ||
"tslint-react": "^3.6.0", | ||
"umi": "^2.4.2", | ||
"umi": "^2.4.4", | ||
"umi-plugin-ga": "^1.1.3", | ||
"umi-plugin-react": "^1.3.4", | ||
"umi-plugin-pro-block": "^1.2.0" | ||
}, | ||
"optionalDependencies": { | ||
"puppeteer": "^1.10.0" | ||
"puppeteer": "^1.12.1" | ||
}, | ||
"lint-staged": { | ||
"**/*.{js,ts,tsx,json,jsx,less}": [ | ||
... | ... |
src/utils/getPageTitle.js
0 → 100644
Please register or sign in to comment