dirsql 0.3.89 → 0.3.90
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/config.md +5 -1
- package/package.json +11 -11
package/docs/reference/config.md
CHANGED
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
`.dirsql.toml` is a TOML file with one optional `[dirsql]` section, zero or
|
|
4
4
|
more `[[dirsql.extension]]` entries, and zero or more `[[table]]` entries.
|
|
5
5
|
An empty file is valid. A missing `[dirsql]` section behaves as an
|
|
6
|
-
all-defaults one. Unknown keys are
|
|
6
|
+
all-defaults one. Unknown keys are a parse error at every level (top level,
|
|
7
|
+
`[dirsql]`, `[[table]]`, `[[dirsql.extension]]`) — a typo or a removed key
|
|
8
|
+
fails loudly, naming the offending key, rather than silently no-opping.
|
|
7
9
|
|
|
8
10
|
The [CLI](./cli.md) loads `./.dirsql.toml` by default (`--config <path>`
|
|
9
11
|
overrides). The [SDKs](./sdk.md) load a config via the `config` constructor
|
|
@@ -136,6 +138,8 @@ Loading fails (the CLI enters [degraded mode](./cli.md#degraded-mode); the
|
|
|
136
138
|
SDKs raise/reject) when:
|
|
137
139
|
|
|
138
140
|
- The TOML is malformed.
|
|
141
|
+
- Any table contains an unknown key (top level, `[dirsql]`, `[[table]]`, or
|
|
142
|
+
`[[dirsql.extension]]`). The error names the offending key.
|
|
139
143
|
- A `[[table]]` entry omits `ddl` or `glob`.
|
|
140
144
|
- A `[[dirsql.extension]]` entry omits `path`, or `path` is empty.
|
|
141
145
|
- `on-file`, `pre-query`, or `post-query` is present but empty/whitespace.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dirsql",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.90",
|
|
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.90",
|
|
216
|
+
"@dirsql/lib-linux-arm64-gnu": "0.3.90",
|
|
217
|
+
"@dirsql/lib-darwin-x64": "0.3.90",
|
|
218
|
+
"@dirsql/lib-darwin-arm64": "0.3.90",
|
|
219
|
+
"@dirsql/lib-win32-x64-msvc": "0.3.90",
|
|
220
|
+
"@dirsql/cli-linux-x64-gnu": "0.3.90",
|
|
221
|
+
"@dirsql/cli-linux-arm64-gnu": "0.3.90",
|
|
222
|
+
"@dirsql/cli-darwin-x64": "0.3.90",
|
|
223
|
+
"@dirsql/cli-darwin-arm64": "0.3.90",
|
|
224
|
+
"@dirsql/cli-win32-x64-msvc": "0.3.90"
|
|
225
225
|
}
|
|
226
226
|
}
|