all: install prisma

This commit is contained in:
arswarog committed 2026-11-16 17:30:51 +03:00
1 parent b3bbbf2810
commit 414e7b8a37
4 files changed
+2034 -17

No files matched your search

+6
View File
@@ -25,6 +25,10 @@
"@nestjs/common": "^12.0.1",
"@nestjs/core": "^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",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1"
},
@@ -35,11 +39,13 @@
"@nestjs/testing": "^12.0.1",
"@types/express": "^5.0.0",
"@types/node": "^24.0.0",
"@types/pg": "^8",
"@types/supertest": "^7.0.0",
"@vitest/coverage-v8": "^4.1.2",
"oxlint": "^1.58.0",
"oxlint-tsgolint": "^7.0.2001",
"prettier": "^3.4.2",
"prisma": "7.10.1",
"source-map-support": "^0.5.21",
"supertest": "^7.0.0",
"typescript": "^6.0.2",
+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
'';
}
+3 -3
View File
@@ -3,8 +3,8 @@ import { AppController } from './app.controller.js';
import { AppService } from './app.service.js';
@Module({
imports: [],
controllers: [AppController],
providers: [AppService],
imports: [],
controllers: [AppController],
providers: [AppService],
})
export class AppModule {}
+2006 -14
View File
File diff suppressed because it is too large. Load diff