Skip to content
This repository was archived by the owner on Jun 19, 2023. It is now read-only.

Commit e95c02b

Browse files
author
Pascal Iske
committed
feat: upgrade angular to v10
1 parent 9449e41 commit e95c02b

8 files changed

+1125
-650
lines changed

package.json

+18-18
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@
3434
},
3535
"prettier": "@pascaliske/prettier-config",
3636
"dependencies": {
37-
"@angular/animations": "^9.1.11",
38-
"@angular/common": "^9.1.11",
39-
"@angular/compiler": "^9.1.11",
40-
"@angular/core": "^9.1.11",
41-
"@angular/forms": "^9.1.11",
42-
"@angular/platform-browser": "^9.1.11",
43-
"@angular/platform-browser-dynamic": "^9.1.11",
44-
"@angular/router": "^9.1.11",
37+
"@angular/animations": "^10.0.5",
38+
"@angular/common": "^10.0.5",
39+
"@angular/compiler": "^10.0.5",
40+
"@angular/core": "^10.0.5",
41+
"@angular/forms": "^10.0.5",
42+
"@angular/platform-browser": "^10.0.5",
43+
"@angular/platform-browser-dynamic": "^10.0.5",
44+
"@angular/router": "^10.0.5",
4545
"@fortawesome/angular-fontawesome": "^0.7.0",
4646
"@fortawesome/fontawesome-svg-core": "^1.2.30",
4747
"@fortawesome/free-brands-svg-icons": "^5.14.0",
@@ -50,15 +50,15 @@
5050
"@pascaliske/html-helpers": "^1.5.8",
5151
"core-js": "^3.6.5",
5252
"rxjs": "^6.6.0",
53-
"tslib": "^1.13.0",
53+
"tslib": "^2.0.0",
5454
"zone.js": "~0.10.2"
5555
},
5656
"devDependencies": {
57-
"@angular-devkit/build-angular": "~0.901.12",
58-
"@angular-devkit/build-ng-packagr": "~0.901.11",
59-
"@angular/cli": "^9.1.11",
60-
"@angular/compiler-cli": "^9.1.11",
61-
"@angular/language-service": "^9.1.11",
57+
"@angular-devkit/build-angular": "~0.1000.4",
58+
"@angular-devkit/build-ng-packagr": "~0.1000.4",
59+
"@angular/cli": "^10.0.4",
60+
"@angular/compiler-cli": "^10.0.5",
61+
"@angular/language-service": "^10.0.5",
6262
"@babel/core": "^7.10.5",
6363
"@commitlint/cli": "^9.1.1",
6464
"@commitlint/config-conventional": "^9.1.1",
@@ -80,22 +80,22 @@
8080
"bump-cli": "^1.1.3",
8181
"chalk": "^4.1.0",
8282
"choices.js": "^9.0.1",
83-
"codelyzer": "^5.2.2",
83+
"codelyzer": "^6.0.0",
8484
"faker": "^4.1.0",
8585
"flatpickr": "4.6.3",
8686
"fuzzysearch": "^1.0.3",
8787
"husky": "^4.2.5",
8888
"lint-staged": "^10.2.11",
8989
"lodash-es": "^4.17.15",
90-
"ng-packagr": "^9.1.5",
90+
"ng-packagr": "^10.0.0",
9191
"npm-run-all": "^4.1.5",
9292
"prettier": "^2.0.5",
9393
"scss-bundle": "^3.1.2",
9494
"standard-changelog": "^2.0.24",
9595
"style-loader": "^1.2.1",
9696
"ts-node": "^8.10.2",
97-
"tslint": "~6.1.2",
97+
"tslint": "~6.1.0",
9898
"tslint-config-prettier": "^1.18.0",
99-
"typescript": "~3.8.3"
99+
"typescript": "~3.9.7"
100100
}
101101
}

projects/form-elements/package.json

