🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@prisma/studio-core

Package Overview
Dependencies
Maintainers
7
Versions
1375
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prisma/studio-core

Modular Prisma Studio components

Source
npmnpm
Version
0.16.2
Version published
Weekly downloads
4.7M
27.08%
Maintainers
7
Weekly downloads
 
Created
Source

@prisma/studio-core

@prisma/studio-core is the embeddable Prisma Studio package.

It provides the same core experience as Prisma Studio: a visual way to explore schema, browse table data, edit rows, filter/sort/paginate records, inspect relation data, and run SQL queries with an operation log.

This package is published to npm and consumed by Prisma surfaces such as Console and CLI integrations.

Telemetry

This package includes anonymized telemetry to help us improve Prisma Studio. Use implies consent. Learn more in our Privacy Policy.

Run Studio Locally

Requirements:

  • Node.js >=22
  • pnpm 8
  • bun

Install dependencies and start the demo:

pnpm install
pnpm demo:ppg

Then open http://localhost:4310.

The demo:

  • starts Prisma Postgres dev (ppg-dev) programmatically via @prisma/dev
  • uses direct TCP for query execution
  • seeds sample relational data on startup
  • auto-rebuilds and reloads the UI when source files change

The demo database is intentionally ephemeral: it is pre-seeded when the demo starts and reset when the demo process stops.

Useful Commands

  • pnpm demo:ppg - run local Studio demo with seeded Prisma Postgres dev
  • pnpm typecheck - run TypeScript checks
  • pnpm lint - run ESLint (--fix)
  • pnpm test - run default vitest suite
  • pnpm test:checkpoint - run checkpoint tests
  • pnpm test:data - run data-layer tests
  • pnpm test:ui - run UI tests
  • pnpm test:e2e - run e2e tests
  • pnpm build - build distributable package with tsup
  • pnpm check:exports - validate package export map/types

Development Workflow

For day-to-day development, use an agent with Playwright available and let the agent run the demo itself.

Recommended flow:

  • Let the agent run pnpm demo:ppg.
  • Let the agent inspect terminal logs and browser behavior together.
  • Let the agent verify UI state via Playwright after changes.

Because the demo is pre-seeded and resets between runs, update seed data whenever needed to reproduce richer scenarios.

Seed data lives in /Users/sorenschmidt/code/studio/demo/ppg-dev/server.ts (seedDatabase).

FAQs

Package last updated on 03 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts