hammock / phpci-yarn-plugin
PHPCI plugin for yarn integration
v0.0.2
2018-02-26 11:46 UTC
Requires
- php: >=5.4.0
Requires (Dev)
- block8/phpci: 1.6.x
This package is not auto-updated.
Last update: 2025-03-19 12:42:25 UTC
README
A plugin for PHPCI to download and install npm packages required by your application.
Install the Plugin
- Navigate to your PHPCI root directory and run
composer require hammock/yarn-phpci-plugin
- If you are using the PHPCI daemon, restart it
- Update your
phpci.yml
in the project you want to deploy with
Prerequisites
- yarn needs to be installed.
Plugin Options
- command [string, require] - Command name. See docs
- directory [string, optional] - Relative path to run yarn command in.
- flags [list, optional] - Command flags
PHPCI Config
Hammock\PHPCI\Yarn: command: install