import { execSync } from 'child_process' export const packageName = '@vtexlab/sales-app-extensions' export const getPackageVersion = () => { const version = execSync(`npm view ${packageName} version`, { stdio: ['pipe', 'pipe', 'ignore'], }) return version.toString('utf8').trim() }