Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async function main() {
const tag = await getLatestAlphaTag()
console.log(tag)
pkg.prisma = pkg.prisma || {}
pkg.prisma.version = tag
fs.writeFileSync(path.join(__dirname, '../package.json'), JSON.stringify(pkg, null, 2))
}
async function main() {
const tag = await getLatestAlphaTag()
console.log(tag)
pkg.prisma = pkg.prisma || {}
pkg.prisma.version = tag
fs.writeFileSync(path.join(__dirname, '../package.json'), JSON.stringify(pkg, null, 2))
}