From dbce2c289bb988be1a447ccdd69cf8b294559168 Mon Sep 17 00:00:00 2001 From: Kalil Smith-Nuevelle Date: Thu, 31 Aug 2023 15:47:00 -0500 Subject: [PATCH] Upgrade prisma to v5 --- core/package.json | 4 ++-- pnpm-lock.yaml | 34 +++++++++++++++++----------------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/core/package.json b/core/package.json index a1db8db755..e2401873e1 100644 --- a/core/package.json +++ b/core/package.json @@ -18,7 +18,7 @@ "seed": "ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts" }, "dependencies": { - "@prisma/client": "^4.15.0", + "@prisma/client": "^5.2.0", "@supabase/supabase-js": "^2.25.0", "@ts-rest/core": "^3.28.0", "@ts-rest/next": "^3.28.0", @@ -50,7 +50,7 @@ "dotenv-cli": "^7.2.1", "encoding": "^0.1.13", "postcss": "^8.4.27", - "prisma": "^4.15.0", + "prisma": "^5.2.0", "supabase": "^1.68.6", "tailwindcss": "^3.3.3", "ts-node": "^10.9.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8677206e6d..4bfc37ff25 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -30,8 +30,8 @@ importers: core: dependencies: '@prisma/client': - specifier: ^4.15.0 - version: 4.15.0(prisma@4.15.0) + specifier: ^5.2.0 + version: 5.2.0(prisma@5.2.0) '@supabase/supabase-js': specifier: ^2.25.0 version: 2.25.0(encoding@0.1.13) @@ -121,8 +121,8 @@ importers: specifier: ^8.4.27 version: 8.4.27 prisma: - specifier: ^4.15.0 - version: 4.15.0 + specifier: ^5.2.0 + version: 5.2.0 supabase: specifier: ^1.68.6 version: 1.68.6 @@ -1003,9 +1003,9 @@ packages: '@nodelib/fs.scandir': 2.1.5 fastq: 1.15.0 - /@prisma/client@4.15.0(prisma@4.15.0): - resolution: {integrity: sha512-xnROvyABcGiwqRNdrObHVZkD9EjkJYHOmVdlKy1yGgI+XOzvMzJ4tRg3dz1pUlsyhKxXGCnjIQjWW+2ur+YXuw==} - engines: {node: '>=14.17'} + /@prisma/client@5.2.0(prisma@5.2.0): + resolution: {integrity: sha512-AiTjJwR4J5Rh6Z/9ZKrBBLel3/5DzUNntMohOy7yObVnVoTNVFi2kvpLZlFuKO50d7yDspOtW6XBpiAd0BVXbQ==} + engines: {node: '>=16.13'} requiresBuild: true peerDependencies: prisma: '*' @@ -1013,16 +1013,16 @@ packages: prisma: optional: true dependencies: - '@prisma/engines-version': 4.15.0-28.8fbc245156db7124f997f4cecdd8d1219e360944 - prisma: 4.15.0 + '@prisma/engines-version': 5.2.0-25.2804dc98259d2ea960602aca6b8e7fdc03c1758f + prisma: 5.2.0 dev: false - /@prisma/engines-version@4.15.0-28.8fbc245156db7124f997f4cecdd8d1219e360944: - resolution: {integrity: sha512-sVOig4tjGxxlYaFcXgE71f/rtFhzyYrfyfNFUsxCIEJyVKU9rdOWIlIwQ2NQ7PntvGnn+x0XuFo4OC1jvPJKzg==} + /@prisma/engines-version@5.2.0-25.2804dc98259d2ea960602aca6b8e7fdc03c1758f: + resolution: {integrity: sha512-jsnKT5JIDIE01lAeCj2ghY9IwxkedhKNvxQeoyLs6dr4ZXynetD0vTy7u6wMJt8vVPv8I5DPy/I4CFaoXAgbtg==} dev: false - /@prisma/engines@4.15.0: - resolution: {integrity: sha512-FTaOCGs0LL0OW68juZlGxFtYviZa4xdQj/rQEdat2txw0s3Vu/saAPKjNVXfIgUsGXmQ72HPgNr6935/P8FNAA==} + /@prisma/engines@5.2.0: + resolution: {integrity: sha512-dT7FOLUCdZmq+AunLqB1Iz+ZH/IIS1Fz2THmKZQ6aFONrQD/BQ5ecJ7g2wGS2OgyUFf4OaLam6/bxmgdOBDqig==} requiresBuild: true /@radix-ui/primitive@1.0.1: @@ -4717,13 +4717,13 @@ packages: hasBin: true dev: true - /prisma@4.15.0: - resolution: {integrity: sha512-iKZZpobPl48gTcSZVawLMQ3lEy6BnXwtoMj7hluoGFYu2kQ6F9LBuBrUyF95zRVnNo8/3KzLXJXJ5TEnLSJFiA==} - engines: {node: '>=14.17'} + /prisma@5.2.0: + resolution: {integrity: sha512-FfFlpjVCkZwrqxDnP4smlNYSH1so+CbfjgdpioFzGGqlQAEm6VHAYSzV7jJgC3ebtY9dNOhDMS2+4/1DDSM7bQ==} + engines: {node: '>=16.13'} hasBin: true requiresBuild: true dependencies: - '@prisma/engines': 4.15.0 + '@prisma/engines': 5.2.0 /prismjs@1.27.0: resolution: {integrity: sha512-t13BGPUlFDR7wRB5kQDG4jjl7XeuH6jbJGt11JHPL96qwsEHNX2+68tFXqc1/k+/jALsbSWJKUOT/hcYAZ5LkA==}