Skip to content

Commit

Permalink
chore: update version 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stbui committed May 30, 2019
1 parent 87e2cc7 commit 72096be
Show file tree
Hide file tree
Showing 18 changed files with 138 additions and 209 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<a href="./" target="blank"><img src="src/assets/logo.png" alt="stbui Logo" width="128" /></a>
</p>

基于最新`Angular 7`框架与`Material 2`技术的企业级中后台前端应用框架,涵盖了大量的常用组件和基础功能,您可以快速开发各种后台系统,最大程度上帮助企业节省时间成本和费用开支。
基于最新`Angular 8`框架与`Material 2`技术的企业级中后台前端应用框架,涵盖了大量的常用组件和基础功能,您可以快速开发各种后台系统,最大程度上帮助企业节省时间成本和费用开支。

[![Travis](https://travis-ci.org/stbui/angular-material-app.svg?branch=master)](https://travis-ci.org/stbui/angular-material-app)
[![Docker Build Status](https://img.shields.io/docker/build/stbui/angular-material-app.svg?style=flat-square)](https://hub.docker.com/r/stbui/angular-material-app/)
Expand All @@ -15,9 +15,9 @@

### Plaform

[![Angular](https://img.shields.io/badge/Angular-7.0.0-brightgreen.svg?style=flat-square)](https://github.com/angular/angular)
[![Angular-cli](https://img.shields.io/badge/Angular.cli-7.0.1-brightgreen.svg?style=square)](https://github.com/angular/angular-cli)
[![Angular Material 2](https://img.shields.io/badge/Material%202-7.0.0-brightgreen.svg?style=square)](https://github.com/angular/material2)
[![Angular](https://img.shields.io/badge/Angular-8.0.0-brightgreen.svg?style=flat-square)](https://github.com/angular/angular)
[![Angular-cli](https://img.shields.io/badge/Angular.cli-8.0.0-brightgreen.svg?style=square)](https://github.com/angular/angular-cli)
[![Angular Material 2](https://img.shields.io/badge/Material%202-8.0.0-brightgreen.svg?style=square)](https://github.com/angular/material2)
[![Flex-Layout](https://img.shields.io/badge/Flex.Layout-latest-brightgreen.svg?style=square)](https://github.com/angular/flex-layout)
[![Angular FireBase](https://img.shields.io/badge/Firebase-latest-brightgreen.svg?style=square)](https://github.com/angular/angularfire2)
[![Angular PWA](https://img.shields.io/badge/PWA-latest-brightgreen.svg?style=square)](https://github.com/angular/angular-cli)
Expand Down
59 changes: 33 additions & 26 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,25 @@
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json",
"tsConfig": "tsconfig.app.json",
"assets": [
"src/favicon.ico",
"src/assets",
"src/manifest.json"
],
"styles": [
{ "input": "node_modules/normalize.css/normalize.css", "bundleName": "lib" },
{ "input": "node_modules/material-design-icons/iconfont/material-icons.css", "bundleName": "lib" },
{ "input": "src/styles.scss", "bundleName": "stbui" }
{
"input": "node_modules/normalize.css/normalize.css",
"bundleName": "lib"
},
{
"input": "node_modules/material-design-icons/iconfont/material-icons.css",
"bundleName": "lib"
},
{
"input": "src/styles.scss",
"bundleName": "stbui"
}
],
"scripts": []
},
Expand All @@ -54,7 +63,14 @@
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"serviceWorker": true
"serviceWorker": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
}
]
},
"production": {
"fileReplacements": [
Expand Down Expand Up @@ -104,8 +120,8 @@
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js",
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"styles": [
"styles.scss"
],
Expand All @@ -120,34 +136,25 @@
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"src/tsconfig.app.json",
"src/tsconfig.spec.json"
"tsconfig.app.json",
"tsconfig.spec.json",
"e2e/tsconfig.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
},
"angular-material-app-e2e": {
"root": "e2e/",
"projectType": "application",
"architect": {
},
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "angular-material-app:serve"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": "e2e/tsconfig.e2e.json",
"exclude": [
"**/node_modules/**"
]
"devServerTarget": "test-ng:serve"
},
"configurations": {
"production": {
"devServerTarget": "test-ng:serve:production"
}
}
}
}
Expand Down
12 changes: 12 additions & 0 deletions browserslist
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries

# You can see what browsers were selected by your queries by running:
# npx browserslist

> 0.5%
last 2 versions
Firefox ESR
not dead
not IE 9-11 # For IE 9-11 support, remove 'not'.
2 changes: 1 addition & 1 deletion docs/readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 中后台前端应用框架

基于最新`Angular 7`框架与`Material 2`技术的企业级中后台前端应用框架,涵盖了大量的常用组件和基础功能,您可以快速开发各种后台系统,最大程度上帮助企业节省时间成本和费用开支。
基于最新`Angular 8`框架与`Material 2`技术的企业级中后台前端应用框架,涵盖了大量的常用组件和基础功能,您可以快速开发各种后台系统,最大程度上帮助企业节省时间成本和费用开支。

- [快速入门](start.md)
- [样式](css.md)
Expand Down
9 changes: 5 additions & 4 deletions src/karma.conf.js → karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ module.exports = function (config) {
clearContext: false // leave Jasmine Spec Runner output visible in browser
},
coverageIstanbulReporter: {
dir: require('path').join(__dirname, '../coverage'),
reports: ['html', 'lcovonly'],
dir: require('path').join(__dirname, './coverage/test-ng'),
reports: ['html', 'lcovonly', 'text-summary'],
fixWebpackSourcePaths: true
},
reporters: ['progress', 'kjhtml'],
Expand All @@ -26,6 +26,7 @@ module.exports = function (config) {
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome'],
singleRun: false
singleRun: false,
restartOnFileChange: true
});
};
};
2 changes: 1 addition & 1 deletion ngsw-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"index": "/index.html",
"appData": {
"name": "angular-material-app",
"description": "基于最新`Angular 7`框架与`Material 2`技术的企业级中后台前端应用框架,涵盖了大量的常用组件和基础功能,您可以快速开发各种后台系统,最大程度上帮助企业节省时间成本和费用开支。"
"description": "基于最新`Angular 8`框架与`Material 2`技术的企业级中后台前端应用框架,涵盖了大量的常用组件和基础功能,您可以快速开发各种后台系统,最大程度上帮助企业节省时间成本和费用开支。"
},
"assetGroups": [
{
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "angular-material-app",
"description": "基于最新`Angular 7`框架与`Material 2`技术的企业级中后台前端应用框架,涵盖了大量的常用组件和基础功能,您可以快速开发各种后台系统,最大程度上帮助企业节省时间成本和费用开支。",
"description": "基于最新`8`框架与`Material 2`技术的企业级中后台前端应用框架,涵盖了大量的常用组件和基础功能,您可以快速开发各种后台系统,最大程度上帮助企业节省时间成本和费用开支。",
"homepage": "https://github.com/stbui/angular-material-app",
"bugs": "https://github.com/stbui/angular-material-app/issues",
"version": "0.7.0",
"version": "0.8.0",
"license": "MIT",
"main": "dist/electron.js",
"scripts": {
Expand Down
28 changes: 0 additions & 28 deletions protractor.conf.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/app/home/home.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h4>
立即下载
</a>
</h4>
<h5>当前版本:0.7.0 免费版</h5>
<h5>当前版本:0.8.0 免费版</h5>
</div>
</div>
</div>
Expand Down
11 changes: 0 additions & 11 deletions src/browserslist

This file was deleted.

4 changes: 2 additions & 2 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<title>后台管理系统 - Power by stbui</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="keywords" content="Angular, Angular 4, Angular 5, Angular 6, Angular 7, Material, FlexLayout, 中后台前端, 后台系统, 管理系统" />
<meta name="description" content="基于最新`Angular 7`框架与`Material 2`技术的企业级中后台前端应用框架,涵盖了大量的常用组件和基础功能,您可以快速开发各种后台系统,最大程度上帮助企业节省时间成本和费用开支。">
<meta name="keywords" content="Angular, Angular 4, Angular 5, Angular 6, Angular 7, Angular 8, Material, FlexLayout, 中后台前端, 后台系统, 管理系统" />
<meta name="description" content="基于最新`Angular 8`框架与`Material 2`技术的企业级中后台前端应用框架,涵盖了大量的常用组件和基础功能,您可以快速开发各种后台系统,最大程度上帮助企业节省时间成本和费用开支。">
<meta name="author" content="stbui">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="manifest" href="manifest.json">
Expand Down
11 changes: 0 additions & 11 deletions src/tsconfig.app.json

This file was deleted.

18 changes: 0 additions & 18 deletions src/tsconfig.spec.json

This file was deleted.

17 changes: 0 additions & 17 deletions src/tslint.json

This file was deleted.

14 changes: 14 additions & 0 deletions tsconfig.app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "./out-tsc/app",
"types": []
},
"include": [
"src/**/*.ts"
],
"exclude": [
"src/test.ts",
"src/**/*.spec.ts"
]
}
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"module": "es2015",
"module": "esnext",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"importHelpers": true,
"target": "es2015",
"typeRoots": [
"node_modules/@types"
],
Expand Down
18 changes: 18 additions & 0 deletions tsconfig.spec.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "./out-tsc/spec",
"types": [
"jasmine",
"node"
]
},
"files": [
"src/test.ts",
"src/polyfills.ts"
],
"include": [
"src/**/*.spec.ts",
"src/**/*.d.ts"
]
}
Loading

0 comments on commit 72096be

Please sign in to comment.