We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9972e3e commit 7d2ed5fCopy full SHA for 7d2ed5f
packages/project/lib/build/helpers/calculateBuildSignature.js
@@ -40,8 +40,12 @@ async function getVersion(pkg) {
40
async function getLockfileHash(project) {
41
const rootReader = project.getRootReader({useGitIgnore: false});
42
const lockfiles = await Promise.all([
43
+ // npm
44
await rootReader.byPath("/package-lock.json"),
45
+ await rootReader.byPath("/npm-shrinkwrap.json"),
46
+ // Yarn
47
await rootReader.byPath("/yarn.lock"),
48
+ // pnpm
49
await rootReader.byPath("/pnpm-lock.yaml"),
50
]);
51
let hash = "";
0 commit comments