UNPKG

@ycmd/commands

Version:

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

9 lines (7 loc) 517 B
import { writeFile } from 'node:fs/promises'; import { join } from 'node:path'; import { createCommand, shellParallel, readJson } from 'ycmd'; var b=createCommand({command:"bump",describe:"bump package version",async main({isRoot:i,cwd:m,ctx:r}){if(i){await shellParallel("ycmd bump",{ctx:r});return}let a=join(m,"package.json"),e=await readJson(a);await writeFile(a,JSON.stringify({...e,"//":`${e["//"]||""}/`},null,2));}}); export { b as default }; //# sourceMappingURL=out.js.map //# sourceMappingURL=bump.js.map