Skip to content

Commit f31cec3

Browse files
committed
Update packages. Set libc for biome packages via pnpm hooks
Signed-off-by: Prabhu Subramanian <[email protected]>
1 parent 4f35435 commit f31cec3

File tree

3 files changed

+494
-482
lines changed

3 files changed

+494
-482
lines changed

.pnpmfile.cjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ function readPackage(pkg) {
1515
} else if (pkg.name?.includes("gnu") && !pkg.libc) {
1616
pkg.libc = "glibc";
1717
}
18+
} else if (pkg.name?.includes("@biomejs")) {
19+
if (pkg.name?.includes("linux") && !pkg.libc) {
20+
if (pkg.name?.includes("musl")) {
21+
pkg.libc = "musl";
22+
} else {
23+
pkg.libc = "glibc";
24+
}
25+
}
1826
}
1927
return pkg;
2028
}

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@
8080
"*": "biome check --fix --no-errors-on-unmatched"
8181
},
8282
"dependencies": {
83-
"@babel/parser": "^7.27.4",
84-
"@babel/traverse": "^7.27.4",
83+
"@babel/parser": "^7.27.7",
84+
"@babel/traverse": "^7.27.7",
8585
"@iarna/toml": "2.2.5",
8686
"@npmcli/arborist": "^9.1.2",
8787
"ajv": "^8.17.1",
@@ -124,7 +124,7 @@
124124
"@cyclonedx/cdxgen-plugins-bin-windows-amd64": "1.6.12",
125125
"@cyclonedx/cdxgen-plugins-bin-windows-arm64": "1.6.12",
126126
"body-parser": "^2.2.0",
127-
"compression": "^1.7.5",
127+
"compression": "^1.8.0",
128128
"connect": "^3.7.0",
129129
"jsonata": "^2.0.6",
130130
"sequelize": "^6.37.7",
@@ -140,7 +140,7 @@
140140
],
141141
"devDependencies": {
142142
"@biomejs/biome": "2.0.5",
143-
"jest": "^30.0.0",
143+
"jest": "^30.0.3",
144144
"typescript": "^5.8.3"
145145
},
146146
"pnpm": {

0 commit comments

Comments
 (0)