Skip to content

Commit 20ca39d

Browse files
jespinoona-agent
andcommitted
Disable npm lifecycle scripts and fix npx usage for security
- Add --ignore-scripts flag to npm install - Replace npx prisma with yarn prisma Related to PDE-128 Co-authored-by: Ona <no-reply@ona.com>
1 parent c4a776e commit 20ca39d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.gitpod.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
image: gitpod/workspace-postgres
44

55
tasks:
6-
- init: npm install
6+
- init: npm install --ignore-scripts
77
command: |
88
export HMR_HOST=`gp url 3000`
99
npm run dev
1010
env:
1111
DATABASE_URL: postgres://gitpod@localhost/todos
12-
- command: npx prisma studio
12+
- command: yarn prisma studio
1313
env:
1414
DATABASE_URL: postgres://gitpod@localhost/todos
1515

0 commit comments

Comments
 (0)