-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsrcpack.config.ts
More file actions
31 lines (30 loc) · 951 Bytes
/
srcpack.config.ts
File metadata and controls
31 lines (30 loc) · 951 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/**
* Srcpack Configuration
*
* Bundles source code into LLM-optimized context files (.srcpack/*.txt).
* Each bundle creates a single file with an index header and file contents.
*
* Usage:
* bun srcpack # Generate all bundles
* bun srcpack src # Generate specific bundle
*
* @see https://kriasoft.com/srcpack/
*/
import { defineConfig } from "srcpack";
export default defineConfig({
outDir: ".srcpack",
bundles: {
// Core library: types, implementation, and project context
src: ["src/**/*", "README.md", "CLAUDE.md", "+CLAUDE.local.md"],
// HTML templates for OAuth callback pages (success/error)
templates: "templates/**/*",
// Unit and integration tests
test: "test/**/*",
// Build and dev scripts
scripts: "scripts/**/*",
// VitePress documentation site
docs: "docs/**/*",
// Usage examples (GitHub, Notion OAuth demos)
examples: "examples/**/*",
},
});