Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/bs / shell / params / YARN_VERSION.js
Size: Mime:
const { execSync } = require('child_process')
const toSemVer = require('./toSemVer')

const output = execSync('yarn --version').toString().trim()
const YARN_VERSION = toSemVer(output, '1.5+')

module.exports = YARN_VERSION