Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

Commit

Permalink
chore: downgrade lerna because 3.x.x does not work
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandru committed Nov 30, 2018
1 parent a0c549b commit 7da846e
Show file tree
Hide file tree
Showing 3 changed files with 445 additions and 2,147 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"fs-extra": "^7.0.1",
"husky": "^1.2.0",
"jsverify": "^0.8.4",
"lerna": "^3.5.1",
"lerna": "^2.8.0",
"mocha": "^5.2.0",
"nyc": "^13.1.0",
"rimraf": "^2.6.2",
Expand Down
6 changes: 5 additions & 1 deletion scripts/npm-publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,8 @@ if (!version) {
console.info(`Version detected: ${version}`)
process.chdir(path.join(path.dirname(process.argv[1]), ".."))

exec(`lerna publish ${version} --no-git-reset --no-git-tag-version --no-push --yes --force-publish`)
// For "lerna" version 3:
// exec(`lerna publish ${version} --no-git-reset --no-git-tag-version --no-push --yes --force-publish`)

// For "lerna" version 2:
exec(`lerna publish --skip-git --yes --force-publish --repo-version ${version}`)
Loading

0 comments on commit 7da846e

Please sign in to comment.