feat: add option to ignore build errors #2139#2149
Open
DipakHalkude wants to merge 2 commits intot3-oss:mainfrom
Open
feat: add option to ignore build errors #2139#2149DipakHalkude wants to merge 2 commits intot3-oss:mainfrom
DipakHalkude wants to merge 2 commits intot3-oss:mainfrom
Conversation
🦋 Changeset detectedLatest commit: 1ad644c The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Add interactive prompt for ignoring TypeScript/ESLint build errors - Add --ignoreBuildErrors CLI flag for CI usage - Conditionally update next.config.js with ignore options - Works for both App Router and Pages Router - Add changeset for minor version bump
Author
|
Hey maintainers! 👋 @c-ehrlich @juliusmarminge @nexxeln @t3dotgg Excited to share this new addition to create-t3-app! This PR brings a much-requested feature from issue #2139 - giving users control over build error handling. What's New✨ Smart Build Error Management
How It Works🚀 Flexible & Optional
When enabled, your Next.js config gets: // Peaceful development mode activated! 🕊️
typescript: { ignoreBuildErrors: true },
eslint: { ignoreDuringBuilds: true } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: Add option to ignore build errors #2139
Description
This PR adds a new configuration option that allows users to ignore TypeScript and ESLint build errors during the project creation process.
Changes
--ignoreBuildErrorsCLI flag for CI usagenext.config.jswith the appropriate settings when selectedConfiguration Added
When selected, adds to
next.config.js: