all: install prisma

This commit is contained in:
arswarog committed 2026-11-13 19:17:16 +03:00
1 parent 0b7c76b290
commit 0403d1b489
3 files changed
+2031 -14

No files matched your search

+6
View File
@@ -25,6 +25,11 @@
"@nestjs/common": "^12.0.1", "@nestjs/common": "^12.0.1",
"@nestjs/core": "^12.0.1", "@nestjs/core": "^12.0.1",
"@nestjs/platform-express": "^12.0.1", "@nestjs/platform-express": "^12.0.1",
"@prisma/adapter-pg": "^7.10.1",
"@prisma/client": "^7.10.1",
"dotenv": "^18.0.10",
"pg": "^8.23.1",
"prisma": "8.0.0-rc.33",
"reflect-metadata": "^0.2.2", "reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1" "rxjs": "^7.8.1"
}, },
@@ -35,6 +40,7 @@
"@nestjs/testing": "^12.0.1", "@nestjs/testing": "^12.0.1",
"@types/express": "^5.0.0", "@types/express": "^5.0.0",
"@types/node": "^24.0.0", "@types/node": "^24.0.0",
"@types/pg": "^8",
"@types/supertest": "^7.0.0", "@types/supertest": "^7.0.0",
"@vitest/coverage-v8": "^4.1.2", "@vitest/coverage-v8": "^4.1.2",
"oxlint": "^1.58.0", "oxlint": "^1.58.0",
+19
View File
@@ -0,0 +1,19 @@
{ pkgs ? import <nixpkgs> {} }:
let
prisma-engines = pkgs.prisma-engines;
in
pkgs.mkShell {
buildInputs = with pkgs; [
nodejs
openssl
prisma-engines
];
shellHook = ''
export PRISMA_QUERY_ENGINE_BINARY="${prisma-engines}/bin/query-engine"
export PRISMA_MIGRATION_ENGINE_BINARY="${prisma-engines}/bin/migration-engine"
export PRISMA_FMT_BINARY="${prisma-engines}/bin/prisma-fmt"
export PRISMA_ENGINES_CHECKSUM_IGNORE_MISSING=1
'';
}
+2006 -14
View File
File diff suppressed because it is too large. Load diff