UNPKG

@ycmd/run

Version:

LSK.js CLI Creds is the easiest way to manage GitHub / Gitlab secrets and credentials

10 lines (7 loc) 466 B
'use strict'; var path = require('path'); var utils = require('@ycmd/utils'); var t=Object.defineProperty;var c=(o,n)=>t(o,"name",{value:n,configurable:!0});async function m(o={cwd:process.cwd()}){let n=["lerna.json","pnpm-workspace.yaml"],{cwd:e=process.cwd()}=o,r=await utils.findFileUp(n,{cwd:e});return r?path.join(r,".."):null}c(m,"findMonorepoRoot"); exports.findMonorepoRoot = m; //# sourceMappingURL=out.js.map //# sourceMappingURL=findMonorepoRoot.js.map