This leaves us with a missing peer dependency warning if we do not add it (which is annoying, but fine as we don't use TypeScript) or 7 copies of sortablejs if we install the peer dependency (the package and 6 copies of whichever version is bundled in a vue-draggable-next release)
It also has the side effect of the type definitions not being in sync with the version of sortablejs being used by vue-draggable-next for TypeScript users.
Can sortablejs be added as a dependency (preferred) or unbundle the peerDependency so the install instructions become (yarn add vue-draggable-next sortablejs)?
sortablejs
is bundled in all but the TypeScript type definition files in/dist
(https://www.jsdelivr.com/package/npm/vue-draggable-next?path=dist)This leaves us with a missing peer dependency warning if we do not add it (which is annoying, but fine as we don't use TypeScript) or 7 copies of
sortablejs
if we install the peer dependency (the package and 6 copies of whichever version is bundled in avue-draggable-next
release)It also has the side effect of the type definitions not being in sync with the version of sortablejs being used by
vue-draggable-next
for TypeScript users.Can
sortablejs
be added as adependency
(preferred) or unbundle thepeerDependency
so the install instructions become (yarn add vue-draggable-next sortablejs
)?