Fresh "create" with no changes does not output any files to the types directory. The directory is created, but no files within after a generate.
To Reproduce
Screenshot for prompt questions answers:
run the "create" flow on macOS then:
❯ cd packages/usage
❯ git log
commit ed3d8e4e830f8ed413604af4a3c710e09d329929 (HEAD -> main)
Author: Adam Mork <adammork@gmail.com>
Date: Sat May 13 19:42:43 2023 -0600
feat: added husky for safety commit-msg
commit 4b005bd347a2bc22bf86a65c3484c1e01a31a968
Author: Adam Mork <adammork@gmail.com>
Date: Sat May 13 19:42:42 2023 -0600
init
❯ pwd
/Users/adam/Projects/pntmnt/prisma-generator-types-test/packages/usage
❯ npx prisma generate
Prisma schema loaded from prisma/schema.prisma
prisma:info prisma-generator-types-test:Registered
✔ Generated prisma-generator-types-test (1.0.0) to ./types in 4ms
┌─────────────────────────────────────────────────────────┐
│ Update available 3.12.0 -> 4.14.0 │
│ │
│ This is a major update - please follow the guide at │
│ https://pris.ly/d/major-version-upgrade │
│ │
│ Run the following to update │
│ npm i --save-dev prisma@latest │
│ npm i @prisma/client@latest │
└─────────────────────────────────────────────────────────┘
❯ gs
# On branch: main | No changes (working directory clean)
Bug description
Fresh "create" with no changes does not output any files to the
types
directory. The directory is created, but no files within after a generate.To Reproduce
Screenshot for prompt questions answers:
run the "create" flow on macOS then:
Expected behavior
files in the types directory
Environment & setup