Skip to content

Commit

Permalink
fix(ci): replaced npx to yarn dlx, ci fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gearonix committed Aug 9, 2023
1 parent bca080e commit 912875b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx commitlint --edit $1
yarn dlx commitlint --edit $1
2 changes: 1 addition & 1 deletion apps/client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
</head>
<body>
<div id="root"></div>
<script src="/src/app/entry.tsx" type="module"></script>
<script src="/src/app/entrypoint/entry.tsx" type="module"></script>
</body>
</html>
8 changes: 4 additions & 4 deletions apps/server/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"projectType": "application",
"targets": {
"prisma:generate": {
"command": "npx prisma generate",
"command": "yarn dlx prisma generate",
"options": {
"cwd": "apps/server"
}
Expand All @@ -17,23 +17,23 @@
}
},
"migrate:dev": {
"command": "npx prisma migrate dev",
"command": "yarn dlx prisma migrate dev",
"options": {
"cwd": "apps/server",
"envFile": ".serve.env"
},
"dependsOn": ["concat-prisma-files"]
},
"migrate:prod": {
"command": "npx prisma migrate deploy",
"command": "yarn dlx prisma migrate deploy",
"options": {
"cwd": "apps/server",
"envFile": ".build.env"
},
"dependsOn": ["concat-prisma-files"]
},
"generate-prisma-types": {
"command": "npx @kalissaac/prisma-typegen ./src/common/types/_prisma.ts ./prisma/schema.prisma",
"command": "yarn dlx @kalissaac/prisma-typegen ./src/common/types/_prisma.ts ./prisma/schema.prisma",
"options": {
"cwd": "apps/server"
},
Expand Down

0 comments on commit 912875b

Please sign in to comment.