MCPcopy Create free account
hub / github.com/Effect-TS/effect / includeAiDocs

Function includeAiDocs

scripts/copy-ai-docs.mjs:9–12  ·  view source on GitHub ↗
(source)

Source from the content-addressed store, hash-verified

7const packageFiles = ["AGENTS.md", "CLAUDE.md", "ai-docs/**/*"]
8
9const includeAiDocs = (source) => {
10 const [root] = Path.relative(aiDocsSource, source).split(Path.sep)
11 return root !== "dist" && root !== "node_modules"
12}
13
14for (const packageJsonPath of Glob.globSync("packages/{*,*/*}/package.json")) {
15 const packageJson = JSON.parse(Fs.readFileSync(packageJsonPath, "utf8"))

Callers

nothing calls this directly

Calls 1

splitMethod · 0.45

Tested by

no test coverage detected