Skip to content

Commit f98add1

Browse files
committed
feat(version): migrated to version 19
1 parent 07c98fa commit f98add1

File tree

5 files changed

+4095
-29342
lines changed

5 files changed

+4095
-29342
lines changed

apps/ng2-charts-demo/server.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { APP_BASE_HREF } from '@angular/common';
2-
import { CommonEngine } from '@angular/ssr';
2+
import { CommonEngine } from '@angular/ssr/node';
33
import express from 'express';
44
import { fileURLToPath } from 'node:url';
55
import { dirname, join, resolve } from 'node:path';
@@ -40,8 +40,8 @@ export function app(): express.Express {
4040
publicPath: browserDistFolder,
4141
providers: [{ provide: APP_BASE_HREF, useValue: baseUrl }],
4242
})
43-
.then((html) => res.send(html))
44-
.catch((err) => next(err));
43+
.then((html: any) => res.send(html))
44+
.catch((err: any) => next(err));
4545
});
4646

4747
return server;

libs/ng2-charts/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"name": "ng2-charts",
44
"description": "Reactive, responsive, beautiful charts for Angular based on Chart.js",
55
"peerDependencies": {
6-
"@angular/platform-browser": ">=18.0.0",
7-
"@angular/common": ">=18.0.0",
8-
"@angular/core": ">=18.0.0",
9-
"@angular/cdk": ">=18.0.0",
6+
"@angular/platform-browser": ">=19.0.0",
7+
"@angular/common": ">=19.0.0",
8+
"@angular/core": ">=19.0.0",
9+
"@angular/cdk": ">=19.0.0",
1010
"chart.js": "^3.4.0 || ^4.0.0",
1111
"rxjs": "^6.5.3 || ^7.4.0"
1212
},

0 commit comments

Comments
 (0)