Skip to content

Commit

Permalink
releases: 1.0.0-beta.8
Browse files Browse the repository at this point in the history
  • Loading branch information
asdf authored and asdf committed May 2, 2018
1 parent 6257494 commit 40fabb3
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
11 changes: 11 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion scaffold
8 changes: 4 additions & 4 deletions scaffold.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
}
Expand All @@ -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/
Expand Down

0 comments on commit 40fabb3

Please sign in to comment.