Page MenuHomePhabricator

Use pnpm workspace syntax in the monorepo
ClosedPublic

Authored by Fabien on May 8 2026, 10:15.

Details

Reviewers
bytesofman
Group Reviewers
Restricted Project
Commits
rABC73e7a759372b: Use pnpm workspace syntax in the monorepo
Summary

The workspace syntax will cause pnpm to resolve the dependencies using the monorepo, but publish as npm packages. The workspace:^ syntax in particular will translate to "package": "^x.y.z" where x.y.z is the actual version from the monorepo package.json of the module.

The diff converts all our local monorepo dependencies to this syntax.

The docker files are updated accordingly and hopefully consistent.

Test Plan

Check if the CI is happy.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien requested review of this revision.May 8 2026, 10:15
bytesofman added a subscriber: bytesofman.

let's back out the "for testing" tarball thing from the ecash-wallet dockerfile and give it a go. If ecash-wallet is good, we can implement the same "build it all locally before publishing" approach for the other packages.

This revision is now accepted and ready to land.May 8 2026, 13:14
Fabien retitled this revision from [WIP] Use pnpm workspace syntax in the monorepo to Use pnpm workspace syntax in the monorepo.May 8 2026, 13:54
Fabien edited the summary of this revision. (Show Details)
Fabien edited the test plan for this revision. (Show Details)
This revision was automatically updated to reflect the committed changes.