dirsql 0.4.8 → 0.4.10

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/core.d.ts CHANGED
@@ -8,7 +8,7 @@ export interface NativeDirSQL {
8
8
  close(): void;
9
9
  }
10
10
  export interface NativeDirSQLConstructor {
11
- openAsync(root: string | null, tables: TableDef[] | null, ignore: string[] | null, config: string[] | null, persist: boolean | null, persistPath: string | null, extensions: ExtensionSpec[] | null, suppressConfigExtensions: boolean | null): Promise<NativeDirSQL>;
11
+ openAsync(root: string | null, tables: TableDef[] | null, ignore: string[] | null, config: string[] | null, persist: boolean | null, persistPath: string | null, extensions: ExtensionSpec[] | null, suppressConfigExtensions: boolean | null, noIgnore: boolean | null): Promise<NativeDirSQL>;
12
12
  }
13
13
  export interface CoreModule {
14
14
  DirSQL: NativeDirSQLConstructor;
package/dist/dirsql.d.ts CHANGED
@@ -60,6 +60,12 @@ export interface DirSQLOptions {
60
60
  * installed package under `node_modules`.
61
61
  */
62
62
  extensions?: ExtensionSpec[];
63
+ /**
64
+ * Opt path-table scans out of their default `.gitignore` respect, restoring
65
+ * the gitignored files to scan results. The built-in floor (`node_modules`,
66
+ * `.git`) and any `ignore` patterns still apply.
67
+ */
68
+ noIgnore?: boolean;
63
69
  }
64
70
  /** A row-level event emitted by the file watcher. */
65
71
  export interface RowEvent {
package/dist/dirsql.js CHANGED
@@ -79,7 +79,7 @@ export class DirSQL {
79
79
  const merged = configExtensions !== null
80
80
  ? [...(extensions ?? []), ...configExtensions]
81
81
  : extensions;
82
- return Ctor.openAsync(options.root ?? null, options.tables ?? null, options.ignore ?? null, configPaths.length > 0 ? configPaths : null, options.persist ?? null, options.persistPath ?? null, merged, configExtensions !== null);
82
+ return Ctor.openAsync(options.root ?? null, options.tables ?? null, options.ignore ?? null, configPaths.length > 0 ? configPaths : null, options.persist ?? null, options.persistPath ?? null, merged, configExtensions !== null, options.noIgnore ?? null);
83
83
  })
84
84
  .then((inner) => {
85
85
  this._inner = inner;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dirsql",
3
- "version": "0.4.8",
3
+ "version": "0.4.10",
4
4
  "description": "Ephemeral SQL index over a local directory",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/thekevinscott/dirsql",
@@ -212,15 +212,15 @@
212
212
  ]
213
213
  },
214
214
  "optionalDependencies": {
215
- "@dirsql/lib-linux-x64-gnu": "0.4.8",
216
- "@dirsql/lib-linux-arm64-gnu": "0.4.8",
217
- "@dirsql/lib-darwin-x64": "0.4.8",
218
- "@dirsql/lib-darwin-arm64": "0.4.8",
219
- "@dirsql/lib-win32-x64-msvc": "0.4.8",
220
- "@dirsql/cli-linux-x64-gnu": "0.4.8",
221
- "@dirsql/cli-linux-arm64-gnu": "0.4.8",
222
- "@dirsql/cli-darwin-x64": "0.4.8",
223
- "@dirsql/cli-darwin-arm64": "0.4.8",
224
- "@dirsql/cli-win32-x64-msvc": "0.4.8"
215
+ "@dirsql/lib-linux-x64-gnu": "0.4.10",
216
+ "@dirsql/lib-linux-arm64-gnu": "0.4.10",
217
+ "@dirsql/lib-darwin-x64": "0.4.10",
218
+ "@dirsql/lib-darwin-arm64": "0.4.10",
219
+ "@dirsql/lib-win32-x64-msvc": "0.4.10",
220
+ "@dirsql/cli-linux-x64-gnu": "0.4.10",
221
+ "@dirsql/cli-linux-arm64-gnu": "0.4.10",
222
+ "@dirsql/cli-darwin-x64": "0.4.10",
223
+ "@dirsql/cli-darwin-arm64": "0.4.10",
224
+ "@dirsql/cli-win32-x64-msvc": "0.4.10"
225
225
  }
226
226
  }