You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "During `lerna add`, save the exact version of the newly added package. During `lerna version`, specify cross-dependency version numbers exactly rather than with a caret (^)."
1533
1536
},
1537
+
"independentSubpackages": {
1538
+
"type": "boolean",
1539
+
"description": "Exclude sub-packages when versioning"
@@ -417,6 +418,14 @@ When run with this flag, `lerna version` will specify updated dependencies in up
417
418
418
419
For more information, see the package.json [dependencies](https://docs.npmjs.com/files/package.json#dependencies) documentation.
419
420
421
+
### `--independent-subpackages`
422
+
423
+
```sh
424
+
lerna version --independent-subpackages
425
+
```
426
+
427
+
If `package B`, being a child of `package A`, has changes they will normally both get bumped although `package A` itself is eventually unchanged. If this flag is enabled and only `package B` was actually changed, `package A` will not get bumped if it does not have any changes on its own.
0 commit comments