mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-24 22:48:06 +00:00
4a2578d18d
* build(deps): update dependency zod to v4 | datasource | package | from | to | | ---------- | ------- | ------- | ----- | | npm | zod | 3.25.76 | 4.3.6 | * fix: zod migration --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
16 lines
381 B
TypeScript
16 lines
381 B
TypeScript
import { z } from 'zod/v3';
|
|
import { Jsonc, LooseRecord } from '../../../util/schema-utils/index.ts';
|
|
|
|
export const DevContainerFile = Jsonc.pipe(
|
|
z.object({
|
|
image: z.string().optional(),
|
|
features: LooseRecord(
|
|
z.object({
|
|
version: z.string().optional(),
|
|
}),
|
|
).optional(),
|
|
}),
|
|
);
|
|
|
|
export type DevContainerFile = z.infer<typeof DevContainerFile>;
|