srcpack 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Zero-config CLI for bundling code into LLM-optimized context files.
4
4
 
5
+ **Requirements:** Node.js 20+ or Bun
6
+
5
7
  ## Quick Start
6
8
 
7
9
  ```bash
@@ -58,9 +60,12 @@ Or add to `package.json`:
58
60
  // Simple glob
59
61
  "src/**/*"
60
62
 
61
- // Array with exclusions
63
+ // Array with exclusions (! prefix)
62
64
  ["src/**/*", "!src/**/*.test.ts"]
63
65
 
66
+ // Force-include gitignored files (+ prefix)
67
+ ["docs/**/*", "+docs/**/*.local.md"]
68
+
64
69
  // Full options
65
70
  {
66
71
  include: "src/**/*",
@@ -69,7 +74,7 @@ Or add to `package.json`:
69
74
  }
70
75
  ```
71
76
 
72
- Patterns follow glob syntax. Prefix with `!` to exclude. `.gitignore` patterns are respected automatically. Binary files are excluded.
77
+ Patterns follow glob syntax. Prefix with `!` to exclude, `+` to force-include (bypasses `.gitignore`). Binary files are excluded.
73
78
 
74
79
  ### Google Drive Upload
75
80
 
@@ -144,6 +149,20 @@ export default defineConfig({
144
149
  const config = await loadConfig();
145
150
  ```
146
151
 
152
+ ## LLM Context
153
+
154
+ - https://kriasoft.com/srcpack/llms.txt
155
+ - https://kriasoft.com/srcpack/llms-full.txt
156
+
157
+ ## Community
158
+
159
+ - [Discord](https://discord.com/invite/aG83xEb6RX) — Questions, feedback, and discussion
160
+ - [GitHub Issues](https://github.com/kriasoft/srcpack/issues) — Bug reports and feature requests
161
+
162
+ ## Backers
163
+
164
+ <a href="https://reactstarter.com/b/1"><img src="https://reactstarter.com/b/1.png" height="60" /></a>&nbsp;&nbsp;<a href="https://reactstarter.com/b/2"><img src="https://reactstarter.com/b/2.png" height="60" /></a>&nbsp;&nbsp;<a href="https://reactstarter.com/b/3"><img src="https://reactstarter.com/b/3.png" height="60" /></a>&nbsp;&nbsp;<a href="https://reactstarter.com/b/4"><img src="https://reactstarter.com/b/4.png" height="60" /></a>&nbsp;&nbsp;<a href="https://reactstarter.com/b/5"><img src="https://reactstarter.com/b/5.png" height="60" /></a>&nbsp;&nbsp;<a href="https://reactstarter.com/b/6"><img src="https://reactstarter.com/b/6.png" height="60" /></a>&nbsp;&nbsp;<a href="https://reactstarter.com/b/7"><img src="https://reactstarter.com/b/7.png" height="60" /></a>&nbsp;&nbsp;<a href="https://reactstarter.com/b/8"><img src="https://reactstarter.com/b/8.png" height="60" /></a>
165
+
147
166
  ## License
148
167
 
149
168
  MIT
package/dist/bundle.d.ts CHANGED
@@ -11,7 +11,9 @@ export interface BundleResult {
11
11
  }
12
12
  /**
13
13
  * Resolve bundle config to a list of file paths.
14
- * Respects .gitignore patterns in the working directory.
14
+ * - Regular patterns respect .gitignore
15
+ * - Force patterns (+prefix) bypass .gitignore
16
+ * - Exclude patterns (!prefix) filter both
15
17
  */
16
18
  export declare function resolvePatterns(config: BundleConfigInput, cwd: string): Promise<string[]>;
17
19
  /**
package/dist/cli.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- #!/usr/bin/env bun
1
+ #!/usr/bin/env node
2
2
  export {};