Closed StephanTLavavej closed 1 year ago
@StephanTLavavej I don't have a huge experience on npm, therefore I'm not sure, but I think the peerDependencies
could be:
"luxon": "^1.0.0"
because the adapter is declared to work with Luxon greater than 1.0.0 version.
I have done some tests and the current adapter sounds working properly with Luxon 3.0.1.
Same problem here....
I think the peerDependencies could be: "luxon": "^1.0.0" because the adapter is declared to work with Luxon greater than 1.0.0 version.
That means it must be 1.x version. You'd want it to be >= 1.0.0
for that. *
or >= 0.0.0
would probably work too. Docs for it are here: https://docs.npmjs.com/cli/v6/using-npm/semver#ranges
@benmccann I had a look to the doc (thanks!). In my opinion, it sounds better to have "luxon": "*"
, but I'm not aware if the adapter can work with Luxon 0.*.
I'd use >=1.0.0
I see the pull request to fix this issue is approved... are there plans to merge it soon?
does this change also need to be released? I'm still getting the same error when I try to install.
Same here - still getting the same error.
The change has not been released. You can see that here: https://www.npmjs.com/package/chartjs-adapter-luxon
Perhaps @stockiNail or @kurkle would be able to help with cutting a release
@benmccann I cannot do anything because I am not a collaborator
I'm seeing the following npm warning when I attempt to update to today's release of luxon 3.0.1:
This may be related to:
https://github.com/chartjs/chartjs-adapter-luxon/blob/1b1c23073eb364bd5bd25de6161a19be44d5b5fc/package.json#L56
It appears that chartjs-adapter-luxon needs to be updated to accept the luxon 3.x series.
(Thanks again for your great work! I use it in the microsoft/STL Status Chart. :smile_cat:)