From 2a7444745b50711ba04377ba65d9c000862f37ae Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 28 Sep 2016 18:17:12 +0800 Subject: [PATCH] update CHANGELOG format --- CHANGELOG.en-US.md | 9 +++++++-- CHANGELOG.zh-CN.md | 11 ++++++++--- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 8435cbce39..620e3ebdf9 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -110,7 +110,9 @@ The following change will throw some warnings in the console and it will still w * [AntD Library](http://library.ant.design/) a collection of Axure files which includes components and patterns that follow Ant Design Specification. * Rename `babel-plugin-antd` to [`babel-plugin-import`](https://github.com/ant-design/babel-plugin-import), and this means that `babel-plugin-import` becomes an common load-on-demand solution and not just for `antd`. + Please update `package.json`: + ```diff { "devDependencies": { @@ -119,15 +121,18 @@ The following change will throw some warnings in the console and it will still w } } ``` + And update your babel config in `.babelrc` or other place: + ```diff { - "plugins": [["antd", { style: "css" }]] + "plugins": [["import", { libraryName: "antd", style: "css" }]] } ``` -* [`dva@1.0.0`](https://github.com/dvajs/dva) is published and it is officially recommended framework [in real world](http://ant.design/docs/react/practical-projects). -* The officially recommended scaffold is [`dva-cli`](https://github.com/dvajs/dva-cli) now, the old `antd-init` is just for studying and demo. + +* [dva@1.0.0](https://github.com/dvajs/dva) is published and it is officially recommended framework [in real world](http://ant.design/docs/react/practical-projects). +* The officially recommended scaffold is [dva-cli](https://github.com/dvajs/dva-cli) now, the old `antd-init` is just for studying and demo. ## 1.0.0 diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index b0fa8046f5..5bcad406ac 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -107,8 +107,10 @@ timeline: true ### 2.x 相关工具发布 * 新增配套网站 [AntD Library](http://library.ant.design/),提供遵循 Ant Design 设计规范的组件、模式等的 Axure 资源。 -* `babel-plugin-antd` 更名为 [`babel-plugin-import`](https://github.com/ant-design/babel-plugin-import),标志着该插件将作为一个通用的按需加载方案存在,而不再是 `antd` 专有。 +* `babel-plugin-antd` 更名为 [babel-plugin-import](https://github.com/ant-design/babel-plugin-import),标志着该插件将作为一个通用的按需加载方案存在,而不再是 `antd` 专有。 + 请更新 `package.json`: + ```diff { "devDependencies": { @@ -117,15 +119,18 @@ timeline: true } } ``` + 同时更新 `.babelrc` 或你在其它地方对其的配置: + ```diff { - "plugins": [["antd", { style: "css" }]] + "plugins": [["import", { libraryName: "antd", style: "css" }]] } ``` -* [`dva@1.0.0`](https://github.com/dvajs/dva) 也已经发布,并推荐 [在实战项目中使用](http://ant.design/docs/react/practical-projects)。 -* 脚手架工具推荐使用 [`dva-cli`](https://github.com/dvajs/dva-cli),原来的 `antd-init` 以后仅会用于学习以及 demo。 + +* [dva@1.0.0](https://github.com/dvajs/dva) 也已经发布,并推荐 [在实战项目中使用](http://ant.design/docs/react/practical-projects)。 +* 脚手架工具推荐使用 [dva-cli](https://github.com/dvajs/dva-cli),原来的 `antd-init` 以后仅会用于学习以及 demo。 ## 1.11.2