UNPKG

343 BJavaScriptView Raw
1#!/usr/bin/env node
2
3const path = require('path')
4const { getPackedPackage } = require('@prisma/sdk')
5
6async function main() {
7 const target = path.join(process.cwd(), './node_modules/@prisma/client')
8 await getPackedPackage('@prisma/client', target, path.join(__dirname, '../'))
9 console.log(`Saving packed client to ${target}`)
10}
11
12main()