Merge pull request #1979 from 0xProject/fix/updateLerna

Update Lerna fork to latest version
This commit is contained in:
Fabio B 2019-07-23 00:07:55 +02:00 committed by GitHub
commit ff8fabf49e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1459 additions and 476 deletions

View File

@ -77,7 +77,7 @@
"graceful-fs": "4.1.15" "graceful-fs": "4.1.15"
}, },
"devDependencies": { "devDependencies": {
"@0x-lerna-fork/lerna": "3.0.0-beta.26", "@0x-lerna-fork/lerna": "3.16.7",
"@0xproject/npm-cli-login": "^0.0.11", "@0xproject/npm-cli-login": "^0.0.11",
"async-child-process": "^1.1.1", "async-child-process": "^1.1.1",
"bundlewatch": "^0.2.1", "bundlewatch": "^0.2.1",

View File

@ -261,10 +261,13 @@ async function lernaPublishAsync(packageToNextVersion: { [name: string]: string
configs.NPM_REGISTRY_URL configs.NPM_REGISTRY_URL
} --yes`; } --yes`;
if (configs.IS_LOCAL_PUBLISH) { if (configs.IS_LOCAL_PUBLISH) {
lernaPublishCmd += ` --skip-git`; lernaPublishCmd += ` --no-git-tag-version --no-push`;
} }
utils.log('Lerna is publishing...'); utils.log('Lerna is publishing...');
await execAsync(lernaPublishCmd, { cwd: constants.monorepoRootPath }); await execAsync(lernaPublishCmd, {
cwd: constants.monorepoRootPath,
maxBuffer: 102400000, // 500 * 1024 * 200
});
} }
function updateVersionNumberIfNeeded(currentVersion: string, proposedNextVersion: string): string { function updateVersionNumberIfNeeded(currentVersion: string, proposedNextVersion: string): string {

1926
yarn.lock

File diff suppressed because it is too large Load Diff