@prisma/templates

0.25.4 • Public • Published

templates-node

trunk

Prisma templates packaged up for programmatic consumption.

Documentation

Development:

  1. Install sha1sum library (for macOS via brew install md5sha1sum).
  2. yarn run build:gen
  3. yarn dev

Testing

  • yarn test:db:up to start test databases

Creating a File Transformer

  1. Create a file transformer module in src/fileTransformers
  2. Export its contents in src/fileTransformers/index_.ts

That's it, it will now be run in the file transform stack. How? Look in the code generator template code.

Dependencies (6)

Dev Dependencies (42)

Package Sidebar

Install

npm i @prisma/templates

Weekly Downloads

112

Version

0.25.4

License

MIT

Unpacked Size

1.26 MB

Total Files

760

Last publish

Collaborators

  • prismabot