From fde0d4f8e8d84843ff4321937da9dfba20333b73 Mon Sep 17 00:00:00 2001 From: Ilkka Oksanen Date: Mon, 6 Jan 2025 00:59:26 +0200 Subject: [PATCH] Remove prisma --- server/package.json | 4 ---- server/yarn.lock | 24 ------------------------ 2 files changed, 28 deletions(-) diff --git a/server/package.json b/server/package.json index 3196c237..7861026d 100644 --- a/server/package.json +++ b/server/package.json @@ -6,7 +6,6 @@ "dependencies": { "@elastic/elasticsearch": "7.16.0", "@koa/router": "8", - "@prisma/client": "3.8.1", "bcrypt": "^5.0.0", "carrier": "~0.3.0", "colors": "~1.4.0", @@ -55,7 +54,6 @@ "@types/node": "^15.0.2", "chai": "^4.2.0", "foreman": "^3.0.0", - "prisma": "^3.8.1", "proxyquire": "^2.1.3", "sinon": "^12.0.1", "sinon-chai": "^3.7.0", @@ -65,8 +63,6 @@ "scripts": { "prod": "tsc && cd build && node ./bin/build-emails.js", "dev": "cd .. && nf --procfile Procfile.dev --env conf/env.dev start", - "migrate-db-dev": "prisma migrate dev && ts-node -T ./bin/create-db.ts", - "migrate-db-prod": "prisma migrate deploy && cd build && node ./bin/create-db.js", "start-frontend": "cd build && node ./server.js", "start-loopback": "cd build && node ./backends/loopback/server.js", "start-irc": "cd build && node ./backends/irc/server.js", diff --git a/server/yarn.lock b/server/yarn.lock index c686f5b9..61228a7d 100644 --- a/server/yarn.lock +++ b/server/yarn.lock @@ -48,23 +48,6 @@ semver "^7.3.4" tar "^6.1.0" -"@prisma/client@3.8.1": - version "3.8.1" - resolved "https://registry.yarnpkg.com/@prisma/client/-/client-3.8.1.tgz#c11eda8e84760867552ffde4de7b48fb2cf1e1c0" - integrity sha512-NxD1Xbkx1eT1mxSwo1RwZe665mqBETs0VxohuwNfFIxMqcp0g6d4TgugPxwZ4Jb4e5wCu8mQ9quMedhNWIWcZQ== - dependencies: - "@prisma/engines-version" "3.8.0-43.34df67547cf5598f5a6cd3eb45f14ee70c3fb86f" - -"@prisma/engines-version@3.8.0-43.34df67547cf5598f5a6cd3eb45f14ee70c3fb86f": - version "3.8.0-43.34df67547cf5598f5a6cd3eb45f14ee70c3fb86f" - resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-3.8.0-43.34df67547cf5598f5a6cd3eb45f14ee70c3fb86f.tgz#4c8d9744b5e54650a8ba5fde0a711399d6adba24" - integrity sha512-G2JH6yWt6ixGKmsRmVgaQYahfwMopim0u/XLIZUo2o/mZ5jdu7+BL+2V5lZr7XiG1axhyrpvlyqE/c0OgYSl3g== - -"@prisma/engines@3.8.0-43.34df67547cf5598f5a6cd3eb45f14ee70c3fb86f": - version "3.8.0-43.34df67547cf5598f5a6cd3eb45f14ee70c3fb86f" - resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-3.8.0-43.34df67547cf5598f5a6cd3eb45f14ee70c3fb86f.tgz#4479099b99f6a082ce5843ee7208943ccedd127f" - integrity sha512-bHYubuItSN/DGYo36aDu7xJiJmK52JOSHs4MK+KbceAtwS20BCWadRgtpQ3iZ2EXfN/B1T0iCXlNraaNwnpU2w== - "@sinonjs/commons@^1.6.0", "@sinonjs/commons@^1.7.0": version "1.8.2" resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.2.tgz#858f5c4b48d80778fde4b9d541f27edc0d56488b" @@ -2530,13 +2513,6 @@ pkginfo@0.2.x: resolved "https://registry.yarnpkg.com/pkginfo/-/pkginfo-0.2.3.tgz#7239c42a5ef6c30b8f328439d9b9ff71042490f8" integrity sha1-cjnEKl72wwuPMoQ52bn/cQQkkPg= -prisma@^3.8.1: - version "3.8.1" - resolved "https://registry.yarnpkg.com/prisma/-/prisma-3.8.1.tgz#44395cef7cbb1ea86216cb84ee02f856c08a7873" - integrity sha512-Q8zHwS9m70TaD7qI8u+8hTAmiTpK+IpvRYF3Rgb/OeWGQJOMgZCFFvNCiSfoLEQ95wilK7ctW3KOpc9AuYnRUA== - dependencies: - "@prisma/engines" "3.8.0-43.34df67547cf5598f5a6cd3eb45f14ee70c3fb86f" - process-nextick-args@~2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2"