diff --git a/README.md b/README.md index f0a11907d9..9e37c97f99 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 aa94e2213e..57bc8851b8 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 5916eb2c1a..814e3c8d1f 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 cf32c17647..893603b7a2 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 3e76a2909f..083b0af278 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 c1f458efde..707a058043 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 3e660d5aed..7898067cf2 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 e0b59eacdd..8d43cdaf8e 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 e101cf1c3d..f92450a27e 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 ded3428bd5..49c297e566 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 c558b67fd0..931cc56e29 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 179753d983..c459f14059 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 a2228a04b2..2e6f24098d 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 d376a14fea..645e2268de 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 acbbc9a19c..67366ef99c 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 5b3ed7ea5d..3a525630ac 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 045ad210ec..378f90a6b2 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 35b7e5bf44..9a90424723 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 c1b86606d0..41a77a0b6a 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 d29dfe9329..3c930ac38a 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 2b7f3ec660..3670bcd2dd 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 c7c4836b9b..3a724459d5 160000 --- a/scaffold +++ b/scaffold @@ -1 +1 @@ -Subproject commit c7c4836b9bc65a02f52a42358667edfc3ec9d215 +Subproject commit 3a724459d5cc5136a9348145b4d5bbf2f5d25a0a