Some checks are pending
Module sub-split / Sub-split (push) Waiting to run
- Base: wintercms/winter branch 1.2 (full framework) - Theme vivespos: Canvas 7 + Bootstrap 5 CDN, custom CSS - Layout: deferred GTM/GA4 tracking, JSON-LD SoftwareApplication - Partials: hero (offline-first), features, modes (offline/nube toggle), screenshots, pricing (3 planes), comparison, FAQ, CTA - Plugin VivesPOS.Site with ContactForm - Dockerfile: PHP 8.2 Apache, port 80, healthcheck - Added winter/wn-pages, blog, sitemap, seo plugins - Active theme set to vivespos
45 lines
1.3 KiB
PHP
45 lines
1.3 KiB
PHP
<?php namespace System\Console\Asset\Mix;
|
|
|
|
use System\Console\Asset\AssetInstall;
|
|
|
|
class MixInstall extends AssetInstall
|
|
{
|
|
/**
|
|
* @var string|null The default command name for lazy loading.
|
|
*/
|
|
protected static $defaultName = 'mix:install';
|
|
|
|
/**
|
|
* @var string The name and signature of this command.
|
|
*/
|
|
protected $signature = 'mix:install
|
|
{assetPackage?* : The asset package name to install.}
|
|
{--no-install : Tells Winter not to run npm install after config update.}
|
|
{--npm= : Defines a custom path to the "npm" binary.}
|
|
{--d|disable-tty : Disable tty mode.}
|
|
{--s|silent : Enables silent mode, no output will be shown.}
|
|
{--p|package-json= : Defines a custom path to "package.json" file. Must be above the workspace path.}';
|
|
|
|
/**
|
|
* @var string The console command description.
|
|
*/
|
|
protected $description = 'Install Node.js dependencies required for mixed assets';
|
|
|
|
/**
|
|
* The asset compiler being used
|
|
*/
|
|
protected string $assetType = 'mix';
|
|
|
|
/**
|
|
* The asset config file
|
|
*/
|
|
protected string $configFile = 'winter.mix.js';
|
|
|
|
/**
|
|
* The required packages for this compiler
|
|
*/
|
|
protected array $requiredDependencies = [
|
|
'laravel-mix' => '^6.0.41',
|
|
];
|
|
}
|