@vercel/build-utils 15.0.0 → 15.0.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 +6 -0
- package/dist/daemons.d.ts +20 -0
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/daemons.d.ts
CHANGED
|
@@ -8,6 +8,24 @@ export interface DaemonResources {
|
|
|
8
8
|
memory: '1Gi' | '2Gi' | '4Gi' | '8Gi';
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
|
+
/** A Kubernetes-style HTTP liveness probe. */
|
|
12
|
+
export interface DaemonLivenessProbe {
|
|
13
|
+
httpGet: {
|
|
14
|
+
path?: string;
|
|
15
|
+
port: number;
|
|
16
|
+
host?: string;
|
|
17
|
+
scheme?: 'HTTP' | 'HTTPS';
|
|
18
|
+
httpHeaders?: Array<{
|
|
19
|
+
name: string;
|
|
20
|
+
value: string;
|
|
21
|
+
}>;
|
|
22
|
+
};
|
|
23
|
+
initialDelaySeconds?: number;
|
|
24
|
+
periodSeconds?: number;
|
|
25
|
+
timeoutSeconds?: number;
|
|
26
|
+
successThreshold?: number;
|
|
27
|
+
failureThreshold?: number;
|
|
28
|
+
}
|
|
11
29
|
/** A `vercel.json#daemons` entry. */
|
|
12
30
|
export interface DaemonConfig {
|
|
13
31
|
root: string;
|
|
@@ -18,6 +36,7 @@ export interface DaemonConfig {
|
|
|
18
36
|
replicas?: DaemonInstances;
|
|
19
37
|
resources?: DaemonResources;
|
|
20
38
|
terminationGracePeriodSeconds?: number;
|
|
39
|
+
livenessProbe?: DaemonLivenessProbe;
|
|
21
40
|
/** Bindings to services in the same deployment. */
|
|
22
41
|
bindings?: Array<Required<ServiceBinding>>;
|
|
23
42
|
}
|
|
@@ -37,6 +56,7 @@ export interface DaemonOutput {
|
|
|
37
56
|
instances: DaemonInstances;
|
|
38
57
|
resources?: DaemonResources;
|
|
39
58
|
terminationGracePeriodSeconds?: number;
|
|
59
|
+
livenessProbe?: DaemonLivenessProbe;
|
|
40
60
|
bindings?: Array<Required<ServiceBinding>>;
|
|
41
61
|
}
|
|
42
62
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -53,6 +53,6 @@ export { isNodeEntrypoint } from './node-entrypoint';
|
|
|
53
53
|
export * from './service-path-utils';
|
|
54
54
|
export * from './schedule-path-utils';
|
|
55
55
|
export * from './schedules';
|
|
56
|
-
export { DAEMON_NAME_PATTERN, getDaemonImageRepository, getDaemonNames, type DaemonConfig, type DaemonOutput, type DaemonInstances, type DaemonReplicas, type DaemonResources, type Daemons, } from './daemons';
|
|
56
|
+
export { DAEMON_NAME_PATTERN, getDaemonImageRepository, getDaemonNames, type DaemonConfig, type DaemonOutput, type DaemonInstances, type DaemonLivenessProbe, type DaemonReplicas, type DaemonResources, type Daemons, } from './daemons';
|
|
57
57
|
export { streamToDigestAsync, sha256, type FileDigest, } from './fs/stream-to-digest-async';
|
|
58
58
|
export { EMPTY_DISCOVERY, NAVIGATION_ACCEPT_RE, promoteStaticFiles, staticBundleExclusions, staticDirectoryRedirects, staticFallbackRoutes, staticShadowRoutes, type ShadowRoute, type StaticBundleExclusions, type StaticFallback, type StaticDiscovery, type StaticMount, type StaticPromotionOptions, type StaticPromotionResult, } from './static-files';
|