Skip to content

Commit

Permalink
fix: Publint error in solid-query (#5522)
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlancollins committed Jun 3, 2023
1 parent 9b9b25d commit 748b4e7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
5 changes: 1 addition & 4 deletions packages/solid-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@
"build:types": "tsc"
},
"files": [
"build/esm/*",
"build/cjs/*",
"build/source/*",
"build/types/*",
"build",
"src"
],
"dependencies": {
Expand Down
8 changes: 7 additions & 1 deletion scripts/validatePackages.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,13 @@ async function run() {
const publintResult = await publint({ pkgDir: pkg.packageDir })

publintResult.forEach((message) => {
console.log(`Publint warning: ${JSON.stringify(message, null, 2)}`)
failedValidations.push(
`Publint warning: ${pkg.packageDir} ${JSON.stringify(
message,
null,
2,
)}`,
)
})
}),
)
Expand Down

0 comments on commit 748b4e7

Please sign in to comment.