If you’re already using Vessel you’d still need to use vessel sources
and either add a new package to your vessel.dhall
file or somehow manually add --package shared shared
.
This might work:
"packtool": "vessel sources && echo \"--package shared shared\""