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

feat(mkdist): fail build if mkdist errors in creating declarations #473

Merged
merged 1 commit into from
Dec 28, 2024

Conversation

danielroe
Copy link
Member

@danielroe danielroe commented Dec 28, 2024

This uses compiler error data from mkdist to respect failOnWarn from unbuild:

CleanShot 2024-12-28 at 22 45 48@2x

Note: TS is very forgiving and I had to set noEmitOnError: true to generate an error for testing. Normally TS errors like the one shown in the screenshot don't cause issues emitting declarations.

@danielroe danielroe added the enhancement New feature or request label Dec 28, 2024
@danielroe danielroe requested review from pi0 and Copilot December 28, 2024 22:46
@danielroe danielroe self-assigned this Dec 28, 2024

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@pi0 pi0 merged commit 1aaa0ae into main Dec 28, 2024
2 checks passed
@pi0 pi0 deleted the feat/mkdist-warn branch December 28, 2024 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants