dirsql 0.4.124 → 0.4.125

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.
@@ -264,9 +264,20 @@ and declared tables reflect the server's index. The page does not use
264
264
 
265
265
  ```bash
266
266
  dirsql server --frontend
267
+ # Frontend at http://localhost:7117/
268
+ # Running at localhost:7117
267
269
  dirsql server --frontend -c .dirsql.toml
268
270
  ```
269
271
 
272
+ Every distribution embeds the same page and script in its binary, so
273
+ `npx dirsql server --frontend`, `uvx dirsql server --frontend`, and the
274
+ `cargo install`ed `dirsql server --frontend` serve the identical UI offline,
275
+ with no separate frontend runtime. In the page, a path-table query such as
276
+ `SELECT basename, size FROM './posts' ORDER BY basename` runs with or
277
+ without `-c`; a declared table such as `SELECT title, author FROM posts`
278
+ needs the config that declares it, passed with `-c`. The frontend stops like
279
+ the API-only server: `SIGINT` or `SIGTERM` exits `0`.
280
+
270
281
  The shell reads `GET /frontend/state`. When the index is ready it returns
271
282
  HTTP `200`:
272
283
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dirsql",
3
- "version": "0.4.124",
3
+ "version": "0.4.125",
4
4
  "description": "Ephemeral SQL index over a local directory",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/thekevinscott/dirsql",
@@ -221,10 +221,10 @@
221
221
  ]
222
222
  },
223
223
  "optionalDependencies": {
224
- "@dirsql/lib-linux-x64-gnu": "0.4.124",
225
- "@dirsql/lib-linux-arm64-gnu": "0.4.124",
226
- "@dirsql/lib-darwin-x64": "0.4.124",
227
- "@dirsql/lib-darwin-arm64": "0.4.124",
228
- "@dirsql/lib-win32-x64-msvc": "0.4.124"
224
+ "@dirsql/lib-linux-x64-gnu": "0.4.125",
225
+ "@dirsql/lib-linux-arm64-gnu": "0.4.125",
226
+ "@dirsql/lib-darwin-x64": "0.4.125",
227
+ "@dirsql/lib-darwin-arm64": "0.4.125",
228
+ "@dirsql/lib-win32-x64-msvc": "0.4.125"
229
229
  }
230
230
  }