Skip to content

Commit 0772968

Browse files
committed
Update lockfile
1 parent 4befa2d commit 0772968

File tree

3 files changed

+215
-368
lines changed

3 files changed

+215
-368
lines changed

.pnpmfile.cjs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ function afterAllResolved(lockfile, context) {
1313
for (let x of PACKAGES_WITH_ENFORCED_SINGLE_VERSION) {
1414
if (p.startsWith(`/${x}/`)) {
1515
if (found[x]) {
16-
found[x] += 1
16+
found[x].push(p)
1717
} else {
18-
found[x] = 1
18+
found[x] = [p]
1919
}
2020
}
2121
}
@@ -24,9 +24,12 @@ function afterAllResolved(lockfile, context) {
2424
let msg = ''
2525

2626
for (let p in found) {
27-
const count = found[p]
27+
const count = found[p].length
2828
if (count > 1) {
29-
msg += `${p} found ${count} times\n`
29+
msg +=
30+
`${p} found ${count} times\n` +
31+
found[p].map((s) => `- ${s}`).join('\n') +
32+
'\n\n'
3033
}
3134
}
3235

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"@babel/runtime": "^7.16.3",
6262
"@codechecks/build-size-watcher": "^0.1.0",
6363
"@codechecks/client": "0.1.10-beta",
64-
"@emotion/jest": "^11.10.0",
64+
"@emotion/jest": "^11",
6565
"@jest/types": "^29",
6666
"@preconstruct/cli": "^2.1.5",
6767
"@testing-library/react": "^13.4.0",

0 commit comments

Comments
 (0)