"use strict";var _Object$defineProperty = require("@babel/runtime-corejs2/core-js/object/define-property");var _Object$keys = require("@babel/runtime-corejs2/core-js/object/keys");var _interopRequireDefault = require("@babel/runtime-corejs2/helpers/interopRequireDefault");_Object$defineProperty(exports, "__esModule", { value: true });var _exportNames = { projectPath: true, updateProjectPath: true, chalk: true, execa: true, semver: true, fs: true, minimist: true };_Object$defineProperty(exports, "chalk", { enumerable: true, get: function () {return _chalk.default;} });_Object$defineProperty(exports, "execa", { enumerable: true, get: function () {return _execa.default;} });_Object$defineProperty(exports, "fs", { enumerable: true, get: function () {return _fsExtra.default;} });_Object$defineProperty(exports, "minimist", { enumerable: true, get: function () {return _minimist.default;} });exports.projectPath = void 0;_Object$defineProperty(exports, "semver", { enumerable: true, get: function () {return _semver.default;} });exports.updateProjectPath = void 0;var _logger = require("./lib/logger.js");_Object$keys(_logger).forEach(function (key) {if (key === "default" || key === "__esModule") return;if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;if (key in exports && exports[key] === _logger[key]) return;_Object$defineProperty(exports, key, { enumerable: true, get: function () {return _logger[key];} });});
var _spinner = require("./lib/spinner.js");_Object$keys(_spinner).forEach(function (key) {if (key === "default" || key === "__esModule") return;if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;if (key in exports && exports[key] === _spinner[key]) return;_Object$defineProperty(exports, key, { enumerable: true, get: function () {return _spinner[key];} });});

var _chalk = _interopRequireDefault(require("chalk"));
var _execa = _interopRequireDefault(require("execa"));
var _semver = _interopRequireDefault(require("semver"));
var _fsExtra = _interopRequireDefault(require("fs-extra"));
var _minimist = _interopRequireDefault(require("minimist"));

// 取项目路径  单独提到util test bugfix
let projectPath = exports.projectPath = process.env.PATH_PROJECT || process.cwd();

const updateProjectPath = (newProjectPath) => {
  exports.projectPath = projectPath = newProjectPath;
};exports.updateProjectPath = updateProjectPath;