@vercel/build-utils 8.3.0 → 8.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @vercel/build-utils
2
2
 
3
+ ## 8.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Add build callback handling ([#11807](https://github.com/vercel/vercel/pull/11807))
8
+
3
9
  ## 8.3.0
4
10
 
5
11
  ### Minor Changes
package/dist/types.d.ts CHANGED
@@ -96,6 +96,12 @@ export interface BuildOptions {
96
96
  * on the build environment.
97
97
  */
98
98
  meta?: Meta;
99
+ /**
100
+ * A callback to be invoked by a builder after a project's
101
+ * build command has been run but before the outputs have been
102
+ * fully processed
103
+ */
104
+ buildCallback?: (opts: Omit<BuildOptions, 'buildCallback'>) => Promise<void>;
99
105
  }
100
106
  export interface PrepareCacheOptions {
101
107
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/build-utils",
3
- "version": "8.3.0",
3
+ "version": "8.3.1",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.js",