Skip to content

fix(rspack): allow typechecking during serve #29267#30558

Merged
Coly010 merged 1 commit intomasterfrom
rspack/allow-typechecking-during-serve
Apr 2, 2025
Merged

fix(rspack): allow typechecking during serve #29267#30558
Coly010 merged 1 commit intomasterfrom
rspack/allow-typechecking-during-serve

Conversation

@Coly010
Copy link
Copy Markdown
Contributor

@Coly010 Coly010 commented Apr 1, 2025

Current Behavior

The NxRspackAppPlugin and NxWebpackAppPlugin will not provide typechecking if using TS Solution setup because it already has a typecheck target.
However, this means that typechecking will not be run during serve.

Expected Behavior

Allow typechecking to run during serve even with TS Solution setup

Related Issue(s)

Fixes #29267

@Coly010 Coly010 requested a review from a team as a code owner April 1, 2025 08:38
@Coly010 Coly010 requested a review from FrozenPandaz April 1, 2025 08:38
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 1, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Apr 1, 2025 2:03pm

@Coly010 Coly010 self-assigned this Apr 1, 2025
@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud Bot commented Apr 1, 2025

View your CI Pipeline Execution ↗ for commit 982465e.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 33m 6s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 18s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check --base=028b5... ✅ Succeeded 2s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 1s View ↗
nx documentation ✅ Succeeded 35s View ↗

☁️ Nx Cloud last updated this comment at 2025-04-01 14:40:20 UTC

Comment thread packages/rspack/src/plugins/utils/apply-base-config.ts
@Coly010 Coly010 changed the title fix(webpack,rspack): allow typechecking during serve #29267 fix(rspack): allow typechecking during serve #29267 Apr 1, 2025
@Coly010 Coly010 force-pushed the rspack/allow-typechecking-during-serve branch from 08c1734 to 982465e Compare April 1, 2025 14:01
@Coly010 Coly010 requested a review from leosvelperez April 1, 2025 14:31
@Coly010 Coly010 merged commit 2dbff35 into master Apr 2, 2025
12 checks passed
@Coly010 Coly010 deleted the rspack/allow-typechecking-during-serve branch April 2, 2025 08:26
jaysoo pushed a commit that referenced this pull request Apr 2, 2025
## Current Behavior
The `NxRspackAppPlugin` and `NxWebpackAppPlugin` will not provide
typechecking if using TS Solution setup because it already has a
typecheck target.
However, this means that typechecking will not be run during serve.

## Expected Behavior
Allow typechecking to run during serve even with TS Solution setup

## Related Issue(s)

Fixes #29267
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 8, 2025

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nx:rspack does not respect the skipTypeChecking options

2 participants