We were using the @ni/beachball-lock-update package to work around a bug with how beachball modifies package-lock.json when publishing. That bug has been addressed in more recent versions of beachball so we can stop using the workaround.
Remove @ni/beachball-lock-update from package.json and beachball.config.js.
Install the latest version of beachball
Testing
We've been running with this setup in Nimble for a few months and it's worked well
I verified that basic beachball commands still work
I'll monitor the publishing pipeline as future changes go in. I considered making a trivial edit to a pakckage to trigger a publish but that seems pretty noisy now that our apps uptake new versions every night.
Justification
We were using the
@ni/beachball-lock-update
package to work around a bug with how beachball modifiespackage-lock.json
when publishing. That bug has been addressed in more recent versions of beachball so we can stop using the workaround.This moves us towards fixing this Nimble issue.
Implementation
@ni/beachball-lock-update
frompackage.json
andbeachball.config.js
.beachball
Testing