UNPKG

@quicksand-cloud/specs

Version:

QuickSand Cloud Specs CLI 工具 - 开发规范配置管理命令行工具,提供项目初始化、配置更新和验证功能

31 lines (28 loc) 884 B
export { S as Specs, c as cSpell, a as commitlint, e as editorconfig, g as git, h as husky, l as lintStaged, o as oxlint, p as prettier, t as typescript } from './shared/specs.CwFHFXDN.mjs'; import { z, toJSONSchema } from 'zod'; import 'node:path'; import '@clack/prompts'; import 'deepmerge-ts'; import 'fs-extra'; const specsConfigSchema = z.object({ oxlint: z.object({ enabled: z.boolean().default(true) }), prettier: z.object({ enabled: z.boolean().default(true) }), commitlint: z.object({ enabled: z.boolean().default(true) }), lintStaged: z.object({ enabled: z.boolean().default(true) }), husky: z.object({ enabled: z.boolean().default(true) }), typescript: z.object({ enabled: z.boolean().default(true) }) }); const specsConfigJsonSchema = toJSONSchema(specsConfigSchema); export { specsConfigJsonSchema, specsConfigSchema };