Change and update writeVersionToPackages to writeVersionsToPackages
gaspard opened this issue · comments
Gaspard Bucher commented
This action should update cross-dependencies as well as individual package version in package.json. We probably need '^' versions.
This works by reading the package.json for each package, detecting any cross dependency and updating to new version.
Note: we need to change getCurrentVersionByPackage
to use packagesPath
(if it exists) to glob for all packages and then query npm registry. Otherwise we only have knowledge about changed packages and we have no way to identify all cross-dependencies.
Gaspard Bucher commented
Has been fixed.