Fix peerDependencies
and shrinkwrap not fitting installed dependencies
#14
Labels
bug
Something isn't working
Milestone
This is a problem in
jsonschema-utils
, where we've added our modules aspeerDependencies
to ensure they are actually present, because we rely on that to load kickstartDS JSON Schemas (e.g. to layer types and schemas).When those are added, and any other dependency changes the pnpm shrinkwrap / lockfile (e.g. because of install / uninstall), this leaves a warning for
jsonschema-utils
.Only workaround currently: Remove
peerDependencies
, run an update (rush update
), re-addpeerDependencies
, run an update again... which now works, and leaves the shrinkwrap / lockfile in a error- / warning-free state.Relevant code: https://github.com/kickstartDS/schema/blob/main/tools/jsonschema-utils/package.json#L49-L55
The text was updated successfully, but these errors were encountered: