This is a consumable artifact for the Courtyard Pattern Library.
It includes tooling to regenerate from the Pattern Lab and sync to this artifact.
Lando is used for easy PHP and Node environments and is configured with the following commands:
clone:
description: Clone Courtyard to build an artifact, or for development. `lando clone`
...
artifact:
description: (Re)build the artifact.
...
patch:
description: Apply patches from /patches to couryard.
...
sync:
description: Sync built assets to artifact.
...
clone [this repo]
cd [this repo directory]
lando start
lando clone -b [branch to checkout]
- At this time,development
branch gives the best results. Please update this if that changes.lando patch
- will apply patches from/patches
. This currently fixes the Courtyard composer.json and gulpfile.js files to allow installation with separate docker containers for PHP and Nodejs.lando artifact
- will install and build the pattern library as well as sync it to the/public
directory of this artifact.
See Courtyard's Composer Install Wizard Docs for the answers to the prompts during install.
See the Courtyard Repository for additional information and troubleshooting.
- Testing workflow TBD
- After a new build is tested and verified commit the changes to this courtyard-artifact repo on
master
branch. - Add a new version tag: x.y.z
- Push master and tag to Github
- Packagist should be updated automatically.
Your artifact can now be installed via composer require <vendor tbd>/courtyard-artifact
.