Skip to content
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

fix(vite): return non-zero exit code for type declaration errors #163

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

lachlancollins
Copy link
Member

In #2342, noticed that type errors during build fail silently (also missed by tsc).

This PR adds the afterDiagnostic hook to throw a non-zero exit code if there are any "diagnostics" (type errors).

Copy link

pkg-pr-new bot commented Sep 16, 2024

pnpm add https://pkg.pr.new/@tanstack/config@163

commit: 10193fd

Copy link

nx-cloud bot commented Sep 16, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 10193fd. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

@lachlancollins lachlancollins merged commit ab8082b into main Sep 16, 2024
5 checks passed
@lachlancollins lachlancollins deleted the type-declaration-errors branch September 16, 2024 09:38
@KevinVandy
Copy link
Member

I was enjoying the previous behavior in the tanstack table alpha branch where there's still ton's of type errors. Will keep back on a previous config version for a while

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.

2 participants