@vercel/build-utils 13.15.0 → 13.16.0
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 +10 -0
- package/dist/collect-build-result/file-to-build-output-file.d.ts +26 -0
- package/dist/collect-build-result/file-to-build-output-file.js +54 -0
- package/dist/collect-build-result/get-content-type.d.ts +1 -0
- package/dist/collect-build-result/get-content-type.js +45 -0
- package/dist/collect-build-result/prerender-to-build-output-file.d.ts +23 -0
- package/dist/collect-build-result/prerender-to-build-output-file.js +85 -0
- package/dist/collect-build-result/validate-prerender.d.ts +8 -0
- package/dist/collect-build-result/validate-prerender.js +32 -0
- package/dist/collect-build-result/validate-regular-file.d.ts +9 -0
- package/dist/collect-build-result/validate-regular-file.js +42 -0
- package/dist/deserialize/deserialize-edge-function.d.ts +5 -0
- package/dist/deserialize/deserialize-edge-function.js +47 -0
- package/dist/deserialize/deserialize-lambda.d.ts +22 -0
- package/dist/deserialize/deserialize-lambda.js +56 -0
- package/dist/deserialize/serialized-types.d.ts +28 -0
- package/dist/deserialize/serialized-types.js +16 -0
- package/dist/framework-helpers.d.ts +1 -1
- package/dist/framework-helpers.js +2 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.js +8547 -17
- package/dist/types.d.ts +7 -1
- package/package.json +3 -1
package/dist/types.d.ts
CHANGED
|
@@ -671,7 +671,13 @@ export interface ServiceMount {
|
|
|
671
671
|
export interface ExperimentalServiceConfig {
|
|
672
672
|
type?: ServiceType;
|
|
673
673
|
/**
|
|
674
|
-
*
|
|
674
|
+
* Path to the service's root directory relative to the project root.
|
|
675
|
+
* Should contain a manifest file (package.json, pyproject.toml, etc.).
|
|
676
|
+
* Defaults to ".".
|
|
677
|
+
*/
|
|
678
|
+
root?: string;
|
|
679
|
+
/**
|
|
680
|
+
* Service entrypoint, relative to the service root directory.
|
|
675
681
|
* Can be either a file path (runtime entrypoint) or a directory path
|
|
676
682
|
* (service workspace for framework-based services).
|
|
677
683
|
* @example "apps/web", "services/api/src/index.ts", "services/fastapi/main.py"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/build-utils",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.16.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.js",
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"@types/glob": "7.2.0",
|
|
27
27
|
"@types/jest": "27.4.1",
|
|
28
28
|
"@types/js-yaml": "3.12.1",
|
|
29
|
+
"@types/mime-types": "2.1.0",
|
|
29
30
|
"@types/minimatch": "^5.1.2",
|
|
30
31
|
"@types/ms": "0.7.31",
|
|
31
32
|
"@types/multistream": "2.1.1",
|
|
@@ -45,6 +46,7 @@
|
|
|
45
46
|
"into-stream": "5.0.0",
|
|
46
47
|
"jest-junit": "16.0.0",
|
|
47
48
|
"js-yaml": "3.13.1",
|
|
49
|
+
"mime-types": "2.1.28",
|
|
48
50
|
"minimatch": "3.1.2",
|
|
49
51
|
"ms": "2.1.3",
|
|
50
52
|
"multistream": "2.1.1",
|