@vercel/build-utils 13.2.17 → 13.3.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/types.d.ts +29 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @vercel/build-utils
|
|
2
2
|
|
|
3
|
+
## 13.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Add multi-service support for `vercel dev`. When `VERCEL_USE_EXPERIMENTAL_SERVICES=1` is set, the CLI auto-detects different multi-service layouts and orchestrates dev servers for each service through a single proxy server. ([#14805](https://github.com/vercel/vercel/pull/14805))
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [services] add `services` to `config.json` ([#14847](https://github.com/vercel/vercel/pull/14847))
|
|
12
|
+
|
|
3
13
|
## 13.2.17
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
+
/// <reference types="node" />
|
|
2
3
|
import type FileRef from './file-ref';
|
|
3
4
|
import type FileFsRef from './file-fs-ref';
|
|
4
5
|
import type FileBlob from './file-blob';
|
|
@@ -173,6 +174,18 @@ export type StartDevServerOptions = BuildOptions & {
|
|
|
173
174
|
* Directory to serve static files from in dev mode
|
|
174
175
|
*/
|
|
175
176
|
publicDir?: string;
|
|
177
|
+
/**
|
|
178
|
+
* Optional callback for stdout output from the dev server process.
|
|
179
|
+
* If provided, the builder should forward stdout to this callback
|
|
180
|
+
* instead of (or in addition to) the default behavior.
|
|
181
|
+
*/
|
|
182
|
+
onStdout?: (data: Buffer) => void;
|
|
183
|
+
/**
|
|
184
|
+
* Optional callback for stderr output from the dev server process.
|
|
185
|
+
* If provided, the builder should forward stderr to this callback
|
|
186
|
+
* instead of (or in addition to) the default behavior.
|
|
187
|
+
*/
|
|
188
|
+
onStderr?: (data: Buffer) => void;
|
|
176
189
|
};
|
|
177
190
|
export interface StartDevServerSuccess {
|
|
178
191
|
/**
|
|
@@ -445,6 +458,22 @@ export interface Cron {
|
|
|
445
458
|
path: string;
|
|
446
459
|
schedule: string;
|
|
447
460
|
}
|
|
461
|
+
export interface Service {
|
|
462
|
+
name: string;
|
|
463
|
+
type: ServiceType;
|
|
464
|
+
group?: string;
|
|
465
|
+
workspace: string;
|
|
466
|
+
entrypoint?: string;
|
|
467
|
+
framework?: string;
|
|
468
|
+
builder: Builder;
|
|
469
|
+
runtime?: string;
|
|
470
|
+
buildCommand?: string;
|
|
471
|
+
installCommand?: string;
|
|
472
|
+
routePrefix?: string;
|
|
473
|
+
schedule?: string;
|
|
474
|
+
topic?: string;
|
|
475
|
+
consumer?: string;
|
|
476
|
+
}
|
|
448
477
|
/** The framework which created the function */
|
|
449
478
|
export interface FunctionFramework {
|
|
450
479
|
slug: string;
|