Files
openstapps/README.md
2023-05-31 14:04:03 +02:00

963 B

Open StApps Monorepo

Remote caching

Turbo supports remote caching, which massively speeds up build processes.

Connecting to the remote cache locally

.env.local

TURBO_API=http://example:3000
TURBO_TEAM=openstapps
TURBO_TOKEN=abc123

Connecting to the remote cache in GitLab Pipelines

You will need to define

  • TURBO_API
  • TURBO_TEAM
  • TURBO_TOKEN Like you did locally as described in this guide.

Hosting a cache

Self-hosting via Docker is extremely simple, just follow this guide or in short:

.env

PORT=...
TURBO_TOKEN=...
docker run --env-file=.env -p 3000:3000 fox1t/turborepo-remote-cache

Useful commands

Why is this package bloating the app?

pnpm why -P -r --filter @openstapps/app PACKAGE

Licenses

pnpm licenses -P --filter PROJECT