Files
bun-sqlite/package.json
T
tbenandClaude Opus 5.5 4e47bd8ce0 Port bun-mariadb schema guard, targetId fix, lazy init and tests
- schema: add --dry-run (sync in a rolled-back transaction) and require
  confirmation (or --yes) before dropping tables or columns; unapproved
  destructive changes are refused
- only rebuild tables whose CREATE TABLE statement changed
- always AND targetId with the query, regardless of searchOperator
- empty IN / NOT IN lists become 1 = 0 / 1 = 1
- initialize lazily on first call so importing never throws
- read CLI version from package.json, chmod CLI on compile, pin @types/bun
- add SQL generator, value and schema guard tests

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-14 03:00:29 +01:00

69 lines
1.8 KiB
JSON

{
"name": "@moduletrace/bun-sqlite",
"version": "1.1.13",
"description": "Schema-driven SQLite manager for Bun",
"author": "Benjamin Toby",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./types": {
"types": "./dist/types/index.d.ts",
"import": "./dist/types/index.js",
"default": "./dist/types/index.js"
}
},
"bin": {
"bun-sqlite": "./dist/commands/index.js"
},
"engines": {
"bun": ">=1.3.0"
},
"scripts": {
"dev": "tsc --watch",
"compile": "rm -rf dist tsconfig.tsbuildinfo && tsc -p tsconfig.json && chmod +x dist/commands/index.js",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "bun test src tests",
"prepublishOnly": "bun run compile"
},
"devDependencies": {
"@types/bun": "1.3.14",
"@types/inquirer": "^9.0.9",
"@types/lodash": "^4.17.24",
"@types/node": "^25.3.3"
},
"peerDependencies": {
"typescript": "^5"
},
"files": [
"dist",
"README.md",
"package.json"
],
"repository": {
"type": "git",
"url": "git+https://git.tben.me/Moduletrace/bun-sqlite.git"
},
"keywords": [
"bun",
"sqlite",
"schema",
"orm",
"sql",
"vector"
],
"dependencies": {
"@inquirer/prompts": "^8.3.0",
"chalk": "^5.6.2",
"commander": "^14.0.3",
"inquirer": "^13.3.2",
"lodash": "^4.17.23",
"sqlite-vec": "^0.1.7-alpha.2"
}
}