mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 22:46:16 +00:00
Feature/nodejs (#397)
* Add node support using nvm * Add icon * Rename to NodeJS * Rename to NodeJS * update php and node logo * only services which have units can be started,restarted,stopped,disabled and enabled * add tests --------- Co-authored-by: Saeed Vaziry <mr.saeedvaziry@gmail.com> Co-authored-by: Saeed Vaziry <61919774+saeedvaziry@users.noreply.github.com>
This commit is contained in:
32
app/Enums/NodeJS.php
Normal file
32
app/Enums/NodeJS.php
Normal file
@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
use App\Traits\Enum;
|
||||
|
||||
final class NodeJS
|
||||
{
|
||||
use Enum;
|
||||
|
||||
const NONE = 'none';
|
||||
|
||||
const V4 = '4';
|
||||
|
||||
const V6 = '6';
|
||||
|
||||
const V8 = '8';
|
||||
|
||||
const V10 = '10';
|
||||
|
||||
const V12 = '12';
|
||||
|
||||
const V14 = '14';
|
||||
|
||||
const V16 = '16';
|
||||
|
||||
const V18 = '18';
|
||||
|
||||
const V20 = '20';
|
||||
|
||||
const V22 = '22';
|
||||
}
|
Reference in New Issue
Block a user