Skip to content

Commit

Permalink
Merge pull request #340 from highcharts/enhancement/336-update-demos-…
Browse files Browse the repository at this point in the history
…angular-15

enhancement/336-update-demos-angular-15
  • Loading branch information
karolkolodziej authored Feb 1, 2023
2 parents b3130f0 + 9b01372 commit bba2f7c
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 24 deletions.
4 changes: 3 additions & 1 deletion .browserslistrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@
last 2 versions
Firefox ESR
not dead
not IE 9-11 # For IE 9-11 support, remove 'not'.
not IE 9-11 # For IE 9-11 support, remove 'not'.
not kaios 2.5,
not op_mini all
1 change: 0 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@
}
}
},
"defaultProject": "my-app",
"schematics": {
"@schematics/angular:component": {
"prefix": "app",
Expand Down
1 change: 0 additions & 1 deletion highcharts-angular/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"baseUrl": ".",
"outDir": "../out-tsc/lib",
"declarationMap": true,
"target": "es2015",
"module": "es2015",
"moduleResolution": "node",
"declaration": true,
Expand Down
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
"e2e": "ng e2e"
},
"dependencies": {
"@angular/animations": "13.0.2",
"@angular/common": "13.0.2",
"@angular/compiler": "13.0.2",
"@angular/core": "13.0.2",
"@angular/forms": "13.0.2",
"@angular/platform-browser": "13.0.2",
"@angular/platform-browser-dynamic": "13.0.2",
"@angular/router": "13.0.2",
"@angular/animations": "15.1.2",
"@angular/common": "15.1.2",
"@angular/compiler": "15.1.2",
"@angular/core": "15.1.2",
"@angular/forms": "15.1.2",
"@angular/platform-browser": "15.1.2",
"@angular/platform-browser-dynamic": "15.1.2",
"@angular/router": "15.1.2",
"@highcharts/map-collection": "^1.1.3",
"@types/estree": "^0.0.50",
"core-js": "^3.19.2",
Expand All @@ -36,9 +36,9 @@
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~13.0.3",
"@angular/cli": "13.0.3",
"@angular/compiler-cli": "13.0.2",
"@angular-devkit/build-angular": "^15.1.3",
"@angular/cli": "15.1.3",
"@angular/compiler-cli": "15.1.2",
"@types/jasmine": "3.10.2",
"@types/jasminewd2": "2.0.10",
"@types/node": "^16.11.11",
Expand All @@ -50,12 +50,12 @@
"karma-coverage-istanbul-reporter": "~3.0.3",
"karma-jasmine": "~4.0.1",
"karma-jasmine-html-reporter": "^1.7.0",
"ng-packagr": "^13.0.8",
"ng-packagr": "^15.1.1",
"node-sass": "7.0.1",
"protractor": "~7.0.0",
"standard-version": "^9.3.2",
"ts-node": "^10.4.0",
"tslint": "~6.1.0",
"typescript": "4.4.4"
"typescript": "4.8.4"
}
}
}
5 changes: 0 additions & 5 deletions src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {

// Unfortunately there's no typing for the `__karma__` variable. Just declare it as any.
declare var __karma__: any;
declare var require: any;

// Prevent Karma from running prematurely.
__karma__.loaded = function () {};
Expand All @@ -26,9 +25,5 @@ getTestBed().initTestEnvironment(
teardown: { destroyAfterEach: false }
}
);
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().map(context);
// Finally, start Karma to run the tests.
__karma__.start();
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@
"experimentalDecorators": true,
"importHelpers": true,
"resolveJsonModule": true,
"target": "es2015",
"target": "ES2022",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2018",
"dom"
]
],
"useDefineForClassFields": false
},
"angularCompilerOptions": {
"fullTemplateTypeCheck": true
Expand Down

0 comments on commit bba2f7c

Please sign in to comment.