Skip to content

Commit

Permalink
Merge pull request #425 from gparlakov/fix-396-older-version-in-peer-…
Browse files Browse the repository at this point in the history
…deps
  • Loading branch information
shairez authored Sep 22, 2023
2 parents 3239860 + 10fc5ed commit 1132ffa
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 18 deletions.
2 changes: 1 addition & 1 deletion packages/kit-headless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"private": false,
"scripts": {},
"peerDependencies": {
"@builder.io/qwik": ">1.1.0"
"@builder.io/qwik": ">1.2.11"
},
"dependencies": {
"@floating-ui/dom": "1.0.10",
Expand Down
5 changes: 4 additions & 1 deletion packages/kit-headless/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@ export default defineConfig({
tsconfigPath: join(dirname(fileURLToPath(import.meta.url)), 'tsconfig.lib.json'),

afterDiagnostic(ds) {
// ensure DTS errors are still visible - otherwise get swallowed and silent
console.log((ds ?? []).map((d) => d.messageText));

const nonPortableTypeErrors = ds.filter((d) => d.code === 2742);
if (nonPortableTypeErrors.length > 0) {
// stop the build - yes with an empty promise - that's what the func expects
// stop the build for 2742 specifically
return Promise.reject(nonPortableTypeErrors);
}

Expand Down
2 changes: 1 addition & 1 deletion packages/kit-tailwind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
"daisyui": "^2.50.1"
},
"peerDependencies": {
"@builder.io/qwik": ">1.1.0"
"@builder.io/qwik": ">1.2.11"
}
}
19 changes: 4 additions & 15 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1132ffa

Please sign in to comment.