Skip to content

Commit

Permalink
fix: fix prisma gen folder path, upgrade prisma client & nexus plugin (
Browse files Browse the repository at this point in the history
…#82)

* fix: gen of prisma client is no longer needed

* fix: update prisma client & nexus plugin

This fixes errors with paths and a few other issues.
  • Loading branch information
cball authored Oct 13, 2020
1 parent 8fa0495 commit 9c9d834
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
8 changes: 0 additions & 8 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,6 @@ module.exports = async ({ name, ...answers }) => {
return execa("yarn", ["install", "-s"], { cwd: pkgName });
},
},
{
title: "Generate Prisma client",
task: async () => {
return execa("yarn", ["prisma", "generate"], {
cwd: pkgName,
});
},
},
{
title: "Git init",
task: async () => {
Expand Down
6 changes: 3 additions & 3 deletions template/package.json.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@chakra-ui/theme": "^1.0.0-rc.0",
"@chakra-ui/theme-tools": "^1.0.0-rc.0",
"@nexus/schema": "^0.16.0",
"@prisma/client": "2.7.0",
"@prisma/client": "2.8.1",
<% if (host.name === 'vercel') { -%>
"apollo-server-micro": "^2.18.1",
<% } -%>
Expand All @@ -59,7 +59,7 @@
"graphql-type-json": "^0.3.1",
"jsonwebtoken": "^8.5.1",
"next": "9.5.3",
"nexus-plugin-prisma": "^0.20.0",
"nexus-plugin-prisma": "^0.21.0",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-hook-form": "^6.1.0",
Expand All @@ -72,7 +72,7 @@
"@graphql-codegen/typescript-operations": "^1.17.6",
"@graphql-codegen/typescript-react-apollo": "1.17.6",
"@graphql-codegen/typescript-resolvers": "1.17.4",
"@prisma/cli": "2.7.0",
"@prisma/cli": "2.8.1",
"@testing-library/cypress": "^6.0.0",
"@testing-library/dom": "^7.21.7",
"@testing-library/jest-dom": "^5.11.2",
Expand Down

0 comments on commit 9c9d834

Please sign in to comment.