diff --git a/packages/solid-query/package.json b/packages/solid-query/package.json index 82e01620bd..96d8ce6670 100644 --- a/packages/solid-query/package.json +++ b/packages/solid-query/package.json @@ -43,10 +43,7 @@ "build:types": "tsc" }, "files": [ - "build/esm/*", - "build/cjs/*", - "build/source/*", - "build/types/*", + "build", "src" ], "dependencies": { diff --git a/scripts/validatePackages.js b/scripts/validatePackages.js index 24ba9ee789..b78ad503ec 100644 --- a/scripts/validatePackages.js +++ b/scripts/validatePackages.js @@ -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, + )}`, + ) }) }), )