Page MenuHomePhabricator

[ecash-lib] Install deps from npm before publishing
Needs ReviewPublic

Authored by bytesofman on Wed, Nov 27, 18:41.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

This follows the same approach used for chronik-client. Installers of the published npm module ecash-lib cannot get its required dependencies from the monorepo in the same way that abc monorepo apps can.

So, before we publish, we replace the local deps with the latest published deps.

Test Plan

docker build -f ecash-lib.Dockerfile -t ecash-lib_local . builds

Diff Detail

Repository
rABC Bitcoin ABC
Branch
ecash-lib-publish-with-npm-deps
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 31352
Build 62202: Build Diff
Build 62201: arc lint + arc unit

Event Timeline

bytesofman added inline comments.
ecash-lib.Dockerfile
6

the uppercase switch is from a lint rule in docker files that must be newer than this file