dirsql 0.3.30 → 0.3.32

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/README.md CHANGED
@@ -9,11 +9,9 @@ Also available as [`dirsql` on crates.io](https://crates.io/crates/dirsql) and [
9
9
  ## Installation
10
10
 
11
11
  ```bash
12
- pnpm add dirsql
12
+ npm add dirsql
13
13
  ```
14
14
 
15
- Prebuilt binaries ship for linux-x64, linux-arm64, darwin-x64, darwin-arm64, and win32-x64. npm / pnpm pick up the right one via `optionalDependencies` — no Rust toolchain required.
16
-
17
15
  ## Usage
18
16
 
19
17
  ```typescript
@@ -35,21 +33,6 @@ const rows = await db.query("SELECT * FROM users WHERE age > 25");
35
33
  console.log(rows);
36
34
  ```
37
35
 
38
- ## Building (from source)
39
-
40
- Building from source requires a Rust toolchain.
41
-
42
- ```bash
43
- pnpm install
44
- pnpm build
45
- ```
46
-
47
- ## Testing
48
-
49
- ```bash
50
- pnpm test
51
- ```
52
-
53
36
  ## License
54
37
 
55
38
  MIT
@@ -19,7 +19,8 @@ cargo add dirsql
19
19
  ```
20
20
 
21
21
  ```bash [TypeScript]
22
- pnpm add dirsql
22
+ # The npm CLI requires **Node ≥ 20.11**.
23
+ npm add dirsql
23
24
  ```
24
25
 
25
26
  ```bash [CLI]
@@ -31,6 +32,8 @@ cargo install dirsql --features cli
31
32
 
32
33
  :::
33
34
 
35
+
36
+
34
37
  See the [CLI section](./cli/) for details on the command-line interface, and the [Rust library README](https://github.com/thekevinscott/dirsql/tree/main/packages/rust) for the library-vs-CLI feature split.
35
38
 
36
39
  ## Quick start
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dirsql",
3
- "version": "0.3.30",
3
+ "version": "0.3.32",
4
4
  "description": "Ephemeral SQL index over a local directory",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/thekevinscott/dirsql",
@@ -178,7 +178,8 @@
178
178
  "devDependencies": {
179
179
  "@biomejs/biome": "^1.9.0",
180
180
  "@napi-rs/cli": "^3.0.0",
181
- "@types/node": "^22.0.0",
181
+ "@tsconfig/node20": "^20.1.9",
182
+ "@types/node": "^20.19.43",
182
183
  "@types/sql.js": "^1.4.11",
183
184
  "@vitest/coverage-v8": "^3.1.1",
184
185
  "sql.js": "^1.14.1",
@@ -197,15 +198,15 @@
197
198
  "smol-toml": "^1.6.1"
198
199
  },
199
200
  "optionalDependencies": {
200
- "@dirsql/lib-linux-x64-gnu": "0.3.30",
201
- "@dirsql/lib-linux-arm64-gnu": "0.3.30",
202
- "@dirsql/lib-darwin-x64": "0.3.30",
203
- "@dirsql/lib-darwin-arm64": "0.3.30",
204
- "@dirsql/lib-win32-x64-msvc": "0.3.30",
205
- "@dirsql/cli-linux-x64-gnu": "0.3.30",
206
- "@dirsql/cli-linux-arm64-gnu": "0.3.30",
207
- "@dirsql/cli-darwin-x64": "0.3.30",
208
- "@dirsql/cli-darwin-arm64": "0.3.30",
209
- "@dirsql/cli-win32-x64-msvc": "0.3.30"
201
+ "@dirsql/lib-linux-x64-gnu": "0.3.32",
202
+ "@dirsql/lib-linux-arm64-gnu": "0.3.32",
203
+ "@dirsql/lib-darwin-x64": "0.3.32",
204
+ "@dirsql/lib-darwin-arm64": "0.3.32",
205
+ "@dirsql/lib-win32-x64-msvc": "0.3.32",
206
+ "@dirsql/cli-linux-x64-gnu": "0.3.32",
207
+ "@dirsql/cli-linux-arm64-gnu": "0.3.32",
208
+ "@dirsql/cli-darwin-x64": "0.3.32",
209
+ "@dirsql/cli-darwin-arm64": "0.3.32",
210
+ "@dirsql/cli-win32-x64-msvc": "0.3.32"
210
211
  }
211
212
  }