Skip to content

Commit

Permalink
chore(release): force public access on npm release (#1288)
Browse files Browse the repository at this point in the history
  • Loading branch information
francoischalifour committed Jun 23, 2021
1 parent 9d2d23b commit 2fefd78
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ship.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ module.exports = {
getTagName: ({ version }) => `${version}`,
conventionalChangelogArgs:
'--config conventional-changelog.config.js --infile CHANGELOG.md --same-file',
publishCommand({ tag }) {
return `npm publish --access public --tag ${tag}`;
},
async versionUpdated({ version, dir }) {
// Update version with lerna
await exec(`lerna version ${version} --no-git-tag-version --no-push --exact --yes`);
Expand Down

0 comments on commit 2fefd78

Please sign in to comment.