Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
feat: upgrade to Angular 11
Browse files Browse the repository at this point in the history
  • Loading branch information
klemenoslaj committed Nov 17, 2020
1 parent 1a180ad commit 0f0b4e9
Show file tree
Hide file tree
Showing 7 changed files with 758 additions and 899 deletions.
29 changes: 11 additions & 18 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"tsConfig": "projects/core/tsconfig.lib.json",
"project": "projects/core/ng-package.json"
}
, "configurations": {
},
"configurations": {
"production": {
"tsConfig": "projects/core/tsconfig.lib.prod.json"
}
}
},
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
Expand All @@ -38,9 +38,7 @@
"projects/core/tsconfig.lib.json",
"projects/core/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
"exclude": ["**/node_modules/**"]
}
}
}
Expand Down Expand Up @@ -88,7 +86,6 @@
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
Expand Down Expand Up @@ -144,9 +141,7 @@
"projects/playground/tsconfig.app.json",
"projects/playground/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
"exclude": ["**/node_modules/**"]
}
}
}
Expand All @@ -158,17 +153,17 @@
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"tsConfig": "projects/material/tsconfig.lib.json",
"project": "projects/material/ng-package.json"
}
, "configurations": {
},
"configurations": {
"production": {
"tsConfig": "projects/material/tsconfig.lib.prod.json"
}
}
},
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
Expand All @@ -184,9 +179,7 @@
"projects/material/tsconfig.lib.json",
"projects/material/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
"exclude": ["**/node_modules/**"]
}
}
}
Expand Down
45 changes: 22 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,53 +17,52 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^10.1.6",
"@angular/cdk": "^10.2.4",
"@angular/common": "^10.1.6",
"@angular/compiler": "^10.1.6",
"@angular/core": "^10.1.6",
"@angular/forms": "^10.1.6",
"@angular/material": "^10.2.4",
"@angular/platform-browser": "^10.1.6",
"@angular/platform-browser-dynamic": "^10.1.6",
"@angular/router": "^10.1.6",
"@angular/animations": "^11.0.0",
"@angular/cdk": "^11.0.0",
"@angular/common": "^11.0.0",
"@angular/compiler": "^11.0.0",
"@angular/core": "^11.0.0",
"@angular/forms": "^11.0.0",
"@angular/material": "^11.0.0",
"@angular/platform-browser": "^11.0.0",
"@angular/platform-browser-dynamic": "^11.0.0",
"@angular/router": "^11.0.0",
"rxjs": "^6.6.2",
"tslib": "^2.0.0",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1001.6",
"@angular-devkit/build-ng-packagr": "~0.1001.6",
"@angular/cli": "^10.1.6",
"@angular/compiler-cli": "^10.1.6",
"@angular/language-service": "^10.1.6",
"@angular-devkit/build-angular": "~0.1100.1",
"@angular/cli": "^11.0.1",
"@angular/compiler-cli": "^11.0.0",
"@angular/language-service": "^11.0.0",
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@commitlint/travis-cli": "^8.1.0",
"@compodoc/compodoc": "^1.1.5",
"@types/jasmine": "~2.8.8",
"@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1",
"codelyzer": "^5.1.2",
"codelyzer": "^6.0.0",
"coveralls": "^3.0.2",
"cz-conventional-changelog": "^3.0.2",
"husky": "^3.0.0",
"jasmine-core": "~3.5.0",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.0.0",
"karma": "~5.1.1",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~3.3.0",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"ng-packagr": "^10.0.0",
"ng-packagr": "^11.0.2",
"protractor": "~7.0.0",
"remark-cli": "^7.0.0",
"remark-preset-lint-recommended": "^3.0.2",
"semantic-release": "^15.10.5",
"shelljs": "^0.8.3",
"ts-node": "~7.0.0",
"tslint": "~6.1.0",
"typescript": "~3.9.5"
"typescript": "~4.0.5"
},
"release": {
"packages": "dist",
Expand All @@ -88,4 +87,4 @@
"node": ">= v10.16.0",
"yarn": ">= 1.17.3"
}
}
}
1 change: 1 addition & 0 deletions projects/core/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../out-tsc/lib",
"declarationMap": true,
"target": "es2015",
"module": "es2015",
"moduleResolution": "node",
Expand Down
3 changes: 3 additions & 0 deletions projects/core/tsconfig.lib.prod.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"extends": "./tsconfig.lib.json",
"compilerOptions": {
"declarationMap": false
},
"angularCompilerOptions": {
"enableIvy": false
}
Expand Down
1 change: 1 addition & 0 deletions projects/material/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../out-tsc/lib",
"declarationMap": true,
"target": "es2015",
"module": "es2015",
"moduleResolution": "node",
Expand Down
3 changes: 3 additions & 0 deletions projects/material/tsconfig.lib.prod.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"extends": "./tsconfig.lib.json",
"compilerOptions": {
"declarationMap": false
},
"angularCompilerOptions": {
"enableIvy": false
}
Expand Down
Loading

0 comments on commit 0f0b4e9

Please sign in to comment.