Skip to content

Commit

Permalink
releases: 2.0.0-beta.3
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Sep 29, 2018
1 parent 9cd6470 commit 092ff73
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 5 deletions.
24 changes: 24 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,30 @@ title:
type: Other
---

### 2.0.0-beta.3

`2018-9-29`

- @delon/theme
- 新增 [DrawerHelper](https://ng-alain.com/theme/drawer/zh) 辅助类
- 修复 `_HttpClient` 对象 `param` 参数解析不标准,[#694](https://github.com/ng-alain/ng-alain/issues/694)
- 移除一些已过期样式,[#commit](https://github.com/ng-alain/ng-alain/pull/691)
- 使用 `nzBlock` 替代 `.ant-btn__block`
- 使用 `nzCover` 替代 `.ant-card__img`
- 移除多余 `.ant-card__title-img`,antd 已修复
- 移除 `.nz-carousel__dot-{color}` 由手工自定义
- 移除 `.box-placeholder` 由手工自定义
- @delon/abc
- 新增 `st` 按钮类型 `drawer` 打开一个抽屉目标组件
- 修复 `_HttpClient` 对象 `param` 参数解析不标准,[#694](https://github.com/ng-alain/ng-alain/issues/694)
- @delon/form
- 修复 `cascader` 小部件不支持 `showSearch` 参数,[#695](https://github.com/ng-alain/ng-alain/issues/695)
- 修复 `g2-custom` 默认应该块模型
- @delon/util
- 修复 `getTimeDistance` 参数 `-today` 应是昨天至今天,[#696](https://github.com/ng-alain/ng-alain/issues/696)
- cli
- 增加[自定义业务页模板](https://ng-alain.com/cli/generate/zh#%E8%87%AA%E5%AE%9A%E4%B9%89%E9%A1%B5)功能

### 2.0.0-beta.2

`2018-9-22`
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "delon",
"version": "2.0.0-beta.2",
"version": "2.0.0-beta.3",
"typings": "index.d.ts",
"description": "Delon is a set of essential modules for ng-alain.",
"repository": {
Expand Down Expand Up @@ -38,8 +38,7 @@
"release": "bash ./build.sh && bash build-schematics.sh -b",
"release:ci": "bash ./build.sh && bash build-schematics.sh -b -travis",
"publish:next": "npm run release && bash ./scripts/release/publish-next && bash ./scripts/release/sync-taobao",
"publish": "npm run release && bash ./scripts/release/publish && bash ./scripts/release/sync-taobao",
"scaffold:gh": "bash ./scaffold.sh -c -b && yarn && ng build --prod --build-optimizer --base-href /ng-alain/ && bash ./scaffold.sh -d"
"scaffold:gh": "bash ./scaffold.sh -c -b && cd dist/scaffold && yarn && ng build --prod --build-optimizer --base-href /ng-alain/ && bash ../../scaffold.sh -d"
},
"dependencies": {
"@angular/animations": "^6.1.0",
Expand Down
1 change: 1 addition & 0 deletions packages/abc/exception/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"flatModuleFile": "exception",
"entryFile": "public_api.ts",
"umdModuleIds": {
"ng-zorro-antd": "ngZorro.antd",
"@delon/theme": "delon.theme",
"@delon/util": "delon.util"
}
Expand Down
3 changes: 2 additions & 1 deletion packages/abc/global-footer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"flatModuleFile": "globalFooter",
"entryFile": "public_api.ts",
"umdModuleIds": {
"@delon/util": "delon.util"
"@delon/util": "delon.util",
"@delon/theme": "delon.theme"
}
}
}
Expand Down
1 change: 1 addition & 0 deletions scaffold
Submodule scaffold added at 0265c1
2 changes: 1 addition & 1 deletion scaffold.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ updateVersionReferences() {
(
echo "====== VERSION: Updating version references in ${PACKAGE_DIR}"
sed -i "s/\"version\":[ ]*\"[^\"]*\"/\"version\": \"${VERSION}\"/g" ${PACKAGE_DIR}
PACKAGE_NAMES=(abc acl auth cache mock form theme util)
PACKAGE_NAMES=(abc acl auth chart cache mock form theme util)
for name in ${PACKAGE_NAMES[@]}
do
sed -i "s/\"@delon\/${name}\":[ ]*\"[^\"]*\"/\"@delon\/${name}\": \"^${VERSION}\"/g" ${PACKAGE_DIR}
Expand Down

0 comments on commit 092ff73

Please sign in to comment.