diff --git a/docs/changelog.md b/docs/changelog.md index ae9ac1058..098e9cbf5 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -6,6 +6,17 @@ title: type: Other --- +### 1.0.0-beta.8@next + +`2018-5-3` + +- 同步ng-zorro-antd 0.7.0-beta.5,主要增加 `nz-time-picker` 组件 +- 脚手架 + - 使用husky提交时风格检查,[329238](https://github.com/cipchk/ng-alain/commit/329238) [@billyma128](https://github.com/billyma128) +- @delon/form + - 同步时间组件为 `nz-time-picker` + - 修复类型 `array` 导致UI `items` 无效问题 + ### 1.0.0-beta.7@next `2018-4-26` diff --git a/scaffold b/scaffold index 063b6d108..5fd14f9f5 160000 --- a/scaffold +++ b/scaffold @@ -1 +1 @@ -Subproject commit 063b6d1087acfb63d0be993f72277e08bd40c347 +Subproject commit 5fd14f9f5f8f82c30a422b6d19512aec2f62692e diff --git a/scaffold.sh b/scaffold.sh index 8038cce84..d287faa08 100644 --- a/scaffold.sh +++ b/scaffold.sh @@ -29,11 +29,11 @@ updateVersionReferences() { PACKAGE_DIR="$1" ( echo "====== VERSION: Updating version references in ${PACKAGE_DIR}" - sed -i "s/\"version\":[ ]*\"[^\"]*\"/\"version\": \"${VERSION}\"/g" ${PACKAGE_DIR} + sed -i "" "s/\"version\":[ ]*\"[^\"]*\"/\"version\": \"${VERSION}\"/g" ${PACKAGE_DIR} PACKAGE_NAMES=(abc acl auth cache mock form theme cli) for name in ${PACKAGE_NAMES[@]} do - sed -i "s/\"@delon\/${name}\":[ ]*\"[^\"]*\"/\"@delon\/${name}\": \"^${VERSION}\"/g" ${PACKAGE_DIR} + sed -i "" "s/\"@delon\/${name}\":[ ]*\"[^\"]*\"/\"@delon\/${name}\": \"^${VERSION}\"/g" ${PACKAGE_DIR} done ) } @@ -59,9 +59,9 @@ if [[ ${BUILD} == true ]]; then updateVersionReferences ${SCAFFOLD_DIR}/package.json echo '===== need mock' - sed -i "s/const MOCKMODULE[^;]*;/const MOCKMODULE = [ DelonMockModule.forRoot({ data: MOCKDATA }) ];/g" ${ROOT_DIR}/src/app/delon.module.ts + sed -i "" "s/const MOCKMODULE[^;]*;/const MOCKMODULE = [ DelonMockModule.forRoot({ data: MOCKDATA }) ];/g" ${ROOT_DIR}/src/app/delon.module.ts - npm i + yarn echo '===== build...' $(npm bin)/ng build --prod --build-optimizer --bh /ng-alain/