Fixed Packages
Fixed packages allow you to specify a group or groups of packages that should be versioned and published together. They can be configured with the fixed option.
Compared to linked packages
With fixed packages, all packages in the group will be version-bumped and published together even when there are no changes done to some of the the member packages, which means all packages will always have the same version.
Examples
General Example
Let's say we have three packages, pkg-a, pkg-b, and pkg-c. pkg-a and pkg-b are fixed but pkg-c is not so the config looks like this:
{
"fixed": [["pkg-a", "pkg-b"]]
}pkg-ais at1.0.0pkg-bis at1.0.0pkg-cis at1.0.0
We have a changeset with a patch for pkg-a, minor for pkg-b and major for pkg-c, and we do a release, the resulting versions will be:
pkg-ais at1.1.0pkg-bis at1.1.0pkg-cis at2.0.0
We now have another changeset with a minor for pkg-a, and we do a release, the resulting versions will be:
pkg-ais at1.2.0pkg-bis at1.2.0pkg-cis at2.0.0