@knapsack/app
Version:
Build Design Systems with Knapsack
17 lines • 515 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isInMonorepo = void 0;
exports.setCliCommand = setCliCommand;
exports.getCliCommand = getCliCommand;
let cliCommand = 'unknown';
function setCliCommand(cmd) {
cliCommand = cmd;
}
function getCliCommand() {
return cliCommand;
}
/**
* Determine if the current process is running in our internal monorepo or a user's workspace
*/
exports.isInMonorepo = !__dirname.includes('node_modules');
//# sourceMappingURL=utils.js.map