Skip to content

Commit 94107ee

Browse files
committed
fix: set all commands to pnpm
1 parent 6689231 commit 94107ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"test:watch": "jest --watch",
3838
"test:cov": "jest --coverage",
3939
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
40-
"test:e2e": "./setupPrismaDatabase.sh && npx prisma generate --schema apps/prisma-sample/prisma/schema.prisma && DATABASE_URL=postgres://postgres:postgres@localhost:5433/prisma nx run-many --target=e2e --all",
40+
"test:e2e": "./setupPrismaDatabase.sh && pnpx prisma generate --schema apps/prisma-sample/prisma/schema.prisma && DATABASE_URL=postgres://postgres:postgres@localhost:5433/prisma nx run-many --target=e2e --all",
4141
"test:cov:total": "DATABASE_URL=postgres://postgres:postgres@localhost:5433/prisma jest -c jest.cov.js",
4242
"nx": "nx"
4343
},

setupPrismaDatabase.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
cd apps/prisma-sample
2-
DATABASE_URL=postgres://postgres:postgres@localhost:5433/prisma npx prisma migrate deploy
2+
DATABASE_URL=postgres://postgres:postgres@localhost:5433/prisma pnpx prisma migrate deploy
33
cd ../..

0 commit comments

Comments
 (0)