fp/pnpm-workspace.yaml

11 lines
721 B
YAML

## We differentiate packages and services in order to make Dockerfile builds less terse.
## When we are building a docker image for a service, we need to include all their package dependencies.
## Instead of having to manually pick and choose every dependent package into the build context,
## we can just copy all the packages/* into build context.
## For example, when we are building fp/scout, we don't want to include @futureporn/next or @futureporn/strapi in the docker build context.
## @futureporn/scout, @futureporn/strapi, @futureporn/next would all be considered services.
## In other words, services/* depend on packages, but packages/* do not depend on services/*
packages:
- 'packages/*'
- 'services/*'