Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions packages/sdks/e2e/qwik-city/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
"serve": "yarn run preview"
},
"devDependencies": {
"@builder.io/qwik": "^1.9.1",
"@builder.io/qwik-city": "^1.9.1",
"@builder.io/qwik": "^1.17.1",
"@builder.io/qwik-city": "^1.17.1",
"@types/node": "^18.11.18",
"node-fetch": "3.3.0",
"typescript": "^5.1.6",
"vite": "^4.5.11",
"vite-tsconfig-paths": "3.5.0"
"vite": "^5.4.0",
"vite-tsconfig-paths": "^4.2.1"
},
"dependencies": {
"@builder.io/sdk-qwik": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/sdks/e2e/qwik-city/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"strict": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"moduleResolution": "node",
"moduleResolution": "bundler",
"esModuleInterop": true,
"skipLibCheck": true,
"incremental": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/sdks/output/qwik/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
"isolated-vm": "^6.0.0"
},
"devDependencies": {
"@builder.io/qwik": "^1.5.1",
"@builder.io/qwik": "^1.17.1",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Peer Dependency Mismatch After Qwik Upgrade

Upgrading @builder.io/qwik to ^1.17.1 introduces a peer dependency conflict. Qwik 1.17.x requires vite: ">=5 <8" but the package still specifies vite: "^4.5.11". This mismatch will cause peer dependency warnings or errors during installation and may lead to runtime incompatibilities.

Fix in Cursor Fix in Web

"@builder.io/sdks": "workspace:*",
"@types/node": "latest",
"typescript": "5.5.2",
Expand Down
8 changes: 4 additions & 4 deletions packages/sdks/snippets/qwik-city/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
"serve": "yarn run preview"
},
"devDependencies": {
"@builder.io/qwik": "^1.9.1",
"@builder.io/qwik-city": "^1.9.1",
"@builder.io/qwik": "^1.17.1",
"@builder.io/qwik-city": "^1.17.1",
"@types/node": "^18.11.18",
"node-fetch": "3.3.0",
"typescript": "^5.1.6",
"vite": "^4.5.11",
"vite-tsconfig-paths": "3.5.0"
"vite": "^5.4.0",
"vite-tsconfig-paths": "^4.2.1"
},
"dependencies": {
"@builder.io/sdk-qwik": "workspace:*"
Expand Down
2 changes: 1 addition & 1 deletion packages/sdks/snippets/qwik-city/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"strict": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"moduleResolution": "node",
"moduleResolution": "bundler",
"esModuleInterop": true,
"skipLibCheck": true,
"incremental": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ export default function LiveEditBlockStyles(props: LiveEditBlockStylesProps) {
: '';

const hoverAnimation =
this.processedBlock.animations &&
this.processedBlock.animations.find((item) => item.trigger === 'hover');
this.processedBlock?.animations &&
this.processedBlock?.animations?.find((item) => item.trigger === 'hover');

let hoverStylesClass = '';
if (hoverAnimation) {
Expand Down
Loading
Loading