Skip to content

Commit 748b4e7

Browse files
fix: Publint error in solid-query (#5522)
1 parent 9b9b25d commit 748b4e7

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

packages/solid-query/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,7 @@
4343
"build:types": "tsc"
4444
},
4545
"files": [
46-
"build/esm/*",
47-
"build/cjs/*",
48-
"build/source/*",
49-
"build/types/*",
46+
"build",
5047
"src"
5148
],
5249
"dependencies": {

scripts/validatePackages.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,13 @@ async function run() {
5858
const publintResult = await publint({ pkgDir: pkg.packageDir })
5959

6060
publintResult.forEach((message) => {
61-
console.log(`Publint warning: ${JSON.stringify(message, null, 2)}`)
61+
failedValidations.push(
62+
`Publint warning: ${pkg.packageDir} ${JSON.stringify(
63+
message,
64+
null,
65+
2,
66+
)}`,
67+
)
6268
})
6369
}),
6470
)

0 commit comments

Comments
 (0)