Skip to content

Commit

Permalink
remove prisma altogether
Browse files Browse the repository at this point in the history
  • Loading branch information
jvelo committed Sep 22, 2024
1 parent 5bd32d7 commit 22aa6a7
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 323 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"scripts": {
"dev": "next dev",
"build": "prisma generate && next build",
"build": "next build",
"start": "next start",
"lint": "eslint -- ./",
"validate-typescript": "tsc --noEmit",
Expand All @@ -22,7 +22,6 @@
"@apollo/react-ssr": "^3.1.5",
"@mdx-js/loader": "^1.6.22",
"@next/mdx": "^10.0.5",
"@prisma/client": "3.4.2",
"@tanem/react-nprogress": "3.0.81",
"apollo-cache-inmemory": "^1.6.6",
"apollo-client": "^2.6.10",
Expand Down Expand Up @@ -72,7 +71,6 @@
"node-fetch": "^2.6.0",
"prettier": "^2.0.5",
"pretty-quick": "^2.0.1",
"prisma": "5.19.1",
"twitter-d": "0.4.0",
"typescript": "^4.4.4"
},
Expand Down
31 changes: 0 additions & 31 deletions pages/api/starred-media.ts

This file was deleted.

207 changes: 0 additions & 207 deletions pages/starred-media.tsx

This file was deleted.

20 changes: 0 additions & 20 deletions src/prisma/client.ts

This file was deleted.

62 changes: 0 additions & 62 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1952,54 +1952,6 @@
"@nodelib/fs.scandir" "2.1.4"
fastq "^1.6.0"

"@prisma/client@3.4.2":
version "3.4.2"
resolved "https://registry.yarnpkg.com/@prisma/client/-/client-3.4.2.tgz#36b8da0d788e4f5dc7c4a5e83a9f83b0e2bfbb1a"
integrity sha512-HyQGq9m1V99zpNSJ/FojZJnvzqWUd18ErIXwxLzSuurS23XlhHEPtxgpxJaegBmjsr/KCYqcXFOPmM1gRLpI0w==
dependencies:
"@prisma/engines-version" "3.4.1-2.57771c0558568c7d08bd34c7248af5244ae16bd9"

"@prisma/debug@5.19.1":
version "5.19.1"
resolved "https://registry.yarnpkg.com/@prisma/debug/-/debug-5.19.1.tgz#9c6f25f62192104b96bee8c452e10872be6d000b"
integrity sha512-lAG6A6QnG2AskAukIEucYJZxxcSqKsMK74ZFVfCTOM/7UiyJQi48v6TQ47d6qKG3LbMslqOvnTX25dj/qvclGg==

"@prisma/engines-version@3.4.1-2.57771c0558568c7d08bd34c7248af5244ae16bd9":
version "3.4.1-2.57771c0558568c7d08bd34c7248af5244ae16bd9"
resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-3.4.1-2.57771c0558568c7d08bd34c7248af5244ae16bd9.tgz#ad922c461baea416ec26ad33a144c70ae7e997d4"
integrity sha512-H8bnBT5jLap+0nULBAGjf+xb5XNn4d60U4J9cck+UanyEkeMS3aYCeHvNiQl46XwvN60jkUX8BwV3NOEmPh0SQ==

"@prisma/engines-version@5.19.1-2.69d742ee20b815d88e17e54db4a2a7a3b30324e3":
version "5.19.1-2.69d742ee20b815d88e17e54db4a2a7a3b30324e3"
resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-5.19.1-2.69d742ee20b815d88e17e54db4a2a7a3b30324e3.tgz#f211e2c000ef244bc6e5eaddbde75223c2e71411"
integrity sha512-xR6rt+z5LnNqTP5BBc+8+ySgf4WNMimOKXRn6xfNRDSpHvbOEmd7+qAOmzCrddEc4Cp8nFC0txU14dstjH7FXA==

"@prisma/engines@5.19.1":
version "5.19.1"
resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-5.19.1.tgz#792d4f1ada73cf6fc20b0f188bf88d844bce428b"
integrity sha512-kR/PoxZDrfUmbbXqqb8SlBBgCjvGaJYMCOe189PEYzq9rKqitQ2fvT/VJ8PDSe8tTNxhc2KzsCfCAL+Iwm/7Cg==
dependencies:
"@prisma/debug" "5.19.1"
"@prisma/engines-version" "5.19.1-2.69d742ee20b815d88e17e54db4a2a7a3b30324e3"
"@prisma/fetch-engine" "5.19.1"
"@prisma/get-platform" "5.19.1"

"@prisma/fetch-engine@5.19.1":
version "5.19.1"
resolved "https://registry.yarnpkg.com/@prisma/fetch-engine/-/fetch-engine-5.19.1.tgz#10a0f75636cac6647c71b9edd0b9a79c1b58468a"
integrity sha512-pCq74rtlOVJfn4pLmdJj+eI4P7w2dugOnnTXpRilP/6n5b2aZiA4ulJlE0ddCbTPkfHmOL9BfaRgA8o+1rfdHw==
dependencies:
"@prisma/debug" "5.19.1"
"@prisma/engines-version" "5.19.1-2.69d742ee20b815d88e17e54db4a2a7a3b30324e3"
"@prisma/get-platform" "5.19.1"

"@prisma/get-platform@5.19.1":
version "5.19.1"
resolved "https://registry.yarnpkg.com/@prisma/get-platform/-/get-platform-5.19.1.tgz#518f3a0e260f716151671c64140fb67953e0307d"
integrity sha512-sCeoJ+7yt0UjnR+AXZL7vXlg5eNxaFOwC23h0KvW1YIXUoa7+W2ZcAUhoEQBmJTW4GrFqCuZ8YSP0mkDa4k3Zg==
dependencies:
"@prisma/debug" "5.19.1"

"@reach/router@^1.2.1":
version "1.3.4"
resolved "https://registry.yarnpkg.com/@reach/router/-/router-1.3.4.tgz#d2574b19370a70c80480ed91f3da840136d10f8c"
Expand Down Expand Up @@ -6641,11 +6593,6 @@ fs.realpath@^1.0.0:
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8=

fsevents@2.3.3:
version "2.3.3"
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6"
integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==

fsevents@^1.2.7:
version "1.2.13"
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.13.tgz#f325cb0455592428bcf11b383370ef70e3bfcc38"
Expand Down Expand Up @@ -10197,15 +10144,6 @@ pretty-quick@^2.0.1:
mri "^1.1.4"
multimatch "^4.0.0"

prisma@5.19.1:
version "5.19.1"
resolved "https://registry.yarnpkg.com/prisma/-/prisma-5.19.1.tgz#33a4fecb9bcdf1c3f40d2c7e1cc06055edbb0ebc"
integrity sha512-c5K9MiDaa+VAAyh1OiYk76PXOme9s3E992D7kvvIOhCrNsBQfy2mP2QAQtX0WNj140IgG++12kwZpYB9iIydNQ==
dependencies:
"@prisma/engines" "5.19.1"
optionalDependencies:
fsevents "2.3.3"

prismic-helpers@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/prismic-helpers/-/prismic-helpers-1.0.3.tgz#cc1aa184f8791ed6b0a1775a9eb68a74a83f741e"
Expand Down

0 comments on commit 22aa6a7

Please sign in to comment.