
From Lerna to Changesets
If you've been following the saga of my Pedalboard monorepo, you'll know that Lerna and I have a... complicated relationship. I originally reached for it in my No BS monorepo series to handle the two things monorepos constantly need: versioning and publishing. It worked, then it stopped being maintained , then it rose from the ashes as a phoenix , and here we are - still using it. But lately I've been looking at Changesets and wondering if it's time to finally make the switch. What Lerna Actually Does in Pedalboard (at This Point) This is worth being honest about, because Lerna's scope in this project has been narrowing for a while. What's left for Lerna is captured in two blocks of lerna.json : { "npmClient" : "pnpm" , "useNx" : false , "command" : { "publish" : { "ignoreChanges" : [ "ignored-file" , "*.md" ], "message" : "chore(release): publish %s" }, "version" : { "message" : "chore(release): version" , "allowBranch" : "master" , "conventionalCommits" : true } }, "packages" : [ "pa
Continue reading on Dev.to Webdev
Opens in a new tab
