|
1 | 1 | { |
2 | 2 | "name": "cachified-adapter-sqlite", |
3 | 3 | "version": "1.0.2", |
4 | | - "description": "SQLite adapter for @epic-web/cachified. Compatible with better-sqlite3, sqlite, sqlite3, and Bun SQLite.", |
| 4 | + "description": "SQLite adapter for @epic-web/cachified. Compatible with better-sqlite3, sqlite, sqlite3, node:sqlite, and bun:sqlite.", |
5 | 5 | "sideEffects": false, |
6 | 6 | "type": "module", |
7 | | - "packageManager": "[email protected].40", |
| 7 | + "packageManager": "[email protected].42", |
8 | 8 | "keywords": [ |
9 | 9 | "cache", |
10 | 10 | "@epic-web/cachified", |
11 | 11 | "cachified", |
12 | 12 | "sqlite", |
13 | 13 | "bun-sqlite", |
14 | 14 | "better-sqlite3", |
15 | | - "sqlite3" |
| 15 | + "sqlite3", |
| 16 | + "node-sqlite" |
16 | 17 | ], |
17 | 18 | "homepage": "https://github.com/MonsterDeveloper/cachified-adapter-sqlite", |
18 | 19 | "repository": { |
|
50 | 51 | "./bun": { |
51 | 52 | "import": "./dist/bun.js", |
52 | 53 | "types": "./dist/bun.d.ts" |
| 54 | + }, |
| 55 | + "./node-sqlite": { |
| 56 | + "import": "./dist/node-sqlite.js", |
| 57 | + "types": "./dist/node-sqlite.d.ts" |
53 | 58 | } |
54 | 59 | }, |
55 | 60 | "publishConfig": { |
|
61 | 66 | "@changesets/cli": "^2.27.11", |
62 | 67 | "@commitlint/cli": "^19.6.1", |
63 | 68 | "@commitlint/config-conventional": "^19.6.0", |
| 69 | + "@epic-web/cachified": "^5.2.0", |
64 | 70 | "@types/better-sqlite3": "^7.6.12", |
65 | 71 | "@types/bun": "latest", |
| 72 | + "@types/node": "^22.10.2", |
| 73 | + "better-sqlite3": "^11.7.0", |
66 | 74 | "husky": "^9.1.7", |
| 75 | + "sqlite": "^5.1.1", |
| 76 | + "sqlite3": "^5.1.7", |
| 77 | + "tsx": "^4.19.2", |
67 | 78 | "typescript": "^5.7.2", |
68 | 79 | "vite-plugin-dts": "^4.4.0", |
69 | 80 | "vite-tsconfig-paths": "^5.1.4", |
70 | | - "vitest": "^2.1.8", |
71 | | - "@epic-web/cachified": "^5.2.0", |
72 | | - "better-sqlite3": "^11.7.0", |
73 | | - "sqlite": "^5.1.1", |
74 | | - "sqlite3": "^5.1.7" |
| 81 | + "vitest": "^2.1.8" |
75 | 82 | }, |
76 | 83 | "peerDependencies": { |
77 | 84 | "@epic-web/cachified": "^5.2.0", |
|
93 | 100 | "scripts": { |
94 | 101 | "prepare": "husky", |
95 | 102 | "build": "vite build", |
96 | | - "test": "vitest run && bun test bun.test.ts", |
| 103 | + "test:vitest": "vitest run", |
| 104 | + "test:bun": "bun test bun.test.ts", |
| 105 | + "test:node": "node --import tsx --test --experimental-sqlite src/__tests__/node-sqlite.test.ts", |
| 106 | + "test": "bun test:vitest && bun test:bun && bun test:node", |
97 | 107 | "check": "biome check", |
98 | 108 | "check-exports": "attw --pack . --ignore-rules=cjs-resolves-to-esm --profile node16", |
99 | 109 | "typecheck": "tsc", |
|
0 commit comments