accordproject / template-archive

Smart Legal Contracts & Templating System
https://accordproject.org/projects/cicero/
Apache License 2.0
282 stars 119 forks source link

chore(deps): Migrate to lerna v7 #796

Closed martinhalford closed 1 year ago

martinhalford commented 1 year ago

Closes #779

Lerna Bootstrap has been deprecated as of Lerna version 7.

The linking of packages/* is now handled by npm using workspaces.

Changes

Author Checklist

martinhalford commented 1 year ago

Let's go all the way and remove the dependency on Lerna.

Dan did a similar thing for markdown-transform recently, https://github.com/accordproject/markdown-transform/pull/570/files

Can you also review the GitHub Actions scripts (in .github/workflows) too? Especially the build and publish steps.

OK. Let me see what I can do.

martinhalford commented 1 year ago

Let's go all the way and remove the dependency on Lerna. Dan did a similar thing for markdown-transform recently, https://github.com/accordproject/markdown-transform/pull/570/files Can you also review the GitHub Actions scripts (in .github/workflows) too? Especially the build and publish steps.

OK. Let me see what I can do.

@mttrbrts

I've removed Lerna completely. However, some stuff has been modified but not tested - most notably .github/workflows which were copy/pastes of @dselman's code from Markdown Transform.

I've also tweaked the license.config.json files; and renamed lerna.json to config.json and tweaked it, as that was still being referenced by scripts/timestamp.js.

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 6569311786


Totals Coverage Status
Change from base Build 6096098290: 0.0%
Covered Lines: 779
Relevant Lines: 872

💛 - Coveralls