mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-27 15:58:48 +00:00
87088344a2
* feat: add support for smithy framework * docs: remove comment and exclude from schema validation * docs: use relativ link
16 lines
409 B
TypeScript
16 lines
409 B
TypeScript
import { z } from 'zod/v4';
|
|
import { Jsonc, LooseArray } from '../../../util/schema-utils/index.ts';
|
|
|
|
export const SmithyBuild = Jsonc.pipe(
|
|
z.object({
|
|
maven: z
|
|
.object({
|
|
dependencies: LooseArray(z.string()).optional(),
|
|
repositories: LooseArray(z.object({ url: z.string() })).optional(),
|
|
})
|
|
.optional(),
|
|
}),
|
|
);
|
|
|
|
export type SmithyBuild = z.infer<typeof SmithyBuild>;
|