spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / mods / diff / hooks / classify / is-generated-file / generated-directories / generated-directories.ts
28 lines · 545 BRaw
1/**
2 * Path segments of build output, vendored code, caches and snapshots, the
3 * engine's excluded directories, matched against `/<path>`.
4 */
5export const GENERATED_DIRECTORIES = [
6 '/dist/',
7 '/build/',
8 '/out/',
9 '/output/',
10 '/node_modules/',
11 '/vendor/',
12 '/vendored/',
13 '/third_party/',
14 '/third-party/',
15 '/external/',
16 '/.next/',
17 '/.nuxt/',
18 '/.svelte-kit/',
19 '/coverage/',
20 '/__pycache__/',
21 '/.tox/',
22 '/venv/',
23 '/.venv/',
24 '/target/release/',
25 '/target/debug/',
26 '.generated/',
27 '/__snapshots__/',
28] as const