Simple CI tool for yarn based monorepos
The goal of this project is to simplify running tests and deploying projects in a monorepo. It tracks changed files to rebuild, test and deploy only if a project, or one of its dependency has changed.
npm i -g @th3rdwave/pour
pour [options] Options: -v, --version output the version number -r, --root [path] The root directory of the monorepo, relative to the cwd. -m, --meta [path] Directory where metadata about changed files is saved. -h, --help output usage information
Figure out a good way to leverage native CI parallelism features (CircleCI jobs, Buildkite pipelines).
workspacesfield used by yarn workspaces instead of custom projects config. This would give us the list of all projects and we could deduce dependencies by looking at each individual project's package.json dependencies.
Not sure if it is a non-goal or not but make it less yarn specific and support different commands.