Skip to content

Commit

Permalink
version update, code cleanup and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nkmdev committed Apr 9, 2020
1 parent e58e864 commit 7211853
Show file tree
Hide file tree
Showing 163 changed files with 2,327 additions and 2,302 deletions.
6 changes: 3 additions & 3 deletions .angulardoc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"repoId": "a13b5f05-f1dd-4d04-8f3d-e764621ce5c2",
"lastSync": 0
}
"repoId": "a13b5f05-f1dd-4d04-8f3d-e764621ce5c2",
"lastSync": 0
}
8 changes: 8 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package.json
package-lock.json
dist
.angulardoc.json
.vscode/*
.history/*
node_modules/*
src/assets
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"bracketSpacing": true,
"semi": true,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 120,
"disableLanguages": ["html"]
}
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
language: node_js
node_js:
- '9'
- '10'
- '9'
- '10'

install:
- npm install
- npm install

script:
- npm run test-ci
- npm run test-ci

cache:
directories:
- node_modules
directories:
- node_modules
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ Provides fast, reliable and extensible starter for the development of Angular pr

`sb-admin-bs4-angular9` provides the following features:

* Developed using boostrap-v6.0.0
* angular-v9.0.2
* angular/cli-v9.0.2
* [ng-bootstrap-v6.0.0](https://github.com/ng-bootstrap/)
* [ngx-translate-v12.1.1](https://github.com/ngx-translate)
* Following the best practices.
* Ahead-of-Time compilation support.
* Official Angular i18n support.
* Production and development builds.
* Tree-Shaking production builds.
- Developed using boostrap-v6.0.0
- angular-v9.0.2
- angular/cli-v9.0.2
- [ng-bootstrap-v6.0.0](https://github.com/ng-bootstrap/)
- [ngx-translate-v12.1.1](https://github.com/ngx-translate)
- Following the best practices.
- Ahead-of-Time compilation support.
- Official Angular i18n support.
- Production and development builds.
- Tree-Shaking production builds.

### How to start

Expand Down
251 changes: 114 additions & 137 deletions angular.json
Original file line number Diff line number Diff line change
@@ -1,148 +1,125 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"test-ng7": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
"tsConfig": "src/tsconfig.app.json",
"polyfills": "src/polyfills.ts",
"assets": [
"src/assets",
"src/favicon.ico"
],
"styles": [
"node_modules/font-awesome/css/font-awesome.css",
"src/styles/app.scss"
],
"scripts": [
"node_modules/chart.js/dist/Chart.js"
]
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"test-ng7": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
"tsConfig": "src/tsconfig.app.json",
"polyfills": "src/polyfills.ts",
"assets": ["src/assets", "src/favicon.ico"],
"styles": ["node_modules/font-awesome/css/font-awesome.css", "src/styles/app.scss"],
"scripts": ["node_modules/chart.js/dist/Chart.js"]
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "test-ng7:build"
},
"configurations": {
"production": {
"browserTarget": "test-ng7:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "test-ng7:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js",
"scripts": ["node_modules/chart.js/dist/Chart.js"],
"styles": ["node_modules/font-awesome/css/font-awesome.css", "src/styles/app.scss"],
"assets": ["src/assets", "src/favicon.ico"]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": ["src/tsconfig.app.json", "src/tsconfig.spec.json"],
"exclude": ["**/node_modules/**"]
}
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "test-ng7:build"
},
"configurations": {
"production": {
"browserTarget": "test-ng7:build:production"
"test-ng7-e2e": {
"root": "e2e/",
"projectType": "application",
"prefix": "",
"architect": {
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "test-ng7:serve"
},
"configurations": {
"production": {
"devServerTarget": "test-ng7:serve:production"
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": "e2e/tsconfig.e2e.json",
"exclude": ["**/node_modules/**"]
}
}
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "test-ng7:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js",
"scripts": [
"node_modules/chart.js/dist/Chart.js"
],
"styles": [
"node_modules/font-awesome/css/font-awesome.css",
"src/styles/app.scss"
],
"assets": [
"src/assets",
"src/favicon.ico"
]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"src/tsconfig.app.json",
"src/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
},
"test-ng7-e2e": {
"root": "e2e/",
"projectType": "application",
"prefix": "",
"architect": {
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "test-ng7:serve"
},
"configurations": {
"production": {
"devServerTarget": "test-ng7:serve:production"
}
}
"defaultProject": "test-ng7",
"schematics": {
"@schematics/angular:component": {
"prefix": "app",
"styleext": "scss"
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": "e2e/tsconfig.e2e.json",
"exclude": [
"**/node_modules/**"
]
}
"@schematics/angular:directive": {
"prefix": "app"
}
}
}
},
"defaultProject": "test-ng7",
"schematics": {
"@schematics/angular:component": {
"prefix": "app",
"styleext": "scss"
},
"@schematics/angular:directive": {
"prefix": "app"
}
}
}
Loading

0 comments on commit 7211853

Please sign in to comment.