releases.shpreview

create-cloudflare fixes unhandled error exit codes; pnpm builds approved

create-cloudflare@2.70.2

1 enhancement2 fixesThis release1 enhancementImprovements to existing features2 fixesBug fixesAI-tallied from the release notes

Patch Changes

  • #14193 88519f9 Thanks @petebacondarwin! - Fix create cloudflare exiting with code 0 even after an unhandled error

  • #14235 13abd5a Thanks @dependabot! - Update dependencies of "create-cloudflare"

    The following dependency versions have been updated:

    DependencyFromTo
    @tanstack/cli0.69.10.69.2
  • #14193 88519f9 Thanks @petebacondarwin! - Fix create cloudflare aborting with ERR_PNPM_IGNORED_BUILDS on pnpm 11

    pnpm 11 flipped strictDepBuilds to true by default, which makes the install fail when dependencies have unapproved build scripts. wrangler depends on workerd and esbuild, and (via miniflare) on sharp — all three need their postinstall scripts to produce platform binaries.

    C3 now writes or merges in a pnpm-workspace.yaml in the generated project that approves exactly those three packages. If other packages trigger this error, C3 also now interactively offers to retry with pnpm approve-builds <pkg>…

Fetched June 11, 2026