Skip to content

Commit 6306d0a

Browse files
Updated to Angular 12.
1 parent 356a248 commit 6306d0a

File tree

6 files changed

+27
-22
lines changed

6 files changed

+27
-22
lines changed

angular.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,13 @@
2525
"src/favicon.ico"
2626
],
2727
"styles": [],
28-
"scripts": []
28+
"scripts": [],
29+
"vendorChunk": true,
30+
"extractLicenses": false,
31+
"buildOptimizer": false,
32+
"sourceMap": true,
33+
"optimization": false,
34+
"namedChunks": true
2935
},
3036
"configurations": {
3137
"production": {
@@ -50,7 +56,8 @@
5056
}
5157
]
5258
}
53-
}
59+
},
60+
"defaultConfiguration": ""
5461
},
5562
"serve": {
5663
"builder": "@angular-devkit/build-angular:dev-server",

highcharts-angular/src/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import {
66
platformBrowserDynamicTesting
77
} from "@angular/platform-browser-dynamic/testing";
88
import "core-js/es/reflect";
9-
import "zone.js/dist/zone";
10-
import "zone.js/dist/zone-testing";
9+
import "zone.js";
10+
import "zone.js/testing";
1111

1212
declare const require: any;
1313

highcharts-angular/tsconfig.lib.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"declaration": true,
1111
"sourceMap": true,
1212
"inlineSources": true,
13-
"emitDecoratorMetadata": true,
1413
"experimentalDecorators": true,
1514
"importHelpers": true,
1615
"lib": [

package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
"e2e": "ng e2e"
1616
},
1717
"dependencies": {
18-
"@angular/animations": "11.0.5",
19-
"@angular/common": "11.0.5",
20-
"@angular/compiler": "11.0.5",
21-
"@angular/core": "11.0.5",
22-
"@angular/forms": "11.0.5",
23-
"@angular/platform-browser": "11.0.5",
24-
"@angular/platform-browser-dynamic": "11.0.5",
25-
"@angular/router": "11.0.5",
18+
"@angular/animations": "12.2.13",
19+
"@angular/common": "12.2.13",
20+
"@angular/compiler": "12.2.13",
21+
"@angular/core": "12.2.13",
22+
"@angular/forms": "12.2.13",
23+
"@angular/platform-browser": "12.2.13",
24+
"@angular/platform-browser-dynamic": "12.2.13",
25+
"@angular/router": "12.2.13",
2626
"@highcharts/map-collection": "^1.1.3",
2727
"core-js": "^3.8.1",
2828
"highcharts": "^9.0.0",
@@ -31,29 +31,29 @@
3131
"proj4": "^2.6.3",
3232
"rxjs": "^6.5.4",
3333
"tslib": "^2.0.0",
34-
"zone.js": "~0.10.2"
34+
"zone.js": "~0.11.4"
3535
},
3636
"devDependencies": {
37-
"@angular-devkit/build-angular": "~0.1100.5",
38-
"@angular/cli": "11.0.5",
39-
"@angular/compiler-cli": "11.0.5",
37+
"@angular-devkit/build-angular": "~12.2.13",
38+
"@angular/cli": "12.2.13",
39+
"@angular/compiler-cli": "12.2.13",
4040
"@types/jasmine": "2.8.8",
4141
"@types/jasminewd2": "2.0.3",
4242
"@types/node": "^12.19.9",
4343
"codelyzer": "^6.0.0",
4444
"jasmine-core": "~3.5.0",
4545
"jasmine-spec-reporter": "~5.0.0",
46-
"karma": "~5.1.1",
46+
"karma": "~6.3.9",
4747
"karma-chrome-launcher": "~3.1.0",
4848
"karma-coverage-istanbul-reporter": "~3.0.2",
4949
"karma-jasmine": "~4.0.0",
5050
"karma-jasmine-html-reporter": "^1.5.0",
51-
"ng-packagr": "^11.0.3",
51+
"ng-packagr": "^12.2.5",
5252
"node-sass": "^4.12.0",
5353
"protractor": "~7.0.0",
5454
"standard-version": "^8.0.1",
5555
"ts-node": "^8.6.2",
5656
"tslint": "~6.1.0",
57-
"typescript": "4.0.5"
57+
"typescript": "4.3.5"
5858
}
5959
}

src/polyfills.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import "core-js/es/reflect";
4646
/***************************************************************************************************
4747
* Zone JS is required by Angular itself.
4848
*/
49-
import "zone.js/dist/zone"; // Included with Angular CLI.
49+
import "zone.js"; // Included with Angular CLI.
5050

5151
/***************************************************************************************************
5252
* APPLICATION IMPORTS

tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"declaration": false,
1010
"module": "es2020",
1111
"moduleResolution": "node",
12-
"emitDecoratorMetadata": true,
1312
"experimentalDecorators": true,
1413
"importHelpers": true,
1514
"resolveJsonModule": true,

0 commit comments

Comments
 (0)