UNPKG

@ycmd/creds

Version:

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

13 lines (11 loc) 701 B
import { a as a$1 } from './chunk-2DAEZBCF.js'; import { a as a$2 } from './chunk-DICHJNT3.js'; import { a as a$3 } from './chunk-6FJTHGBR.js'; import { a } from './chunk-CSGQ5YH5.js'; import { existsSync } from 'node:fs'; import { Err } from '@lsk4/err'; import { map, mapSeries } from 'fishbird'; async function S(n,s={}){let m=await a$1(n),c=(await map(m,async r=>{let{filename:o}=r;return await existsSync(`${o}/index.js`)?r:null})).filter(Boolean);return mapSeries(c,async({filename:r})=>{await a$2(r,s).catch(o=>{a$3.error(`Build error ${r}: `,Err.getMessage(o)),a$3.error(o);});})}a(S,"buildDeep"); export { S as a }; //# sourceMappingURL=out.js.map //# sourceMappingURL=chunk-65IPF4J2.js.map