"use strict";
const path = require("path");
const productJsonPath = path.join(__dirname, "..", "product.json");
let product = require(productJsonPath);
const targetPkgJsonPath = path.join(__dirname, "..", "node_modules", product.targetId, "package.json");
try {
    const pkgJson = require(targetPkgJsonPath);
    product.version = pkgJson.version;
}
catch (e) {
    console.log("Error setting product version: " + e);
}
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = product;
