From 6669aab18fa94c435ada104b617d0d666d696988 Mon Sep 17 00:00:00 2001 From: cipchk Date: Mon, 28 May 2018 17:47:04 +0800 Subject: [PATCH] releases: 1.0.5 --- README.md | 2 +- docs/changelog.md | 17 +++++++++++++++++ package.json | 2 +- packages/abc/README.md | 2 ++ packages/abc/package.json | 10 +++++++++- packages/acl/README.md | 2 ++ packages/acl/package.json | 4 +++- packages/auth/README.md | 2 ++ packages/cache/README.md | 2 ++ packages/cache/package.json | 4 +++- packages/form/README.md | 2 ++ packages/form/package.json | 4 +++- packages/mock/README.md | 2 ++ packages/mock/package.json | 4 +++- packages/schematics/README.md | 2 ++ packages/schematics/docs/generate.md | 2 +- packages/schematics/docs/plugin.md | 4 ++-- packages/theme/README.md | 2 ++ packages/theme/package.json | 10 +++++++++- packages/util/README.md | 2 ++ packages/util/package.json | 3 ++- scaffold | 2 +- 22 files changed, 73 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index f0a11907d..9e37c97f9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Delon -delong is a production-ready solution for admin business components packages, Built on the design principles developed by Ant Design. +delon is a production-ready solution for admin business components packages, Built on the design principles developed by Ant Design. [![Build Status](https://travis-ci.org/cipchk/delon.svg?branch=master)](https://travis-ci.org/cipchk/delon) [![Dependency Status](https://david-dm.org/cipchk/delon/status.svg)](https://david-dm.org/cipchk/delon) diff --git a/docs/changelog.md b/docs/changelog.md index aa94e2213..57bc8851b 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -6,6 +6,23 @@ title: type: Other --- +### 1.0.5 + +`2018-5-28` + +- @delon/abc + - 修复 `simple-table` 无法导出 Excel 问题,[#469](https://github.com/cipchk/ng-alain/issues/469) + - 修复 `file-saves`、`ngx-countdown` 依赖关系 +- @delon/form + - 增加全局配置 `ui` 参数 + - 增加 `textarea` 默认 `autosize: true` + - 修复 `upload` 无效参数 `name`,[@vellengs](https://github.com/vellengs) +- Schematics + - 重构 `ng g` + - 新增 `ng g ng-alain:module` 指令 + - 新增 `codeStyle`、`npm` 插件 + - 优化业务模板 + ### 1.0.4 `2018-5-24` diff --git a/package.json b/package.json index 5916eb2c1..814e3c8d1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "delon", - "version": "1.0.4", + "version": "1.0.5", "typings": "index.d.ts", "description": "Delon is a set of essential modules for ng-alain.", "repository": { diff --git a/packages/abc/README.md b/packages/abc/README.md index cf32c1764..893603b7a 100644 --- a/packages/abc/README.md +++ b/packages/abc/README.md @@ -1,5 +1,7 @@ # @delon/abc module [![Build Status](https://travis-ci.org/cipchk/delon.svg?branch=master)](https://travis-ci.org/cipchk/delon) [![NPM version](https://img.shields.io/npm/v/@delon/abc.svg)](https://www.npmjs.com/package/@delon/abc) [![NPM version](https://img.shields.io/npm/v/@delon/abc/next.svg)](https://www.npmjs.com/package/@delon/abc) +Common business components of ng-alain. + ## Links - [Api Document](http://ng-alain.com/components) diff --git a/packages/abc/package.json b/packages/abc/package.json index 3e76a2909..083b0af27 100644 --- a/packages/abc/package.json +++ b/packages/abc/package.json @@ -15,7 +15,15 @@ "url": "https://github.com/cipchk/delon/issues" }, "homepage": "https://github.com/cipchk/delon#readme", - "keywords": ["delon", "ng-alain", "alain", "antd", "ng-zorro-antd"], + "keywords": [ + "delon", + "ng-alain", + "alain", + "antd", + "ng-zorro-antd", + "angular", + "component" + ], "dependencies": { "file-saver": "^1.3.3", "ngx-countdown": "^3.0.0" diff --git a/packages/acl/README.md b/packages/acl/README.md index c1f458efd..707a05804 100644 --- a/packages/acl/README.md +++ b/packages/acl/README.md @@ -1,5 +1,7 @@ # @delon/acl module [![Build Status](https://travis-ci.org/cipchk/delon.svg?branch=master)](https://travis-ci.org/cipchk/delon) [![NPM version](https://img.shields.io/npm/v/@delon/acl.svg)](https://www.npmjs.com/package/@delon/acl) [![NPM version](https://img.shields.io/npm/v/@delon/acl/next.svg)](https://www.npmjs.com/package/@delon/acl) +A simple role-based access control. + ## Links - [Api Document](http://ng-alain.com/acl) diff --git a/packages/acl/package.json b/packages/acl/package.json index 3e660d5ae..7898067cf 100644 --- a/packages/acl/package.json +++ b/packages/acl/package.json @@ -25,7 +25,9 @@ "alain", "antd", "ng-zorro-antd", - "acl" + "acl", + "angular", + "component" ], "peerDependencies": {} } diff --git a/packages/auth/README.md b/packages/auth/README.md index e0b59eacd..8d43cdaf8 100644 --- a/packages/auth/README.md +++ b/packages/auth/README.md @@ -1,5 +1,7 @@ # @delon/auth module [![Build Status](https://travis-ci.org/cipchk/delon.svg?branch=master)](https://travis-ci.org/cipchk/delon) [![NPM version](https://img.shields.io/npm/v/@delon/auth.svg)](https://www.npmjs.com/package/@delon/auth) [![NPM version](https://img.shields.io/npm/v/@delon/auth/next.svg)](https://www.npmjs.com/package/@delon/auth) +Simple user authentication, support Json Web Token & Simple Token. + ## Links - [Api Document](http://ng-alain.com/auth) diff --git a/packages/cache/README.md b/packages/cache/README.md index e101cf1c3..f92450a27 100644 --- a/packages/cache/README.md +++ b/packages/cache/README.md @@ -1,5 +1,7 @@ # @delon/cache module [![Build Status](https://travis-ci.org/cipchk/delon.svg?branch=master)](https://travis-ci.org/cipchk/delon) [![NPM version](https://img.shields.io/npm/v/@delon/cache.svg)](https://www.npmjs.com/package/@delon/cache) [![NPM version](https://img.shields.io/npm/v/@delon/cache/next.svg)](https://www.npmjs.com/package/@delon/cache) +Cache the dictionary, city data etc. + ## Links - [Api Document](http://ng-alain.com/cache) diff --git a/packages/cache/package.json b/packages/cache/package.json index ded3428bd..49c297e56 100644 --- a/packages/cache/package.json +++ b/packages/cache/package.json @@ -24,7 +24,9 @@ "ng cache", "ngx cache", "antd", - "ng-zorro-antd" + "ng-zorro-antd", + "angular", + "component" ], "peerDependencies": {} } diff --git a/packages/form/README.md b/packages/form/README.md index c558b67fd..931cc56e2 100644 --- a/packages/form/README.md +++ b/packages/form/README.md @@ -1,5 +1,7 @@ # @delon/form module [![Build Status](https://travis-ci.org/cipchk/delon.svg?branch=master)](https://travis-ci.org/cipchk/delon) [![NPM version](https://img.shields.io/npm/v/@delon/form.svg)](https://www.npmjs.com/package/@delon/form) [![NPM version](https://img.shields.io/npm/v/@delon/form/next.svg)](https://www.npmjs.com/package/@delon/form) +Angular form generation based on JSON-Schema. + ## Links - [Api Document](http://ng-alain.com/form) diff --git a/packages/form/package.json b/packages/form/package.json index 179753d98..c459f1405 100644 --- a/packages/form/package.json +++ b/packages/form/package.json @@ -27,7 +27,9 @@ "ng form", "ngx form", "antd", - "ng-zorro-antd" + "ng-zorro-antd", + "angular", + "component" ], "peerDependencies": { "ng-zorro-antd": "ZORRO-0.0.0-PLACEHOLDER", diff --git a/packages/mock/README.md b/packages/mock/README.md index a2228a04b..2e6f24098 100644 --- a/packages/mock/README.md +++ b/packages/mock/README.md @@ -1,5 +1,7 @@ # @delon/mock module [![Build Status](https://travis-ci.org/cipchk/delon.svg?branch=master)](https://travis-ci.org/cipchk/delon) [![NPM version](https://img.shields.io/npm/v/@delon/mock.svg)](https://www.npmjs.com/package/@delon/mock) [![NPM version](https://img.shields.io/npm/v/@delon/mock/next.svg)](https://www.npmjs.com/package/@delon/mock) +Generate random data, intercept http requests. + ## Links - [Api Document](http://ng-alain.com/mock) diff --git a/packages/mock/package.json b/packages/mock/package.json index d376a14fe..645e2268d 100644 --- a/packages/mock/package.json +++ b/packages/mock/package.json @@ -25,7 +25,9 @@ "ng mock", "ngx-mock", "antd", - "ng-zorro-antd" + "ng-zorro-antd", + "angular", + "component" ], "peerDependencies": { } diff --git a/packages/schematics/README.md b/packages/schematics/README.md index acbbc9a19..67366ef99 100644 --- a/packages/schematics/README.md +++ b/packages/schematics/README.md @@ -4,6 +4,8 @@ [![NPM version](https://img.shields.io/npm/v/ng-alain/next.svg)](https://www.npmjs.com/package/ng-alain) [![prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://prettier.io/) +Angular CLI Schematics of ng-alain. + # ng-alain [Ng-zorro-antd](https://github.com/NG-ZORRO/ng-zorro-antd) admin panel front-end framework. diff --git a/packages/schematics/docs/generate.md b/packages/schematics/docs/generate.md index 5b3ed7ea5..3a525630a 100644 --- a/packages/schematics/docs/generate.md +++ b/packages/schematics/docs/generate.md @@ -18,7 +18,7 @@ ng g ng-alain: [options] ng-alain 有自己的一套文件组织结构,当你破坏这些结构时,可能会导致下列指令产生异常。 -## Module 模块(待发布) +## Module 模块 生成一个 `trade` 模块: diff --git a/packages/schematics/docs/plugin.md b/packages/schematics/docs/plugin.md index 045ad210e..378f90a6b 100644 --- a/packages/schematics/docs/plugin.md +++ b/packages/schematics/docs/plugin.md @@ -32,7 +32,7 @@ ng g ng-alain:plugin -t=[add | remove] G2图表。 -### codeStyle(待发布) +### codeStyle 代码风格,有几个规则: @@ -43,6 +43,6 @@ G2图表。 ng-alain 默认提供了一部分的代码风格配置方案,你可以在项目的根目录下找到这些配置信息,依照你自己的风格进行修饰。 -### npm(待发布) +### npm 在国内使用 npm 始终是一个“痛”,因此你可以增加一个使用淘宝镜像配置文件 `.npmrc`,来解决网络问题。 diff --git a/packages/theme/README.md b/packages/theme/README.md index 35b7e5bf4..9a9042472 100644 --- a/packages/theme/README.md +++ b/packages/theme/README.md @@ -1,5 +1,7 @@ # @delon/theme module [![Build Status](https://travis-ci.org/cipchk/delon.svg?branch=master)](https://travis-ci.org/cipchk/delon) [![NPM version](https://img.shields.io/npm/v/@delon/theme.svg)](https://www.npmjs.com/package/@delon/theme) [![NPM version](https://img.shields.io/npm/v/@delon/theme/next.svg)](https://www.npmjs.com/package/@delon/theme) +ng-alain theme system library. + ## Links - [Api Document](http://ng-alain.com) diff --git a/packages/theme/package.json b/packages/theme/package.json index c1b86606d..41a77a0b6 100644 --- a/packages/theme/package.json +++ b/packages/theme/package.json @@ -15,7 +15,15 @@ "url": "https://github.com/cipchk/delon/issues" }, "homepage": "https://github.com/cipchk/delon#readme", - "keywords": ["delon", "ng-alain", "alain", "antd", "ng-zorro-antd"], + "keywords": [ + "delon", + "ng-alain", + "alain", + "antd", + "ng-zorro-antd", + "angular", + "component" + ], "peerDependencies": { "ng-zorro-antd": "ZORRO-0.0.0-PLACEHOLDER", "@delon/acl": "PEER-0.0.0-PLACEHOLDER" diff --git a/packages/util/README.md b/packages/util/README.md index d29dfe932..3c930ac38 100644 --- a/packages/util/README.md +++ b/packages/util/README.md @@ -1,5 +1,7 @@ # @delon/util module [![Build Status](https://travis-ci.org/cipchk/delon.svg?branch=master)](https://travis-ci.org/cipchk/delon) [![NPM version](https://img.shields.io/npm/v/@delon/util.svg)](https://www.npmjs.com/package/@delon/util) [![NPM version](https://img.shields.io/npm/v/@delon/util/next.svg)](https://www.npmjs.com/package/@delon/util) +Universal toolset of ng-alain. + ## Links - [Api Document](http://ng-alain.com/util) diff --git a/packages/util/package.json b/packages/util/package.json index 2b7f3ec66..3670bcd2d 100644 --- a/packages/util/package.json +++ b/packages/util/package.json @@ -20,7 +20,8 @@ "ng-alain", "alain", "utility", - "utils" + "utils", + "angular" ], "peerDependencies": { "extend": "^3.0.1" diff --git a/scaffold b/scaffold index c7c4836b9..3a724459d 160000 --- a/scaffold +++ b/scaffold @@ -1 +1 @@ -Subproject commit c7c4836b9bc65a02f52a42358667edfc3ec9d215 +Subproject commit 3a724459d5cc5136a9348145b4d5bbf2f5d25a0a