I set up a small project for my "open-sourced" libraries here that uses Lerna to automate publishing such projects. For some reason I can’t understand every package gets bumped every time lerna publish
runs in the CI.
Expected Behavior
only packages actually changed get published
Current Behavior
all packages always get published
Possible Solution
♂️
Steps to Reproduce (for bugs)
download my repo, run lerna updated
and both of my packages are always there
{
"packages": ["packages/*"],
"version": "independent",
"npmClient": "yarn",
"command": {
"publish": {
"ignoreChanges": [
"**/CHANGELOG.md",
"**/node_modules/**",
"**/package.json",
"**/*.md",
"**/*.spec.*",
"**/*.stories.*"
],
"conventionalCommits": true,
"message": "chore(release): publish",
"registry": "https://registry.npmjs.org"
}
}
}
Context
my semver is not very coherent
Your Environment
typescript repository
| Executable | Version |
| ---: | :--- |
| lerna --version
| 3.22.1 |
| npm --version
| 6.14.4 |
| yarn --version
| 1.22.4 |
| node --version
| 13.12.0 |
| OS | Version | | macOS Catalina | 10.15.5 |