dirsql 0.3.29 → 0.3.31
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 +0 -15
- package/docs/getting-started.md +4 -1
- package/package.json +13 -11
package/README.md
CHANGED
|
@@ -35,21 +35,6 @@ const rows = await db.query("SELECT * FROM users WHERE age > 25");
|
|
|
35
35
|
console.log(rows);
|
|
36
36
|
```
|
|
37
37
|
|
|
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
38
|
## License
|
|
54
39
|
|
|
55
40
|
MIT
|
package/docs/getting-started.md
CHANGED
|
@@ -19,7 +19,8 @@ cargo add dirsql
|
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
```bash [TypeScript]
|
|
22
|
-
|
|
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.
|
|
3
|
+
"version": "0.3.31",
|
|
4
4
|
"description": "Ephemeral SQL index over a local directory",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "https://github.com/thekevinscott/dirsql",
|
|
@@ -179,7 +179,9 @@
|
|
|
179
179
|
"@biomejs/biome": "^1.9.0",
|
|
180
180
|
"@napi-rs/cli": "^3.0.0",
|
|
181
181
|
"@types/node": "^22.0.0",
|
|
182
|
+
"@types/sql.js": "^1.4.11",
|
|
182
183
|
"@vitest/coverage-v8": "^3.1.1",
|
|
184
|
+
"sql.js": "^1.14.1",
|
|
183
185
|
"tsx": "^4.19.0",
|
|
184
186
|
"typescript": "^5.8.0",
|
|
185
187
|
"vitest": "^3.1.1",
|
|
@@ -195,15 +197,15 @@
|
|
|
195
197
|
"smol-toml": "^1.6.1"
|
|
196
198
|
},
|
|
197
199
|
"optionalDependencies": {
|
|
198
|
-
"@dirsql/lib-linux-x64-gnu": "0.3.
|
|
199
|
-
"@dirsql/lib-linux-arm64-gnu": "0.3.
|
|
200
|
-
"@dirsql/lib-darwin-x64": "0.3.
|
|
201
|
-
"@dirsql/lib-darwin-arm64": "0.3.
|
|
202
|
-
"@dirsql/lib-win32-x64-msvc": "0.3.
|
|
203
|
-
"@dirsql/cli-linux-x64-gnu": "0.3.
|
|
204
|
-
"@dirsql/cli-linux-arm64-gnu": "0.3.
|
|
205
|
-
"@dirsql/cli-darwin-x64": "0.3.
|
|
206
|
-
"@dirsql/cli-darwin-arm64": "0.3.
|
|
207
|
-
"@dirsql/cli-win32-x64-msvc": "0.3.
|
|
200
|
+
"@dirsql/lib-linux-x64-gnu": "0.3.31",
|
|
201
|
+
"@dirsql/lib-linux-arm64-gnu": "0.3.31",
|
|
202
|
+
"@dirsql/lib-darwin-x64": "0.3.31",
|
|
203
|
+
"@dirsql/lib-darwin-arm64": "0.3.31",
|
|
204
|
+
"@dirsql/lib-win32-x64-msvc": "0.3.31",
|
|
205
|
+
"@dirsql/cli-linux-x64-gnu": "0.3.31",
|
|
206
|
+
"@dirsql/cli-linux-arm64-gnu": "0.3.31",
|
|
207
|
+
"@dirsql/cli-darwin-x64": "0.3.31",
|
|
208
|
+
"@dirsql/cli-darwin-arm64": "0.3.31",
|
|
209
|
+
"@dirsql/cli-win32-x64-msvc": "0.3.31"
|
|
208
210
|
}
|
|
209
211
|
}
|