-
Clone this repo
git clone https://github.com/userfrosting/monorepo.git
-
Run Composer
composer install
-
Run Bake
php bakery serve
-
Run at the same time the PHP server and the Vite server is two terminals:
php bakery assets:vite
php bakery serve
...or use the VSCode
==> Serve
pre-configured task.
The app will be available at http://localhost:8080.
The monorepo is managed by Monorepo-builder on the Composer side.
It's important to edit the individual package composer.json
, not the root one. After each update, run this command.
vendor/bin/monorepo-builder merge
To release a new version, for example 6.0
, run this command. Composer will be updated, as well as NPM and a git tag will be pushed using the local user :
vendor/bin/monorepo-builder release 6.0
Or:
vendor/bin/monorepo-builder release patch
You can use minor
and major
too.