Skip to content

Commit

Permalink
[DOCS] Add docs for some useful monorepo commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Jenkins committed Jul 30, 2021
1 parent 54dfdec commit 47144aa
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/dev/monorepo.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,17 @@ Some uses cases for this:

* If your organisation has a theme within a separate repository which you want to work on within the project.
* You use a shared plugin within a separate repository whcih you want to work on within the project.

## Useful commands

### Merge

`tools/monorepo-builder/vendor/bin/monorepo-builder merge`

> Merge the composer.json of all sub packages into the main composer.json
### Release

`tools/monorepo-builder/vendor/bin/monorepo-builder release v1.0.0`

> Release a new version of the main package and all sub-packages. Change v1.0.0 to the version you wish to release. Append `--dry-run` to do a dry run without actually releasing anything

0 comments on commit 47144aa

Please sign in to comment.