Skip to content

Commit

Permalink
build: 📦️ disable sync with cnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
bubkoo committed Dec 24, 2020
1 parent c0097f4 commit 97b3001
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/monorepo-semantic-release/src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,13 +239,13 @@ export namespace Plugin {
const ret = await pub
await fse.writeFile(pkgPath, pkgRaw)

const sync = execa('cnpm', ['sync', pkg.name], {
cwd: pkg.dir,
env: context.env,
}) as any
sync.stdout.pipe(ctx.stdout, { end: false })
// const sync = execa('cnpm', ['sync', pkg.name], {
// cwd: pkg.dir,
// env: context.env,
// }) as any
// sync.stdout.pipe(ctx.stdout, { end: false })
// sync.stderr.pipe(ctx.stderr, { end: false })
await sync
// await sync

return ret
}
Expand Down

0 comments on commit 97b3001

Please sign in to comment.