Skip to content

Commit 10fc5ed

Browse files
committed
fix(bump qwik dep version): bump qwik peer dep in packages
- since packages were depending on a lower version they still exhibited the TS4023 error - using the latest qwik version resolves that fix #396
1 parent 3239860 commit 10fc5ed

File tree

4 files changed

+10
-18
lines changed

4 files changed

+10
-18
lines changed

packages/kit-headless/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"private": false,
2323
"scripts": {},
2424
"peerDependencies": {
25-
"@builder.io/qwik": ">1.1.0"
25+
"@builder.io/qwik": ">1.2.11"
2626
},
2727
"dependencies": {
2828
"@floating-ui/dom": "1.0.10",

packages/kit-headless/vite.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@ export default defineConfig({
1717
tsconfigPath: join(dirname(fileURLToPath(import.meta.url)), 'tsconfig.lib.json'),
1818

1919
afterDiagnostic(ds) {
20+
// ensure DTS errors are still visible - otherwise get swallowed and silent
21+
console.log((ds ?? []).map((d) => d.messageText));
22+
2023
const nonPortableTypeErrors = ds.filter((d) => d.code === 2742);
2124
if (nonPortableTypeErrors.length > 0) {
22-
// stop the build - yes with an empty promise - that's what the func expects
25+
// stop the build for 2742 specifically
2326
return Promise.reject(nonPortableTypeErrors);
2427
}
2528

packages/kit-tailwind/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@
3636
"daisyui": "^2.50.1"
3737
},
3838
"peerDependencies": {
39-
"@builder.io/qwik": ">1.1.0"
39+
"@builder.io/qwik": ">1.2.11"
4040
}
4141
}

pnpm-lock.yaml

Lines changed: 4 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)