Skip to content

Commit

Permalink
Merge pull request #29 from angular-extensions/feature/angular11Upgrade
Browse files Browse the repository at this point in the history
feat: 🎸 Angular 11
  • Loading branch information
nivekcode authored Mar 17, 2021
2 parents 5f20a61 + e8c46fd commit b8d6a08
Show file tree
Hide file tree
Showing 36 changed files with 7,321 additions and 5,569 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
- ng lint
- stage: test
script:
- npm run test:lib:coverage
- npm run report-coverage:lib
- npm run test:coverage
- npm run report-coverage
- stage: build & publish lib
script:
- npm run build:lib
Expand Down
116 changes: 1 addition & 115 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"tsConfig": "projects/pretty-html-log/tsconfig.lib.json",
"project": "projects/pretty-html-log/ng-package.json"
Expand Down Expand Up @@ -40,120 +40,6 @@
}
}
}
},
"pretty-html-log-showcase": {
"projectType": "application",
"schematics": {},
"root": "projects/pretty-html-log-showcase",
"sourceRoot": "projects/pretty-html-log-showcase/src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/pretty-html-log-showcase",
"index": "projects/pretty-html-log-showcase/src/index.html",
"main": "projects/pretty-html-log-showcase/src/main.ts",
"polyfills": "projects/pretty-html-log-showcase/src/polyfills.ts",
"tsConfig": "projects/pretty-html-log-showcase/tsconfig.app.json",
"aot": true,
"assets": [
"projects/pretty-html-log-showcase/src/favicon.ico",
"projects/pretty-html-log-showcase/src/assets"
],
"styles": [
"./node_modules/@angular/material/prebuilt-themes/deeppurple-amber.css",
"projects/pretty-html-log-showcase/src/styles.css"
],
"scripts": []
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "projects/pretty-html-log-showcase/src/environments/environment.ts",
"with": "projects/pretty-html-log-showcase/src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "pretty-html-log-showcase:build"
},
"configurations": {
"production": {
"browserTarget": "pretty-html-log-showcase:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "pretty-html-log-showcase:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/pretty-html-log-showcase/src/test.ts",
"polyfills": "projects/pretty-html-log-showcase/src/polyfills.ts",
"tsConfig": "projects/pretty-html-log-showcase/tsconfig.spec.json",
"karmaConfig": "projects/pretty-html-log-showcase/karma.conf.js",
"assets": [
"projects/pretty-html-log-showcase/src/favicon.ico",
"projects/pretty-html-log-showcase/src/assets"
],
"styles": ["projects/pretty-html-log-showcase/src/styles.css"],
"scripts": []
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/pretty-html-log-showcase/tsconfig.app.json",
"projects/pretty-html-log-showcase/tsconfig.spec.json",
"projects/pretty-html-log-showcase/e2e/tsconfig.json"
],
"exclude": ["**/node_modules/**"]
}
},
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "projects/pretty-html-log-showcase/e2e/protractor.conf.js",
"devServerTarget": "pretty-html-log-showcase:serve"
},
"configurations": {
"production": {
"devServerTarget": "pretty-html-log-showcase:serve:production"
}
}
}
}
}
},
"defaultProject": "pretty-html-log"
Expand Down
Loading

0 comments on commit b8d6a08

Please sign in to comment.