Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

Generate `.d.ts` for `@webstudio-is/prisma-client` (#1392)

Mateusz Burzyński815641be1753
diff --git a/packages/prisma-client/package.json b/packages/prisma-client/package.json
index 50912e3186..6d273167e3 100644
--- a/packages/prisma-client/package.json
+++ b/packages/prisma-client/package.json
@@ -11,6 +11,7 @@
"checks": "pnpm typecheck && pnpm lint",
"dev": "prisma generate --watch & build-package --watch --no-generated-as-entries",
"build": "prisma format && prisma generate && build-package --no-generated-as-entries",
+ "dts": "tsc --emitDeclarationOnly --declaration --declarationDir lib",
"migrations": "./migrations-cli/cli.ts"
},
"bin": {
@@ -32,7 +33,7 @@
"import": "./lib/index.js",
"require": "./lib/cjs/index.js"
},
- "types": "lib/types/index.d.ts",
+ "types": "lib/index.d.ts",
"license": "MIT",
"private": false,
"dependencies": {