+6-3
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,17 @@
2020
"access": "public"
2121
},
2222
"peerDependencies": {
23-
"@angular/common": "^7.0.0 || ^8.0.0 || ^9.0.0",
24-
"@angular/core": "^7.0.0 || ^8.0.0 || ^9.0.0",
25-
"@angular/forms": "^7.0.0 || ^8.0.0 || ^9.0.0",
23+
"@angular/common": "^8.0.0 || ^9.0.0 || ^10.0.0",
24+
"@angular/core": "^8.0.0 || ^9.0.0 || ^10.0.0",
25+
"@angular/forms": "^8.0.0 || ^9.0.0 || ^10.0.0",
2626
"@pascaliske/html-helpers": "^1.2.1",
2727
"choices.js": "^9.0.1",
2828
"flatpickr": "^4.6.1",
2929
"fuzzysearch": "^1.0.3",
3030
"lodash-es": "^4.17.15",
3131
"rxjs": "^6.0.0"
32+
},
33+
"dependencies": {
34+
"tslib": "^2.0.0"
3235
}
3336
}

projects/form-elements/tsconfig.lib.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
"extends": "../../tsconfig.base.json",
33
"compilerOptions": {
44
"outDir": "../../out-tsc/lib",
55
"target": "es2015",

tsconfig.app.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "./tsconfig.json",
2+
"extends": "./tsconfig.base.json",
33
"compilerOptions": {
44
"outDir": "../out-tsc/app",
55
"types": []

tsconfig.base.json

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"compileOnSave": false,
3+
"compilerOptions": {
4+
"baseUrl": "./",
5+
"downlevelIteration": true,
6+
"module": "es2020",
7+
"outDir": "./dist/out-tsc",
8+
"sourceMap": true,
9+
"declaration": false,
10+
"moduleResolution": "node",
11+
"emitDecoratorMetadata": true,
12+
"experimentalDecorators": true,
13+
"esModuleInterop": true,
14+
"noUnusedLocals": true,
15+
"noUnusedParameters": true,
16+
"target": "es2015",
17+
"typeRoots": [
18+
"node_modules/@types",
19+
"typings.d.ts"
20+
],
21+
"lib": [
22+
"es2017",
23+
"dom"
24+
],
25+
"paths": {
26+
"@pascaliske/form-elements": [
27+
"dist/form-elements"
28+
],
29+
"@pascaliske/form-elements/*": [
30+
"dist/form-elements/*"
31+
]
32+
}
33+
}
34+
}

tsconfig.json

+8-31
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,11 @@
11
{
2-
"compileOnSave": false,
3-
"compilerOptions": {
4-
"baseUrl": "./",
5-
"downlevelIteration": true,
6-
"module": "esnext",
7-
"outDir": "./dist/out-tsc",
8-
"sourceMap": true,
9-
"declaration": false,
10-
"moduleResolution": "node",
11-
"emitDecoratorMetadata": true,
12-
"experimentalDecorators": true,
13-
"esModuleInterop": true,
14-
"noUnusedLocals": true,
15-
"noUnusedParameters": true,
16-
"target": "es2015",
17-
"typeRoots": [
18-
"node_modules/@types",
19-
"typings.d.ts"
20-
],
21-
"lib": [
22-
"es2017",
23-
"dom"
24-
],
25-
"paths": {
26-
"@pascaliske/form-elements": [
27-
"dist/form-elements"
28-
],
29-
"@pascaliske/form-elements/*": [
30-
"dist/form-elements/*"
31-
]
2+
"files": [],
3+
"references": [
4+
{
5+
"path": "./tsconfig.app.json"
6+
},
7+
{
8+
"path": "./projects/form-elements/tsconfig.lib.json"
329
}
33-
}
10+
]
3411
}

tslint.json

-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@
8989
"no-trailing-whitespace": true,
9090
"no-unnecessary-initializer": true,
9191
"no-unused-expression": true,
92-
"no-use-before-declare": true,
9392
"no-var-keyword": true,
9493
"object-literal-sort-keys": false,
9594
"one-line": [

0 commit comments

Comments
 (0)