From e9e73aa0a3c39dd9ad39749cc3df4e766edd816c Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Tue, 24 Jul 2018 13:21:28 +0200 Subject: Add node --- packages/monorepo-scripts/src/publish.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') 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()); -- cgit