Initial commit

This commit is contained in:
Devin Zuczek
2026-06-08 18:23:40 -04:00
commit 8e644a5c20
141 changed files with 21414 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
import { z } from 'zod'
export type Paths = z.infer<typeof Paths>
export const Paths = z.object({
cwd: z.string(),
root: z.string(),
workspace: z.string(),
})
export type Turbo = z.infer<typeof Turbo>
export const Turbo = z.object({
paths: Paths,
})
export type NewWorkerAnswers = z.infer<typeof NewWorkerAnswers>
export const NewWorkerAnswers = z.object({
name: z.string(),
turbo: Turbo,
})
export type NewPackageAnswers = z.infer<typeof NewPackageAnswers>
export const NewPackageAnswers = z.object({
name: z.string(),
turbo: Turbo,
usedInWorkers: z.boolean().optional(),
})
export type Answers = z.infer<typeof Answers>
export const Answers = z.union([NewWorkerAnswers, NewPackageAnswers])