How to use the @prisma/fetch-engine.getLatestAlphaTag function in @prisma/fetch-engine

To help you get started, we’ve selected a few @prisma/fetch-engine examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github prisma / prisma2 / cli / prisma2 / scripts / updateTag.js View on Github external
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))
}
github prisma / prisma2 / cli / prisma2 / scripts / updateTag.js View on Github external
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))
}

@prisma/fetch-engine

This package is intended for Prisma's internal use

Apache-2.0
Latest version published 4 days ago

Package Health Score

95 / 100
Full package analysis

Similar packages