Skip to content

Commit fd81e3b

Browse files
authored
Merge pull request #31 from gitpod-io/pde-128-disable-npm-scripts
Disable npm lifecycle scripts and fix npx usage for security
2 parents c4a776e + 20ca39d commit fd81e3b

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)