dirsql 0.3.92 → 0.3.93
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.
|
@@ -23,7 +23,7 @@ glob = "books/*.json"
|
|
|
23
23
|
on-file = "jq -c '[{title, author, year}]' {path}"
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
`{path}` is the matched file
|
|
26
|
+
`{path}` is the matched file's absolute path — one of the
|
|
27
27
|
placeholders defined by the
|
|
28
28
|
[command hook contract](../reference/hooks.md#on-file), which also covers
|
|
29
29
|
the argv splitting, working directory, stdout protocol, and timeout shared
|
package/docs/reference/hooks.md
CHANGED
|
@@ -101,8 +101,8 @@ row-mapping rules.
|
|
|
101
101
|
|
|
102
102
|
| Placeholder | Value |
|
|
103
103
|
|---|---|
|
|
104
|
-
| `{path}` | The matched file's
|
|
105
|
-
| `{root}` | The index root directory. |
|
|
104
|
+
| `{path}` | The matched file's **absolute** path. `on-file = "extract.py {path}"` — self-sufficient from any working directory, so the command resolves it even when the config lives outside the index. |
|
|
105
|
+
| `{root}` | The index root directory. Derive a root-relative path with `relpath({path}, {root})`. |
|
|
106
106
|
|
|
107
107
|
### `pre-query`
|
|
108
108
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dirsql",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.93",
|
|
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.93",
|
|
216
|
+
"@dirsql/lib-linux-arm64-gnu": "0.3.93",
|
|
217
|
+
"@dirsql/lib-darwin-x64": "0.3.93",
|
|
218
|
+
"@dirsql/lib-darwin-arm64": "0.3.93",
|
|
219
|
+
"@dirsql/lib-win32-x64-msvc": "0.3.93",
|
|
220
|
+
"@dirsql/cli-linux-x64-gnu": "0.3.93",
|
|
221
|
+
"@dirsql/cli-linux-arm64-gnu": "0.3.93",
|
|
222
|
+
"@dirsql/cli-darwin-x64": "0.3.93",
|
|
223
|
+
"@dirsql/cli-darwin-arm64": "0.3.93",
|
|
224
|
+
"@dirsql/cli-win32-x64-msvc": "0.3.93"
|
|
225
225
|
}
|
|
226
226
|
}
|