@vibecodeapp/cloud-studio 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2380,6 +2380,10 @@ async function loadPrismaClient() {
2380
2380
  const prismaPath = join2(process.cwd(), ...pathSegments);
2381
2381
  try {
2382
2382
  const prismaModule = await import(pathToFileURL(prismaPath).href);
2383
+ if (!prismaModule.PrismaClient) {
2384
+ errors.push(`${prismaPath}: Module does not export PrismaClient`);
2385
+ continue;
2386
+ }
2383
2387
  PrismaClientConstructor = prismaModule.PrismaClient;
2384
2388
  if (prismaModule.Prisma?.dmmf?.datamodel) {
2385
2389
  cachedSchema = prismaModule.Prisma.dmmf.datamodel;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibecodeapp/cloud-studio",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Lightweight database UI for SQLite with Prisma",
5
5
  "type": "module",
6
6
  "main": "dist/server/index.js",