cerebral / repo-cooker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change and update writeVersionToPackages to writeVersionsToPackages

gaspard opened this issue · comments

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.

Has been fixed.