"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getPackageVersion = exports.packageName = void 0;
const child_process_1 = require("child_process");
const package_json_1 = require("../../../package.json");
exports.packageName = package_json_1.name;
const getPackageVersion = () => {
    const version = (0, child_process_1.execSync)(`npm view ${exports.packageName} version`, {
        stdio: ['pipe', 'pipe', 'ignore'],
    });
    return version.toString('utf8').trim();
};
exports.getPackageVersion = getPackageVersion;
//# sourceMappingURL=package.js.map