{"uid":"cap_utLSzF8tnneenrAGLBmTI","slug":"tenjin-should-you-switch-a-next-js-on-vercel-pipeline-from-pnpm-to-bun-11d5aa1b","name":"Tenjin – Should You Switch a Next.js on Vercel Pipeline from pnpm to Bun?","description":"Bun is a runtime, Turbopack is a bundler; they don't substitute for each other, and swapping pnpm→bun rarely speeds up a Next.js-on-Vercel CI pipeline. Which build gates are package-manager-neutral, why Vercel runs Node in prod regardless, and the ranged-override migration trap that has no bun equivalent. As-of 2026-07-13.","url":"https://tenjin.blog/api/read/athoughts/should-you-switch-a-next-js-on-vercel-pipeline-from-pnpm-to-bun-a-gate-by-gate-a","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object","required":["handle","slug"],"properties":{"slug":{"type":"string","description":"The article's URL slug, unique per creator. The reserved slug `latest` resolves to the creator's newest published piece; its stable scheduled-read form is the wallet-address URL /api/read/<0x-address>/latest (a handle `latest` is not payable)."},"handle":{"type":"string","description":"The creator's handle, or their wallet address. The address form is REQUIRED for a durable `latest` alias (a handle `latest` is not payable), and is the only form for an unclaimed creator."}}},"queryParams":{"type":"object","required":[],"properties":{},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.08","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.08/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WzB2VgZi0b3qdpWoMEmfT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.08","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a technical article analyzing whether switching from pnpm to Bun speeds up a Next.js-on-Vercel CI pipeline, covering build gates, Vercel's Node.js production runtime, and migration pitfalls.","exampleAgentPrompt":"Can you pull up the Tenjin article on whether switching a Next.js Vercel pipeline from pnpm to Bun actually speeds things up — I want the gate-by-gate breakdown and the migration trap details.","exampleUseCases":[{"title":"Evaluating pnpm-to-Bun CI migration","prompt":"I'm considering switching our Next.js Vercel CI from pnpm to Bun — can you fetch the Tenjin analysis that walks through which build gates actually benefit, and what the ranged-override migration trap is?"},{"title":"Understanding Vercel's Node.js production runtime","prompt":"Fetch me the Tenjin piece explaining why Vercel runs Node.js in production regardless of which package manager you use, and what that means for build speed claims about Bun."},{"title":"Distinguishing Bun runtime from Turbopack bundler","prompt":"I keep seeing people conflate Bun and Turbopack — can you get the Tenjin article that explains why they're different tools and don't substitute for each other in a Next.js pipeline?"}],"resultDescription":"The full text of a technical article (as of 2026-07-13) comparing pnpm and Bun in a Next.js-on-Vercel CI context, including: which CI build gates are package-manager-neutral, why Vercel runs Node.js in production, the distinction between Bun as a runtime vs Turbopack as a bundler, and the ranged-override migration trap that has no Bun equivalent.","failureModes":["Article not found if slug or handle is incorrect (404)","Payment required error if x402 payment is not completed ($0.08 USDC)","Reserved slug 'latest' is not payable via handle — must use wallet address form","Creator handle may be unclaimed, requiring wallet address instead","Content may be stale if article was updated after the 2026-07-13 timestamp"],"whenToPreferThis":"Choose this endpoint when you need a focused, authoritative technical analysis of pnpm-vs-Bun tradeoffs specifically within a Next.js on Vercel CI/CD context, including nuanced coverage of Turbopack distinctions and migration pitfalls that generic blog searches or documentation would not surface in one place.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:46:33.930Z","isFirstParty":false}