aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts/src/publish.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-24 19:21:28 +0800
committerFabio Berger <me@fabioberger.com>2018-07-24 19:21:28 +0800
commite9e73aa0a3c39dd9ad39749cc3df4e766edd816c (patch)
tree4bcb3a7408ce7b2fde5b4fa2092ab823419c8234 /packages/monorepo-scripts/src/publish.ts
parentd280311734a26aed731bae4bcba5b091054a99f8 (diff)
downloaddexon-0x-contracts-e9e73aa0a3c39dd9ad39749cc3df4e766edd816c.tar.gz
dexon-0x-contracts-e9e73aa0a3c39dd9ad39749cc3df4e766edd816c.tar.zst
dexon-0x-contracts-e9e73aa0a3c39dd9ad39749cc3df4e766edd816c.zip
Add node
Diffstat (limited to 'packages/monorepo-scripts/src/publish.ts')
-rw-r--r--packages/monorepo-scripts/src/publish.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/monorepo-scripts/src/publish.ts b/packages/monorepo-scripts/src/publish.ts
index 39af64a5a..bc8d76ac6 100644
--- a/packages/monorepo-scripts/src/publish.ts
+++ b/packages/monorepo-scripts/src/publish.ts
@@ -180,7 +180,7 @@ async function lernaPublishAsync(packageToNextVersion: { [name: string]: string
const packageVersionString = _.map(packageToNextVersion, (nextVersion: string, packageName: string) => {
return `${packageName}@${nextVersion}`;
}).join(',');
- const lernaPublishCmd = `${constants.lernaExecutable} publish --cdVersions=${packageVersionString} --skip-git`;
+ const lernaPublishCmd = `node ${constants.lernaExecutable} publish --cdVersions=${packageVersionString} --skip-git`;
console.log('lernaPublishCmd', lernaPublishCmd);
const { stdout, stderr } = await execAsync(lernaPublishCmd, { cwd: constants.monorepoRootPath });
console.log('stdout, stderr', stdout.toString(), stderr.toString());