@rushstack/lockfile-explorer
Version:
Rush Lockfile Explorer: The UI for solving version conflicts quickly in a large monorepo
15 lines • 1.03 kB
JavaScript
;
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.LFX_PACKAGE_ROOT = exports.LFX_PACKAGE_NAME = exports.LFX_VERSION = void 0;
const node_core_library_1 = require("@rushstack/node-core-library");
const package_json_1 = __importDefault(require("../../package.json"));
exports.LFX_VERSION = package_json_1.default.version, exports.LFX_PACKAGE_NAME = package_json_1.default.name;
let _lfxPackageRoot = node_core_library_1.Path.convertToSlashes(__dirname);
_lfxPackageRoot = _lfxPackageRoot.slice(0, _lfxPackageRoot.lastIndexOf('/', _lfxPackageRoot.lastIndexOf('/') - 1));
exports.LFX_PACKAGE_ROOT = node_core_library_1.Path.convertToPlatformDefault(_lfxPackageRoot);
//# sourceMappingURL=constants.js.map