MCPcopy Create free account
hub / github.com/arktypeio/arktype / createProject

Function createProject

ark/repo/jsdocGen.ts:245–255  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

243}
244
245const createProject = () => {
246 const project = new Project()
247
248 assertBuildDirExists(typeBuildDir)
249 assertBuildDirExists(schemaBuildDir)
250
251 project.addSourceFilesAtPaths(typeBuildGlob)
252 project.addSourceFilesAtPaths(schemaBuildGlob)
253
254 return project
255}
256
257const assertBuildDirExists = (path: string) => {
258 if (!existsSync(path)) {

Callers 1

jsDocGenFunction · 0.85

Calls 1

assertBuildDirExistsFunction · 0.85

Tested by

no test coverage detected