llmd 0.2.1 → 0.3.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "llmd",
3
- "version": "0.2.1",
3
+ "version": "0.3.0",
4
4
  "description": "Local markdown server for LLM-generated docs",
5
5
  "author": "Phil Zona <phil.b.zona@gmail.com>",
6
6
  "license": "MIT",
@@ -31,7 +31,7 @@
31
31
  "scripts": {
32
32
  "dev": "bun --hot index.ts",
33
33
  "test": "bun test",
34
- "build": "rm -f dist/llmd dist/llmd.js* llmd.js* dist/client.js && mkdir -p dist && bun build --target=browser --minify ./src/client-bundle.ts --outfile=dist/client.js && bun build --target=node --minify --sourcemap --external better-sqlite3 ./index.ts --outfile=llmd.js && mv llmd.js* dist/ && sed -i.bak '1s|#!/usr/bin/env bun|#!/usr/bin/env node|' dist/llmd.js && rm -f dist/llmd.js.bak && mv dist/llmd.js dist/llmd && chmod +x dist/llmd",
34
+ "build": "bash scripts/build.sh",
35
35
  "prepublishOnly": "bun test && bun run build",
36
36
  "preview": "bun scripts/generate-preview.ts",
37
37
  "check-contrast": "bun scripts/check-contrast.ts",
@@ -53,16 +53,13 @@
53
53
  "@types/ws": "^8.18.1",
54
54
  "fast-glob": "^3.3.3",
55
55
  "figlet": "^1.9.4",
56
+ "libsql": "^0.5.22",
56
57
  "marked": "^17.0.1",
57
58
  "shiki": "^3.20.0",
58
59
  "ws": "^8.18.3"
59
60
  },
60
- "optionalDependencies": {
61
- "better-sqlite3": "^12.5.0"
62
- },
63
61
  "devDependencies": {
64
62
  "@biomejs/biome": "2.3.8",
65
- "@types/better-sqlite3": "^7.6.13",
66
63
  "@types/bun": "latest",
67
64
  "@types/figlet": "^1.7.0",
68
65
  "husky": "^9.1.7",