Skip to content

Commit 25988bc

Browse files
committed
Attempted update to angular v11
1 parent 20bf14d commit 25988bc

11 files changed

+6633
-7301
lines changed

angular.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"prefix": "iqui",
1616
"architect": {
1717
"build": {
18-
"builder": "@angular-devkit/build-ng-packagr:build",
18+
"builder": "@angular-devkit/build-angular:ng-packagr",
1919
"options": {
2020
"tsConfig": "projects/iqui-ngx/tsconfig.lib.json",
2121
"project": "projects/iqui-ngx/ng-package.json"
@@ -78,7 +78,6 @@
7878
"optimization": true,
7979
"outputHashing": "all",
8080
"sourceMap": false,
81-
"extractCss": true,
8281
"namedChunks": false,
8382
"extractLicenses": true,
8483
"vendorChunk": false,

package-lock.json

+6,581-7,228
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+20-21
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
"highlight.js": "^9.18.1"
1616
},
1717
"dependencies": {
18-
"@angular/animations": "~10.0.3",
19-
"@angular/cdk": "^10.0.2",
20-
"@angular/common": "~10.0.3",
21-
"@angular/compiler": "~10.0.3",
22-
"@angular/core": "~10.0.3",
23-
"@angular/forms": "~10.0.3",
24-
"@angular/platform-browser": "~10.0.3",
25-
"@angular/platform-browser-dynamic": "~10.0.3",
26-
"@angular/router": "~10.0.3",
18+
"@angular/animations": "~12.2.15",
19+
"@angular/cdk": "^11.2.13",
20+
"@angular/common": "~12.2.15",
21+
"@angular/compiler": "~12.2.15",
22+
"@angular/core": "~11.2.14",
23+
"@angular/forms": "~12.2.15",
24+
"@angular/platform-browser": "~12.2.15",
25+
"@angular/platform-browser-dynamic": "~12.2.15",
26+
"@angular/router": "~12.2.15",
2727
"@ofzza/entt": "^3.2.1",
2828
"@ofzza/entt-rxjs": "^3.2.1",
2929
"@themesberg/volt-bootstrap-5-dashboard": "^1.0.1",
@@ -35,26 +35,25 @@
3535
"zone.js": "~0.10.3"
3636
},
3737
"devDependencies": {
38-
"@angular-devkit/build-angular": "~0.1000.2",
39-
"@angular-devkit/build-ng-packagr": "~0.1000.2",
40-
"@angular/cli": "~10.0.2",
41-
"@angular/compiler-cli": "~10.0.3",
42-
"@angular/language-service": "~10.0.3",
43-
"@types/node": "~8.9.4",
44-
"@types/jasmine": "~3.3.8",
38+
"@angular-devkit/build-angular": "~0.1102.17",
39+
"@angular/cli": "~11.2.17",
40+
"@angular/compiler-cli": "~12.2.15",
41+
"@angular/language-service": "~12.2.15",
42+
"@types/jasmine": "~3.6.0",
4543
"@types/jasminewd2": "~2.0.3",
44+
"@types/node": "~8.9.4",
4645
"codelyzer": "^6.0.0",
47-
"jasmine-core": "~3.5.0",
46+
"jasmine-core": "~3.6.0",
4847
"jasmine-spec-reporter": "~5.0.0",
49-
"karma": "~5.0.0",
48+
"karma": "~6.3.9",
5049
"karma-chrome-launcher": "~3.1.0",
5150
"karma-coverage-istanbul-reporter": "~3.0.2",
52-
"karma-jasmine": "~3.3.0",
51+
"karma-jasmine": "~4.0.0",
5352
"karma-jasmine-html-reporter": "^1.5.0",
54-
"ng-packagr": "^10.0.0",
53+
"ng-packagr": "^11.2.4",
5554
"protractor": "~7.0.0",
5655
"ts-node": "~7.0.0",
5756
"tslint": "~6.1.0",
58-
"typescript": "~3.9.6"
57+
"typescript": "^4.3.5"
5958
}
6059
}

projects/iqui-ngx/tsconfig.lib.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
2-
"extends": "../../tsconfig.base.json",
2+
"extends": "../../tsconfig.json",
33
"compilerOptions": {
44
"outDir": "../../out-tsc/lib",
5+
"declarationMap": true,
56
"target": "es2015",
67
"declaration": true,
78
"inlineSources": true,

projects/iqui-ngx/tsconfig.lib.prod.json

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"extends": "./tsconfig.lib.json",
3+
"compilerOptions": {
4+
"declarationMap": false
5+
},
36
"angularCompilerOptions": {
47
"enableIvy": false
58
}

projects/iqui-ngx/tsconfig.spec.json

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

projects/showcase/e2e/tsconfig.json

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

projects/showcase/tsconfig.app.json

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

projects/showcase/tsconfig.spec.json

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

tsconfig.base.json

-25
This file was deleted.

tsconfig.json

+22-20
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
1-
/*
2-
This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience.
3-
It is not intended to be used to perform a compilation.
4-
5-
To learn more about this file see: https://angular.io/config/solution-tsconfig.
6-
*/
71
{
8-
"files": [],
9-
"references": [
10-
{
11-
"path": "./projects/iqui-ngx/tsconfig.lib.json"
12-
},
13-
{
14-
"path": "./projects/iqui-ngx/tsconfig.spec.json"
15-
},
16-
{
17-
"path": "./projects/showcase/tsconfig.app.json"
18-
},
19-
{
20-
"path": "./projects/showcase/tsconfig.spec.json"
2+
"compileOnSave": false,
3+
"compilerOptions": {
4+
"baseUrl": "./",
5+
"outDir": "./dist/out-tsc",
6+
"sourceMap": true,
7+
"declaration": false,
8+
"downlevelIteration": true,
9+
"experimentalDecorators": true,
10+
"module": "es2020",
11+
"moduleResolution": "node",
12+
"importHelpers": true,
13+
"target": "es2015",
14+
"typeRoots": ["node_modules/@types"],
15+
"lib": ["es2018", "dom"],
16+
"paths": {
17+
"iqui-ngx": ["dist/iqui-ngx"],
18+
"iqui-ngx/*": ["dist/iqui-ngx/*"]
2119
}
22-
]
20+
},
21+
"angularCompilerOptions": {
22+
"fullTemplateTypeCheck": true,
23+
"strictInjectionParameters": true
24+
}
2325
}

0 commit comments

Comments
 (0)