Skip to content

Commit

Permalink
feat(version): migrated to version 19
Browse files Browse the repository at this point in the history
  • Loading branch information
lexasq committed Jan 2, 2025
1 parent 07c98fa commit f98add1
Show file tree
Hide file tree
Showing 5 changed files with 4,095 additions and 29,342 deletions.
6 changes: 3 additions & 3 deletions apps/ng2-charts-demo/server.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { APP_BASE_HREF } from '@angular/common';
import { CommonEngine } from '@angular/ssr';
import { CommonEngine } from '@angular/ssr/node';
import express from 'express';
import { fileURLToPath } from 'node:url';
import { dirname, join, resolve } from 'node:path';
Expand Down Expand Up @@ -40,8 +40,8 @@ export function app(): express.Express {
publicPath: browserDistFolder,
providers: [{ provide: APP_BASE_HREF, useValue: baseUrl }],
})
.then((html) => res.send(html))
.catch((err) => next(err));
.then((html: any) => res.send(html))
.catch((err: any) => next(err));
});

return server;
Expand Down
8 changes: 4 additions & 4 deletions libs/ng2-charts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"name": "ng2-charts",
"description": "Reactive, responsive, beautiful charts for Angular based on Chart.js",
"peerDependencies": {
"@angular/platform-browser": ">=18.0.0",
"@angular/common": ">=18.0.0",
"@angular/core": ">=18.0.0",
"@angular/cdk": ">=18.0.0",
"@angular/platform-browser": ">=19.0.0",
"@angular/common": ">=19.0.0",
"@angular/core": ">=19.0.0",
"@angular/cdk": ">=19.0.0",
"chart.js": "^3.4.0 || ^4.0.0",
"rxjs": "^6.5.3 || ^7.4.0"
},
Expand Down
Loading

0 comments on commit f98add1

Please sign in to comment.