Replace GQL with Prisma

This commit is contained in:
Jorge Vargas 2025-02-10 12:32:49 -06:00
parent 1c142f651f
commit 8a7f1e8c8a
36 changed files with 1156 additions and 6302 deletions

View file

@ -4,41 +4,28 @@
"version": "0.0.1",
"scripts": {
"start": "npm run dev",
"dev": "concurrently \"prisma generate --watch\" \"graphql-codegen -w\" \"astro dev\"",
"build": "npm run paraglide:compile && prisma generate && graphql-codegen && astro build",
"dev": "astro dev",
"build": "npm run paraglide:compile && prisma generate && astro build",
"preview": "astro preview",
"paraglide:compile": "paraglide-js compile --project ./project.inlang --outdir ./src\\paraglide"
},
"dependencies": {
"@apollo/client": "^3.11.4",
"@apollo/server": "^4.11.2",
"@astrojs/node": "9.0.0",
"@astrojs/react": "4.1.3",
"@astrojs/rss": "4.0.11",
"@astrojs/tailwind": "5.1.4",
"@eddeee888/gcg-typescript-resolver-files": "^0.10.4",
"@graphql-codegen/cli": "^5.0.2",
"@graphql-tools/merge": "^9.0.6",
"@graphql-tools/resolvers-composition": "^7.0.1",
"@graphql-tools/schema": "^10.0.4",
"@inlang/paraglide-astro": "^0.2.2",
"@oslojs/crypto": "^1.0.1",
"@oslojs/encoding": "^1.1.0",
"@prisma/client": "^5.22.0",
"@prisma/client": "^6.2.1",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"apollo-upload-client": "^18.0.1",
"astro": "5.1.5",
"astro-icon": "^1.1.1",
"better-auth": "^1.1.11",
"clsx": "^2.1.1",
"fast-glob": "^3.3.2",
"fs-extra": "^11.2.0",
"generate-password-ts": "^1.6.5",
"graphql": "^16.9.0",
"graphql-scalars": "^1.23.0",
"graphql-yoga": "^5.10.2",
"nodemailer": "^6.9.16",
"oslo": "^1.2.1",
"nodemailer": "^6.10.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hot-toast": "^2.4.1",
@ -50,6 +37,7 @@
"devDependencies": {
"@inlang/paraglide-js": "1.11.2",
"@parcel/watcher": "^2.4.1",
"@types/nodemailer": "^6.4.17",
"concurrently": "^8.2.2",
"eslint": "^9.11.1",
"eslint-config-prettier": "^9.1.0",
@ -58,6 +46,6 @@
"neostandard": "^0.11.6",
"prettier": "^3.3.3",
"prettier-config-standard": "^7.0.0",
"prisma": "^5.22.0"
"prisma": "^6.2.1"
}
}