prisma-tools icon indicating copy to clipboard operation
prisma-tools copied to clipboard

"pal create" for npm generates scripts that use yarn

Open Atlinx opened this issue 2 years ago • 0 comments

If you run pal create and specify the project as using npm, it will create run package.json scripts that use yarn.


  "scripts": {
    "generate": "pal g && yarn generate:prisma && yarn generate:nexus && yarn codegen",
    "generate:prisma": "prisma generate",
    "generate:nexus": "yarn ts-node --transpile-only src/server/nexusSchema",
  }

Atlinx avatar May 20 '22 16:05 Atlinx