Samuel
@samuel.fm
hey @pnpm.io! question: is there an easy way to validate, given two pairs of package.json+lockfiles, that the second lockfile is purely a result of the changes in the package.json? we have CI that tries to check this to ensure incoming PRs aren’t tampering with the lockfile but it’s quite messy
2 25
Samuel
hmm, would it catch people changing unrelated peerDeps? we basically want to validate that the lockfile has not been touch in any way, even if it's something like `pnpm dedupe`
1 3
pnpm
no, but all these additional checks make install slower. Hence I am not sure we will do anything non-security related by default. This is more like a correctness check.
1 3
Samuel
completely fair - just wondering if there’s a built-in way to run this correctionness check in CI! no worries if not, just thought I’d ask :)
1 2