mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-04-20 05:29:17 +00:00

- Added a check for DB_FILE_NAME in drizzle.config.ts to ensure it's set. - Updated package.json to change the package name to @kksh/drizzle and added exports for schema and relations. - Enhanced README.md with instructions for using the schema generation. - Refactored schema.ts for improved readability and organization of imports.
24 lines
435 B
JSON
24 lines
435 B
JSON
{
|
|
"name": "@kksh/drizzle",
|
|
"type": "module",
|
|
"private": true,
|
|
"exports": {
|
|
".": "./index.ts",
|
|
"./schema": "./drizzle/schema.ts",
|
|
"./relations": "./drizzle/relations.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "latest",
|
|
"drizzle-kit": "^0.30.5",
|
|
"tsx": "^4.19.3"
|
|
},
|
|
"peerDependencies": {
|
|
"typescript": "^5"
|
|
},
|
|
"dependencies": {
|
|
"@libsql/client": "^0.15.0",
|
|
"dotenv": "^16.4.7",
|
|
"drizzle-orm": "^0.40.1"
|
|
}
|
|
}
|