UNPKG

prisma

Version:

Prisma is an open-source database toolkit. It includes a JavaScript/TypeScript ORM for Node.js, migrations and a modern GUI to view and edit the data in your database. You can use Prisma in new projects or add it to an existing one.

13 lines (9 loc) 343 B
#!/usr/bin/env node const path = require('path') const { getPackedPackage } = require('@prisma/sdk') async function main() { const target = path.join(process.cwd(), './node_modules/@prisma/client') await getPackedPackage('@prisma/client', target, path.join(__dirname, '../')) console.log(`Saving packed client to ${target}`) } main()