dirsql 0.3.104 → 0.3.106
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/docs/reference/sdk.md +5 -5
- package/package.json +11 -11
package/docs/reference/sdk.md
CHANGED
|
@@ -54,7 +54,7 @@ DirSQL(
|
|
|
54
54
|
*,
|
|
55
55
|
tables: list[Table] | None = None,
|
|
56
56
|
ignore: list[str] | None = None,
|
|
57
|
-
config: str | None = None,
|
|
57
|
+
config: str | list[str] | None = None,
|
|
58
58
|
persist: bool = False,
|
|
59
59
|
persist_path: str | None = None,
|
|
60
60
|
extensions: list[dict] | None = None, # [{ "path": str, "entrypoint"?: str }]
|
|
@@ -108,13 +108,13 @@ never sets the root.
|
|
|
108
108
|
entries are appended after any programmatic `tables`; its `ignore`
|
|
109
109
|
patterns and `[[dirsql.extension]]` entries are appended likewise. The
|
|
110
110
|
config file does **not** set the index root: with no explicit `root`, the
|
|
111
|
-
index roots at the process cwd. **Multiple configs merge in order**
|
|
112
|
-
**
|
|
111
|
+
index roots at the process cwd. **Multiple configs merge in order** on
|
|
112
|
+
every SDK — **Python** `config` accepts a `str` or a `list[str]`, the
|
|
113
|
+
**Rust** builder's `.config()` is repeatable (call it once per file), and
|
|
113
114
|
**TypeScript** `config` accepts a `string` or a `string[]`; the configs
|
|
114
115
|
merge in call order (`[[table]]` / `ignore` / `[[dirsql.extension]]`
|
|
115
116
|
accumulate; a duplicate table name across configs errors), mirroring the
|
|
116
|
-
CLI's repeatable [`-c/--config`](./cli.md#flags).
|
|
117
|
-
single `config` path.
|
|
117
|
+
CLI's repeatable [`-c/--config`](./cli.md#flags).
|
|
118
118
|
- `persist` — Keep the SQLite index on disk between runs (default off:
|
|
119
119
|
ephemeral, rebuilt every startup). The cache lives at
|
|
120
120
|
`<root>/.dirsql/cache.db` by default; on restart, only files whose stat
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dirsql",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.106",
|
|
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.3.
|
|
216
|
-
"@dirsql/lib-linux-arm64-gnu": "0.3.
|
|
217
|
-
"@dirsql/lib-darwin-x64": "0.3.
|
|
218
|
-
"@dirsql/lib-darwin-arm64": "0.3.
|
|
219
|
-
"@dirsql/lib-win32-x64-msvc": "0.3.
|
|
220
|
-
"@dirsql/cli-linux-x64-gnu": "0.3.
|
|
221
|
-
"@dirsql/cli-linux-arm64-gnu": "0.3.
|
|
222
|
-
"@dirsql/cli-darwin-x64": "0.3.
|
|
223
|
-
"@dirsql/cli-darwin-arm64": "0.3.
|
|
224
|
-
"@dirsql/cli-win32-x64-msvc": "0.3.
|
|
215
|
+
"@dirsql/lib-linux-x64-gnu": "0.3.106",
|
|
216
|
+
"@dirsql/lib-linux-arm64-gnu": "0.3.106",
|
|
217
|
+
"@dirsql/lib-darwin-x64": "0.3.106",
|
|
218
|
+
"@dirsql/lib-darwin-arm64": "0.3.106",
|
|
219
|
+
"@dirsql/lib-win32-x64-msvc": "0.3.106",
|
|
220
|
+
"@dirsql/cli-linux-x64-gnu": "0.3.106",
|
|
221
|
+
"@dirsql/cli-linux-arm64-gnu": "0.3.106",
|
|
222
|
+
"@dirsql/cli-darwin-x64": "0.3.106",
|
|
223
|
+
"@dirsql/cli-darwin-arm64": "0.3.106",
|
|
224
|
+
"@dirsql/cli-win32-x64-msvc": "0.3.106"
|
|
225
225
|
}
|
|
226
226
|
}
|