CleverCloud / clever-components

Collection of Web Components by Clever Cloud
https://www.clever-cloud.com/doc/clever-components/
Apache License 2.0
215 stars 19 forks source link

chartjs: upgrade to latest #1056

Open florian-sanders-cc opened 1 month ago

florian-sanders-cc commented 1 month ago

Context

We've enabled Typechecking but it seems that the Chartjs version we currently use contains a few Type errors. Upgrading Chartjs fixes these errors so it would be worth trying and checking that it did not break anything.

Note that it is a major update so we'll have to be cautious with this (see https://www.chartjs.org/docs/latest/migration/v4-migration.html for more info about breaking changes to expect).