Skip to content

Commit

Permalink
upgrade to angular v11
Browse files Browse the repository at this point in the history
  • Loading branch information
dzonatan committed Dec 7, 2020
1 parent 04b46cb commit cf1bc8c
Show file tree
Hide file tree
Showing 16 changed files with 12,551 additions and 9,636 deletions.
58 changes: 25 additions & 33 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,11 @@
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.css"
],
"scripts": []
"tsConfig": "tsconfig.app.json",
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.css"],
"scripts": [],
"aot": true
},
"configurations": {
"production": {
Expand All @@ -40,10 +36,15 @@
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true
"buildOptimizer": true,
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
]
}
}
},
Expand All @@ -69,28 +70,18 @@
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js",
"styles": [
"src/styles.css"
],
"styles": ["src/styles.css"],
"scripts": [],
"assets": [
"src/favicon.ico",
"src/assets"
]
"assets": ["src/favicon.ico", "src/assets"]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"src/tsconfig.app.json",
"src/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
"tsConfig": ["tsconfig.app.json", "tsconfig.spec.json"],
"exclude": ["**/node_modules/**"]
}
}
}
Expand All @@ -115,9 +106,7 @@
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": "e2e/tsconfig.e2e.json",
"exclude": [
"**/node_modules/**"
]
"exclude": ["**/node_modules/**"]
}
}
}
Expand All @@ -129,10 +118,15 @@
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"tsConfig": "projects/ngx-linky/tsconfig.lib.json",
"project": "projects/ngx-linky/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "projects/ngx-linky/tsconfig.lib.prod.json"
}
}
},
"test": {
Expand All @@ -150,9 +144,7 @@
"projects/ngx-linky/tsconfig.lib.json",
"projects/ngx-linky/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
"exclude": ["**/node_modules/**"]
}
}
}
Expand Down
Loading

0 comments on commit cf1bc8c

Please sign in to comment.