Skip to content

chore: merge main into v2 #7651

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 23 commits into from
Jun 2, 2025
Merged

chore: merge main into v2 #7651

merged 23 commits into from
Jun 2, 2025

Conversation

wmertens
Copy link
Member

@wmertens wmertens commented Jun 2, 2025

No description provided.

wmertens and others added 18 commits May 22, 2025 11:54
the error is not helpful and it's nicer to just check and ignore
…rfile

[docs] Add comments to the Dockerfile
test: pass context to config hook
- don't assume path of bundlegraph during render
- move bundlegraph to standard assets location
- refactor preloader script output
this allows knowing all the needed files for offline apps
- the bundlegraph asset is not relative to build/
- the resolved manifest in the server only has a selection of manifest keys
Removed concurrently in favor of pnpm parallel execution
Update index.mdx

## Summary
This PR addresses a TypeScript error related to the use of readonly tuple types in conjunction with QRL.

## Problem
Using a readonly tuple type A extends readonly unknown[] caused the following TypeScript diagnostic when invoking a QRL:

Argument of type '[...A]' is not assignable to parameter of type 'QrlArgs<(...args: A) => R>'. [2345]

## Root Cause
This appears to be a type compatibility issue between the readonly tuple spread ([...A]) and the expected QrlArgs type in the QRL function signature. It's possible there's an edge case or mismatch in how QrlArgs<(...args: A) => R> resolves in the presence of readonly tuples, or perhaps recent TypeScript updates introduced stricter rules around readonly spreads.

## Solution
The fix involves removing the readonly modifier from the generic tuple constraint:

- A extends readonly unknown[]
+ A extends unknown[]

This ensures compatibility with the QRL's expected argument types while preserving type safety.

### Notes
Further investigation might be warranted to confirm whether this is a TypeScript typing nuance or a limitation in the Qwik QRL typings themselves.
* Add typescript-plugin-css-modules typescript plugin for css modules

* Configure tsconfig.json for css modules plugin

* fix syntax error

* Add comment to tsconfig.json
* fix(rollup): call fileName hook with assetsDir and debug:true

* chore: changeset
chore(noSerialize): don't console when bad value
Document more thoroughly the use case for useContent with current page's headings
fix: bundlegraph as regular asset
@wmertens wmertens requested review from a team as code owners June 2, 2025 09:46
Copy link

changeset-bot bot commented Jun 2, 2025

🦋 Changeset detected

Latest commit: e8e553f

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

pkg-pr-new bot commented Jun 2, 2025

Open in StackBlitz

npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/core@7651
npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/router@7651
npm i https://pkg.pr.new/QwikDev/qwik/eslint-plugin-qwik@7651
npm i https://pkg.pr.new/QwikDev/qwik/create-qwik@7651

commit: e8e553f

Copy link
Contributor

github-actions bot commented Jun 2, 2025

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
qwik-docs ✅ Ready (View Log) Visit Preview e8e553f

caused repl segments to no longer show
@wmertens wmertens merged commit 2a3febf into build/v2 Jun 2, 2025
15 checks passed
@wmertens wmertens deleted the v2-merge-main branch June 2, 2025 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants