HomePhabricator

[ecash-herald + token-server] Update typescript and docker build settings

Description

[ecash-herald + token-server] Update typescript and docker build settings

Summary:
These apps are on a similar stack and seeing similar failures in CI.

I am not sure about the ecash-lib build related failure they are both now seeing in CI, but, since it happened after both added the "exclude: node_modules/" setting, I am removing this. Typescript does this by default, potentially it is interfering with other dependencies.

Add tsconfig.build.json so that we do not build the test files.

ecash-herald needs mock-chronik-client as this is used in scripts. Maybe we do not need to build scripts but they could be useful on the server.

Test Plan:
docker build -f ecash-herald.Dockerfile -t ecash-herald_local .
docker build -f token-server.Dockerfile -t token-server_local .

local builds pass, but I have not managed to repeat the failure currently seen in CI

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Subscribers: emack

Differential Revision: https://reviews.bitcoinabc.org/D17065

Details

Provenance
bytesofmanAuthored on Sun, Nov 3, 12:13
bytesofmanPushed on Mon, Nov 4, 16:30
Reviewer
Restricted Project
Differential Revision
D17065: [ecash-herald + token-server] Update typescript and docker build settings
Parents
rABC600fa4f562d8: [CI] Fix the wasm build in the container
Branches
Unknown
Tags
Unknown