Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
steps:
- *attach_workspace
- run: npm set //registry.npmjs.org/:_authToken=$NPM_TOKEN
- run: npm exec -- lerna publish from-git --ignore-scripts --no-verify-access --yes
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removes a deprecated Lerna flag – all access is now verified by default

- run: npm exec -- lerna publish from-git --ignore-scripts --yes

workflows:
main:
Expand Down
4 changes: 3 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@
],
"command": {
"publish": {
"preDistTag": "next",
"registry": "https://registry.npmjs.org/"
},
"version": {
"allowBranch": "main",
"message": "chore(release): publish"
"message": "chore(release): publish",
"preid": "next"
}
}
}
2 changes: 1 addition & 1 deletion utils/scripts/tag.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ const version = async (bump, preid, main, spinner) => {
let tag;

if (bump) {
lernaArgs.splice(2, 0, bump);
lernaArgs.splice(4, 0, bump);
} else {
info('Commits since current version:', spinner);
spinner.stop();
Expand Down