Skip to content

Commit

Permalink
fix(cli): generate prisma client before nexus types (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
cball committed Aug 20, 2020
1 parent c8e4b84 commit d9e793b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,14 @@ module.exports = (name) => {
return execa("yarn", ["install"], { cwd: pkgName });
},
},
{
title: "Generate Prisma client",
task: async () => {
return execa("yarn", ["prisma", "generate"], {
cwd: pkgName,
});
},
},
{
title: "Generate Nexus types",
task: async () => {
Expand Down

0 comments on commit d9e793b

Please sign in to comment.