v12.0.0 - initial commit

This commit is contained in:
padreug 2025-12-31 19:04:13 +01:00
commit e2c49ea43c
1145 changed files with 97211 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{
"name": "typesafe-db",
"version": "12.0.0",
"license": "../LICENSE",
"type": "module",
"dependencies": {
"kysely": "^0.28.2",
"pg": "^8.16.0"
},
"devDependencies": {
"@types/node": "^22.0.0",
"@types/pg": "^8.11.10",
"kysely-codegen": "^0.18.5",
"typescript": "^5.8.3"
},
"exports": {
".": {
"types": "./src/index.ts",
"default": "./lib/index.js"
}
},
"scripts": {
"build": "tsc --build",
"dev": "tsc --watch",
"generate-types": "kysely-codegen",
"postinstall": "npm run build"
},
"kysely-codegen": {
"camelCase": true,
"outFile": "./src/types/types.d.ts",
"overrides": {
"columns": {
"customers.id_card_data": "{firstName:string, lastName:string}",
"user_config.data": "{accounts?:object,config?:object}",
"edited_customer_data.id_card_data": "{firstName:string, lastName:string}"
}
}
}
}