[build-utils] Start extracting collect-build-result#15726
Conversation
🦋 Changeset detectedLatest commit: ac2c07a The changes in this PR will be included in the next version bump. This PR includes changesets to release 16 packages
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 |
|
Low Risk — New utility exports + tests for shared build-result helpers and hash functions.
Assessed at ac2c07a. |
📦 CLI Tarball ReadyThe Vercel CLI tarball for this PR is now available! Quick TestYou can test this PR's CLI directly by running: npx https://vercel-iuj8plnc2.vercel.sh/tarballs/vercel.tgz --helpUse in vercel.jsonTo use this CLI version in your project builds, add to your {
"build": {
"env": {
"VERCEL_CLI_VERSION": "vercel@https://vercel-iuj8plnc2.vercel.sh/tarballs/vercel.tgz"
}
}
}Python Runtime WheelA Python Workers WheelA |
🧪 Unit Test StrategyComparing: Strategy: Code changed outside of a package - running all unit tests Affected packages - 40 (100%)
Results
This comment is automatically generated based on the affected testing strategy |
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @vercel/build-utils@13.12.0 ### Minor Changes - Add hash utilities (`streamToDigestAsync`, `sha256`, `md5`) and build result helpers (`getBuildResultMetadata`, `getLambdaByOutputPath`, `isRouteMiddleware`, `getPrerenderChain`, `streamWithExtendedPayload`) for shared use. ([#15726](#15726)) ## @vercel/backends@0.0.53 ### Patch Changes - Fix crash when a workspace dependency cannot be resolved by rolldown ([#15667](#15667)) - Updated dependencies \[[`3427149c3751192b54bb4fad9d3b50f171a28666`](3427149)]: - @vercel/build-utils@13.12.0 ## @vercel/cervel@0.0.40 ### Patch Changes - Updated dependencies \[[`9a7d4c509f56b5efdfc8b9e72e76fa69fc21e545`](9a7d4c5)]: - @vercel/backends@0.0.53 ## vercel@50.37.2 ### Patch Changes - Fix `vercel flags` environment details output to show weighted split variants as normalized percentages in rule and default summaries. ([#15659](#15659)) - Updated dependencies \[[`3427149c3751192b54bb4fad9d3b50f171a28666`](3427149), [`9a7d4c509f56b5efdfc8b9e72e76fa69fc21e545`](9a7d4c5)]: - @vercel/build-utils@13.12.0 - @vercel/backends@0.0.53 - @vercel/elysia@0.1.55 - @vercel/express@0.1.65 - @vercel/fastify@0.1.58 - @vercel/go@3.4.6 - @vercel/h3@0.1.64 - @vercel/hono@0.2.58 - @vercel/hydrogen@1.3.6 - @vercel/koa@0.1.38 - @vercel/nestjs@0.2.59 - @vercel/next@4.16.3 - @vercel/node@5.6.22 - @vercel/python@6.28.0 - @vercel/redwood@2.4.12 - @vercel/remix-builder@5.7.2 - @vercel/ruby@2.3.2 - @vercel/rust@1.0.5 - @vercel/static-build@2.9.6 ## @vercel/client@17.2.65 ### Patch Changes - Updated dependencies \[[`3427149c3751192b54bb4fad9d3b50f171a28666`](3427149)]: - @vercel/build-utils@13.12.0 ## @vercel/elysia@0.1.55 ### Patch Changes - Updated dependencies \[]: - @vercel/node@5.6.22 ## @vercel/express@0.1.65 ### Patch Changes - Updated dependencies \[]: - @vercel/node@5.6.22 - @vercel/cervel@0.0.40 ## @vercel/fastify@0.1.58 ### Patch Changes - Updated dependencies \[]: - @vercel/node@5.6.22 ## @vercel/fs-detectors@5.12.2 ### Patch Changes - Updated dependencies \[[`3427149c3751192b54bb4fad9d3b50f171a28666`](3427149)]: - @vercel/build-utils@13.12.0 ## @vercel/gatsby-plugin-vercel-builder@2.1.6 ### Patch Changes - Updated dependencies \[[`3427149c3751192b54bb4fad9d3b50f171a28666`](3427149)]: - @vercel/build-utils@13.12.0 ## @vercel/h3@0.1.64 ### Patch Changes - Updated dependencies \[]: - @vercel/node@5.6.22 ## @vercel/hono@0.2.58 ### Patch Changes - Updated dependencies \[]: - @vercel/node@5.6.22 ## @vercel/koa@0.1.38 ### Patch Changes - Updated dependencies \[]: - @vercel/node@5.6.22 ## @vercel/nestjs@0.2.59 ### Patch Changes - Updated dependencies \[]: - @vercel/node@5.6.22 ## @vercel/node@5.6.22 ### Patch Changes - Updated dependencies \[[`3427149c3751192b54bb4fad9d3b50f171a28666`](3427149)]: - @vercel/build-utils@13.12.0 ## @vercel/static-build@2.9.6 ### Patch Changes - Updated dependencies \[]: - @vercel/gatsby-plugin-vercel-builder@2.1.6 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Similar to #15712, we're starting to extract
collect-build-resulthere inbuild-utilsso it can be used invercel/vercelandvercel/api.This code has been moved without changes.