prismaliser

Visualise your Prisma schema!

MIT License

Stars
865
prismaliser - v1.0.1 Latest Release

Published by Ovyerus about 3 years ago

Fixes

  • Add a fix for Vercel not discovering Prisma's query engine binaries (01386ef64a3d4a90878a3a2d2153a87f03b9f408)
  • Make the initial schema given a full schema to prevent initial error from the native type (95f9aab414191e78821ed4a92fedda95c515b61b)
prismaliser - v1.0.0

Published by Ovyerus over 3 years ago

The first release of Prismaliser!

This release includes:

  • Monaco-powered editor to provide inline error hints and syntax highlighting.
  • React Flow-powered workspace view for visualising relations between models.
  • A button for formatting the schema using Prisma's built in formatter.

What's coming soon:

  • Multi-history support (user defined saves).
  • Sharing a schema with other users via a generated link (similar to TypeScript's playground).
  • Saving node positions across page resets.
  • Autocomplete for the editor (very big, Monaco is a bit fiddly at times, would probably need to do some looking at the VSCode plugin for Prisma to figure out some stuff).

Known issues

  • When resizing the window, the editor & flow view don't resize, causing some elements to overflow off the screen with no way to get them without refreshing.