Docmaps-Project / docmaps

Extensible protocol for document history metadata exchange, to enable trustworthy, rapid, open science, by and for preprint science communities.
MIT License
15 stars 1 forks source link

all: Fix use of `prepare` script so that cross-workspace dependency builds are safe #118

Closed ships closed 1 year ago

ships commented 1 year ago

Bug Report

Packages affected:

Expected behavior

Using prepare to compile cross-workspace dependencies on install means that typescript tools are needed even in a "prod" context. We need to investigate the best ways to run pnpm install for cross-workspace dependencies in release, docker, other contexts.

Actual behavior

We have to install typescript in our docker container's prod stage. We have to include @tsconfig sub-dependencies as prod dependencies.

Additional information