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

Commit

Permalink
feat(core): update Angular to v10
Browse files Browse the repository at this point in the history
  • Loading branch information
klemenoslaj committed Jun 28, 2020
1 parent d64faed commit a8466c4
Show file tree
Hide file tree
Showing 15 changed files with 1,619 additions and 1,316 deletions.
54 changes: 27 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,26 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^9.1.6",
"@angular/cdk": "^9.2.3",
"@angular/common": "^10.0.0-next.6",
"@angular/compiler": "^9.1.6",
"@angular/core": "^9.1.6",
"@angular/forms": "^9.1.6",
"@angular/material": "^9.2.3",
"@angular/platform-browser": "^9.1.6",
"@angular/platform-browser-dynamic": "^9.1.6",
"@angular/router": "^9.1.6",
"@angular/animations": "^10.0.1",
"@angular/cdk": "^10.0.0",
"@angular/common": "^10.0.1",
"@angular/compiler": "^10.0.1",
"@angular/core": "^10.0.1",
"@angular/forms": "^10.0.1",
"@angular/material": "^10.0.0",
"@angular/platform-browser": "^10.0.1",
"@angular/platform-browser-dynamic": "^10.0.1",
"@angular/router": "^10.0.1",
"rxjs": "^6.5.5",
"tslib": "^1.10.0",
"tslib": "^2.0.0",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.901.5",
"@angular-devkit/build-ng-packagr": "~0.901.5",
"@angular/cli": "^9.1.5",
"@angular/compiler-cli": "^9.1.6",
"@angular/language-service": "^9.1.6",
"@angular-devkit/build-angular": "~0.1000.0",
"@angular-devkit/build-ng-packagr": "~0.1000.0",
"@angular/cli": "^10.0.0",
"@angular/compiler-cli": "^10.0.1",
"@angular/language-service": "^10.0.1",
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@commitlint/travis-cli": "^8.1.0",
Expand All @@ -48,22 +48,22 @@
"coveralls": "^3.0.2",
"cz-conventional-changelog": "^3.0.2",
"husky": "^3.0.0",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~3.0.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2",
"ng-packagr": "^9.0.0",
"protractor": "~5.4.0",
"jasmine-core": "~3.5.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.0.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~3.3.0",
"karma-jasmine-html-reporter": "^1.5.0",
"ng-packagr": "^10.0.0",
"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": "^5.13.0",
"typescript": "~3.8.3"
"tslint": "~6.1.0",
"typescript": "~3.9.5"
},
"release": {
"packages": "dist",
Expand Down
3 changes: 3 additions & 0 deletions projects/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@
"peerDependencies": {
"@angular/common": "^8.0.0",
"@angular/core": "^8.0.0"
},
"dependencies": {
"tslib": "^2.0.0"
}
}
2 changes: 1 addition & 1 deletion projects/core/tsconfig.lib.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "../../out-tsc/lib",
"target": "es2015",
Expand Down
2 changes: 1 addition & 1 deletion projects/core/tsconfig.spec.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "../../out-tsc/spec",
"types": [
Expand Down
3 changes: 3 additions & 0 deletions projects/material/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@
"@angular/core": "^8.0.0",
"@angular/material": "^8.0.0",
"@ng-action-outlet/core": "^0.0.0-development"
},
"dependencies": {
"tslib": "^2.0.0"
}
}
2 changes: 1 addition & 1 deletion projects/material/tsconfig.lib.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "../../out-tsc/lib",
"target": "es2015",
Expand Down
2 changes: 1 addition & 1 deletion projects/material/tsconfig.spec.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "../../out-tsc/spec",
"types": [
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion projects/playground/tsconfig.app.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "../../out-tsc/app",
"types": []
Expand Down
2 changes: 1 addition & 1 deletion projects/playground/tsconfig.spec.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "../../out-tsc/spec",
"types": [
Expand Down
35 changes: 35 additions & 0 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"importHelpers": true,
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"module": "esnext",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"strict": true,
"target": "es2015",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2017",
"dom"
],
"paths": {
"@ng-action-outlet/core": [
"dist/core",
"projects/core/src/public_api.ts"
],
"@ng-action-outlet/material": [
"dist/material",
"projects/material/src/public_api.ts"
]
}
}
}
2 changes: 1 addition & 1 deletion tsconfig.docs.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "tsconfig.json",
"extends": "tsconfig.base.json",
"compilerOptions": {
"baseUrl": "./",
"module": "es2015",
Expand Down
60 changes: 27 additions & 33 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,29 @@
/*
This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience.
It is not intended to be used to perform a compilation.
To learn more about this file see: https://angular.io/config/solution-tsconfig.
*/
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"importHelpers": true,
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"module": "esnext",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"strict": true,
"target": "es2015",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2017",
"dom"
],
"paths": {
"@ng-action-outlet/core": [
"dist/core",
"projects/core/src/public_api.ts"
],
"@ng-action-outlet/material": [
"dist/material",
"projects/material/src/public_api.ts"
]
"files": [],
"references": [
{
"path": "./projects/core/tsconfig.lib.json"
},
{
"path": "./projects/core/tsconfig.spec.json"
},
{
"path": "./projects/playground/tsconfig.app.json"
},
{
"path": "./projects/playground/tsconfig.spec.json"
},
{
"path": "./projects/material/tsconfig.lib.json"
},
{
"path": "./projects/material/tsconfig.spec.json"
}
}
}
]
}
1 change: 0 additions & 1 deletion tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
"no-trailing-whitespace": [true, "ignore-comments"],
"no-unnecessary-initializer": true,
"no-unused-expression": true,
"no-use-before-declare": true,
"no-var-keyword": true,
"object-literal-sort-keys": false,
"one-line": [
Expand Down

0 comments on commit a8466c4

Please sign in to comment.