fix: Unblock dependency updates by replacing ncc with esbuild - #978
Merged
Conversation
ncc 0.44.1 crashes on TypeScript 7 and is effectively unmaintained; esbuild bundles without depending on the TS compiler API, with type checking moved to a dedicated tsc --noEmit step. execa v10 removed execaCommand, so both calls now use execa's file+args form. TypeScript majors are held at <7 in Renovate until typescript-eslint supports TS 7.
stoovon
approved these changes
Aug 3, 2026
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.
Replaces the unmaintained
@vercel/nccbundler with esbuild (plus a dedicatedtsc --noEmittypecheck step) and migrates the removedexecaCommandAPI toexeca, unblocking the stuck Renovate PRs.execaCommandwas removed in v10; both call sites now useexeca(file, args), which also avoids shell interpolation of the download URL.Cannot read properties of undefined (reading 'fileExists')). esbuild removes that dependency, but TS 7 is still blocked upstream: no releasedtypescript-eslintsupports it (Enhancement: Use TS 7 (tsgo / typescript-go) for type information typescript-eslint/typescript-eslint#10940), so Renovate now holdstypescriptat<7.Verified locally: lint, format, typecheck and build pass against both execa 9/TS 6 and execa 10/TS 7, and the rebuilt
dist/index.jsdownloads and runs the CloudQuery CLI end to end.