Compare commits

...
2 Commits
Author SHA1 Message Date
kevin bb515f1219 prisma finally fucking works god damnit 2025-10-22 06:35:52 -04:00
kevin e841dd5a78 test?? 2025-10-22 06:32:42 -04:00
3 changed files with 1039 additions and 2 deletions
+1027
View File
File diff suppressed because it is too large Load Diff
+3 -1
View File
@@ -4,12 +4,14 @@
"type": "module", "type": "module",
"private": true, "private": true,
"devDependencies": { "devDependencies": {
"@types/bun": "latest" "@types/bun": "latest",
"prisma": "^6.7.0"
}, },
"peerDependencies": { "peerDependencies": {
"typescript": "^5" "typescript": "^5"
}, },
"dependencies": { "dependencies": {
"@prisma/client": "^6.7.0",
"@socket.io/bun-engine": "^0.0.3", "@socket.io/bun-engine": "^0.0.3",
"hono": "^4.10.2", "hono": "^4.10.2",
"socket.io": "^4.8.1" "socket.io": "^4.8.1"
+9 -1
View File
@@ -22,15 +22,23 @@
bun bun
nodejs_24 nodejs_24
prisma prisma
prisma-engines
openssl_3 # needed for prisma openssl_3 # needed for prisma
# DB deps # DB deps
ephemeralpg ephemeralpg
postgresql postgresql
]; ];
shellHook = '' shellHook = with pkgs; ''
echo "Welcome to the methylphenidate dev environment!" echo "Welcome to the methylphenidate dev environment!"
export NIX_LDFLAGS="''${NIX_LDFLAGS/-rpath $out\/lib /}" export NIX_LDFLAGS="''${NIX_LDFLAGS/-rpath $out\/lib /}"
export PRISMA_SCHEMA_ENGINE_BINARY="${prisma-engines}/bin/migration-engine"
export PRISMA_QUERY_ENGINE_BINARY="${prisma-engines}/bin/query-engine"
export PRISMA_QUERY_ENGINE_LIBRARY="${prisma-engines}/lib/libquery_engine.node"
export PRISMA_INTROSPECTION_ENGINE_BINARY="${prisma-engines}/bin/introspection-engine"
export PRISMA_FMT_BINARY="${prisma-engines}/bin/prisma-fmt"
export PRISMA_ENGINES_CHECKSUM_IGNORE_MISSING="1";
''; '';
}; };
}; };