K
Kysely•2y ago
Jam

Why does kysely-codegen generate the schema in node_modules?

Like probably many people here, I use https://github.com/RobinBlomberg/kysely-codegen . By default, the DB schema file is generated inside the node_modules. It can be changed of course, but I wonder why that is the default? I was expecting that file to be something you keep in versioning.
GitHub
GitHub - RobinBlomberg/kysely-codegen: Generate Kysely type definit...
Generate Kysely type definitions from your database - GitHub - RobinBlomberg/kysely-codegen: Generate Kysely type definitions from your database
4 Replies
Igal
Igal•2y ago
Hey 👋 Have you tried opening an issue there?
Unknown User
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
koskimas
koskimas•2y ago
I think the default behavior is copied from prisma
Unknown User
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server