-
Notifications
You must be signed in to change notification settings - Fork 27
Description
I want to use this but I don't know how I am supposed to right now. Can you clarify if this is/isn't compatible with the new Cornerstone3D? package.json doesn't list it as a dependency (peer or otherwise) so I'm not sure what version of Cornerstone I'm supposed to be using.
According to https://www.cornerstonejs.org/, Cornerstone3D, or @cornerstonejs/core, is the new "beta" version of Cornerstone:
and according to cornerstonejs/cornerstone3D#118 (comment), the legacy Cornerstone, cornerstone-core, is no longer being maintained at all.
The two projects have separate versioning schemes. The legacy one is at 2.6.1, the beta is at 0.16.7. So they really are separate projects.
The reason I'm confused is:
-
this repo is installable as
@cornerstonejs/nifiti-image-loader, in the same@cornerstonejsgroup, as if it's a peer of@cornerstonejs/core, and that copy has the most recent 1.0.7 release -
but it's also installable as the older name
cornerstone-nifiti-image-loader, but that copy hasn't been updated since 1.0.0, so that copy is probably dead -
but the actual examples that show me how to use this in practice have vendored a copy of the legacy code, and haven't touched it in 5 years
/*! cornerstone-core - 2.0.0 - 2017-12-14 | (c) 2016 Chris Hafey | https://github.com/cornerstonejs/cornerstone */
So, how do I use this? If I npm i @cornerstone/core will this work correctly with it?
