-
Notifications
You must be signed in to change notification settings - Fork 63
Closed
Labels
lang/tsRelated to TypeScript language interopRelated to TypeScript language interopscope/tsconfigRelated to interop with tsconfig settings/filesRelated to interop with tsconfig settings/filestype/improveSomething existing is made better, does not affect the interface (example: better error message)Something existing is made better, does not affect the interface (example: better error message)
Description
Perceived Problem
- Nexus warns when noEmit tsconfig option is used
- It usually represents user error Clear errors/warnings when noEmit is enabled #702
- Sometimes it doesn't Be usable with nextjs #648
- when it doesn't, the warning is at best, annoying
Ideas / Proposed Solution(s)
- When the user knows they definitely warn noEmit, then, some ideas:
- be able to disable the warning
- use new explicit command like
nexus check
(keepnexus build
warning, telling user to usenexus check
if that was there intent) - pass flag to
build
like--no-emit
(the doubling up being like a confirmation step that makes the warning go away)
Metadata
Metadata
Assignees
Labels
lang/tsRelated to TypeScript language interopRelated to TypeScript language interopscope/tsconfigRelated to interop with tsconfig settings/filesRelated to interop with tsconfig settings/filestype/improveSomething existing is made better, does not affect the interface (example: better error message)Something existing is made better, does not affect the interface (example: better error message)