@rpcajr/smart-graph-indexer 1.0.0 → 1.0.1
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/dist/watcher.js +7 -1
- package/package.json +1 -1
- package/src/watcher.ts +7 -1
package/dist/watcher.js
CHANGED
|
@@ -66,7 +66,13 @@ class GitAwareWatcher {
|
|
|
66
66
|
const gitignorePath = path.join(this.projectPath, '.gitignore');
|
|
67
67
|
this.ig = (0, ignore_1.default)();
|
|
68
68
|
// Always ignore standard node_modules and .git folders
|
|
69
|
-
this.ig.add([
|
|
69
|
+
this.ig.add([
|
|
70
|
+
'node_modules', '.git', 'dist', '.graph-indexer',
|
|
71
|
+
'bin', 'obj', 'packages', '.vs', '.idea', // C# & IDEs
|
|
72
|
+
'target', 'build', 'out', '.gradle', // Java & Rust
|
|
73
|
+
'venv', '.venv', 'env', '__pycache__', '.pytest_cache', // Python
|
|
74
|
+
'.next', '.nuxt', '.cache', '.vite' // Web Frameworks
|
|
75
|
+
]);
|
|
70
76
|
if (fs.existsSync(gitignorePath)) {
|
|
71
77
|
try {
|
|
72
78
|
const content = fs.readFileSync(gitignorePath, 'utf-8');
|
package/package.json
CHANGED
package/src/watcher.ts
CHANGED
|
@@ -37,7 +37,13 @@ export class GitAwareWatcher {
|
|
|
37
37
|
const gitignorePath = path.join(this.projectPath, '.gitignore');
|
|
38
38
|
this.ig = ignore();
|
|
39
39
|
// Always ignore standard node_modules and .git folders
|
|
40
|
-
this.ig.add([
|
|
40
|
+
this.ig.add([
|
|
41
|
+
'node_modules', '.git', 'dist', '.graph-indexer',
|
|
42
|
+
'bin', 'obj', 'packages', '.vs', '.idea', // C# & IDEs
|
|
43
|
+
'target', 'build', 'out', '.gradle', // Java & Rust
|
|
44
|
+
'venv', '.venv', 'env', '__pycache__', '.pytest_cache', // Python
|
|
45
|
+
'.next', '.nuxt', '.cache', '.vite' // Web Frameworks
|
|
46
|
+
]);
|
|
41
47
|
|
|
42
48
|
if (fs.existsSync(gitignorePath)) {
|
|
43
49
|
try {
|