corpsee / phpci-yarn-plugin

Yarn plugin for PHPCI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yarn plugin for PHPCI

A plugin for PHPCI to download and install npm packages required by your application.

Install the Plugin

  1. Navigate to your PHPCI root directory and run composer require hammock/yarn-phpci-plugin
  2. If you are using the PHPCI daemon, restart it
  3. Update your phpci.yml in the project you want to deploy with

Prerequisites

  1. 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

About

Yarn plugin for PHPCI

License:MIT License


Languages

Language:PHP 100.0%