1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-18 20:40:36 +01:00

Correzioni minori sul modulo sperimentale

This commit is contained in:
Dasc3er 2021-03-15 16:06:47 +01:00
parent 457acd6f20
commit 1eef5b47b9
17 changed files with 9856 additions and 83 deletions

View File

@ -0,0 +1,221 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: OpenSTAManager\n"
"POT-Creation-Date: 2021-03-15 16:02+0100\n"
"PO-Revision-Date: 2017-09-06 09:35+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: it_IT\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.4.2\n"
"X-Poedit-Basepath: ../../..\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: tr\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPathExcluded-0: .svn\n"
"X-Poedit-SearchPathExcluded-1: assets\n"
"X-Poedit-SearchPathExcluded-2: backup\n"
"X-Poedit-SearchPathExcluded-3: vendor\n"
"X-Poedit-SearchPathExcluded-4: assets\n"
"X-Poedit-SearchPathExcluded-5: bower_components\n"
"X-Poedit-SearchPathExcluded-6: node_modules\n"
"X-Poedit-SearchPathExcluded-7: logs\n"
"X-Poedit-SearchPathExcluded-8: files\n"
"X-Poedit-SearchPathExcluded-9: docs\n"
"X-Poedit-SearchPathExcluded-10: .*\n"
"X-Poedit-SearchPathExcluded-11: *.log\n"
"X-Poedit-SearchPathExcluded-12: *.md\n"
"X-Poedit-SearchPathExcluded-13: *.json\n"
"X-Poedit-SearchPathExcluded-14: *.lock\n"
"X-Poedit-SearchPathExcluded-15: *.phar\n"
"X-Poedit-SearchPathExcluded-16: *.css\n"
"X-Poedit-SearchPathExcluded-17: *.js\n"
"X-Poedit-SearchPathExcluded-18: .git\n"
#: Resources/views/index.blade.php:10
msgid "Personalizzazioni"
msgstr ""
#: Resources/views/index.blade.php:19
msgid "Percorso"
msgstr ""
#: Resources/views/index.blade.php:20
msgid "Cartella personalizzata"
msgstr ""
#: Resources/views/index.blade.php:21
msgid "Database personalizzato"
msgstr ""
#: Resources/views/index.blade.php:27 Resources/views/index.blade.php:28
msgid "Si"
msgstr ""
#: Resources/views/index.blade.php:27 Resources/views/index.blade.php:28
msgid "No"
msgstr ""
#: Resources/views/index.blade.php:33
msgid "Si sconsiglia l'aggiornamento senza il supporto dell'assistenza ufficiale"
msgstr ""
#: Resources/views/index.blade.php:35
msgid "Non ci sono strutture personalizzate"
msgstr ""
#: Resources/views/index.blade.php:41 Resources/views/update.blade.php:41
msgid "Attenzione!"
msgstr ""
#: Resources/views/index.blade.php:41
msgid "Ci sono delle tabelle non previste nella versione standard del gestionale: _LIST_"
msgstr ""
#: Resources/views/index.blade.php:53
msgid "Devi modificare il seguenti parametri del file di configurazione PHP (_FILE_) per poter caricare gli aggiornamenti"
msgstr ""
#: Resources/views/index.blade.php:135
msgid "Carica un aggiornamento"
msgstr ""
#: Resources/views/index.blade.php:147
msgid "Carica"
msgstr ""
#: Resources/views/index.blade.php:158
msgid "Verifica l'integrità dell'intallazione"
msgstr ""
#: Resources/views/index.blade.php:166
msgid "Controlla file"
msgstr ""
#: Resources/views/index.blade.php:170
msgid "Controlla database"
msgstr ""
#: Resources/views/index.blade.php:174
msgid "Controlla gestionale"
msgstr ""
#: Resources/views/index.blade.php:184
msgid "Ricerca aggiornamenti"
msgstr ""
#: Resources/views/index.blade.php:192
msgid "Ricerca"
msgstr ""
#: Resources/views/index.blade.php:197
msgid "Estensione curl non supportata"
msgstr ""
#: Resources/views/index.blade.php:202
msgid "E' stato individuato un nuovo aggiornamento"
msgstr ""
#: Resources/views/index.blade.php:203
msgid "Attenzione: la versione individuata è in fase sperimentale, e pertanto può presentare diversi bug e malfunzionamenti"
msgstr ""
#: Resources/views/index.blade.php:205
msgid "Scaricalo manualmente (_LINK_) oppure in automatico"
msgstr ""
#: Resources/views/index.blade.php:208
msgid "Scarica"
msgstr ""
#: Resources/views/index.blade.php:213
msgid "Nessun aggiornamento presente"
msgstr ""
#: Resources/views/index.blade.php:223
msgid "Requisiti"
msgstr ""
#: Resources/views/update.blade.php:3
msgid "Aggiornamento"
msgstr ""
#: Resources/views/update.blade.php:9
msgid "Informazioni sull'aggiornamento"
msgstr ""
#: Resources/views/update.blade.php:13
msgid "Changelog"
msgstr ""
#: Resources/views/update.blade.php:22
msgid "Il pacchetto selezionato contiene un aggiornamento dell'intero gestionale"
msgstr ""
#: Resources/views/update.blade.php:23
msgid "Si consiglia vivamente di effettuare un backup dell'installazione prima di procedere"
msgstr ""
#: Resources/views/update.blade.php:26
msgid "Crea backup"
msgstr ""
#: Resources/views/update.blade.php:32
msgid "OpenSTAManager versione _VERSION_"
msgstr ""
#: Resources/views/update.blade.php:41
msgid "Verranno aggiornate le sole componenti del pacchetto che non sono già installate e aggiornate"
msgstr ""
#: Resources/views/update.blade.php:45
msgid "Il pacchetto selezionato comprende i seguenti moduli"
msgstr ""
#: Resources/views/update.blade.php:53 Resources/views/update.blade.php:72
msgid "Installato"
msgstr ""
#: Resources/views/update.blade.php:64
msgid "Il pacchetto selezionato comprende i seguenti plugin"
msgstr ""
#: Resources/views/update.blade.php:91
msgid "Nessuna changelog individuabile"
msgstr ""
#: Resources/views/update.blade.php:100
msgid "Annulla"
msgstr ""
#: Resources/views/update.blade.php:106
msgid "Procedi"
msgstr ""
#: Http/Controllers/AggiornamentiController.php:41
msgid "Estensione ZIP"
msgstr ""
#: Http/Controllers/AggiornamentiController.php:41
msgid "da abilitare"
msgstr ""
#: Http/Controllers/AggiornamentiController.php:191
msgid "Accesso negato"
msgstr ""
#: Http/Controllers/AggiornamentiController.php:197
msgid "Il pacchetto contiene una versione precedente del gestionale"
msgstr ""
#: Http/Controllers/AggiornamentiController.php:199
msgid "Il pacchetto contiene solo componenti già installate e aggiornate"
msgstr ""
#: Http/UpdateHook.php:53
msgid "E' disponibile la versione _VERSION_ del gestionale"
msgstr ""

View File

@ -0,0 +1,232 @@
msgid ""
msgstr ""
"Project-Id-Version: OpenSTAManager\n"
"POT-Creation-Date: 2021-03-15 16:02+0100\n"
"PO-Revision-Date: 2021-03-15 16:03+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: de_DE\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.4.2\n"
"X-Poedit-Basepath: ..\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: tr\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPathExcluded-0: .svn\n"
"X-Poedit-SearchPathExcluded-1: assets\n"
"X-Poedit-SearchPathExcluded-2: backup\n"
"X-Poedit-SearchPathExcluded-3: vendor\n"
"X-Poedit-SearchPathExcluded-4: assets\n"
"X-Poedit-SearchPathExcluded-5: bower_components\n"
"X-Poedit-SearchPathExcluded-6: node_modules\n"
"X-Poedit-SearchPathExcluded-7: logs\n"
"X-Poedit-SearchPathExcluded-8: files\n"
"X-Poedit-SearchPathExcluded-9: docs\n"
"X-Poedit-SearchPathExcluded-10: .*\n"
"X-Poedit-SearchPathExcluded-11: *.log\n"
"X-Poedit-SearchPathExcluded-12: *.md\n"
"X-Poedit-SearchPathExcluded-13: *.json\n"
"X-Poedit-SearchPathExcluded-14: *.lock\n"
"X-Poedit-SearchPathExcluded-15: *.phar\n"
"X-Poedit-SearchPathExcluded-16: *.css\n"
"X-Poedit-SearchPathExcluded-17: *.js\n"
"X-Poedit-SearchPathExcluded-18: .git\n"
#: Resources/views/index.blade.php:10
msgid "Personalizzazioni"
msgstr ""
#: Resources/views/index.blade.php:19
msgid "Percorso"
msgstr ""
#: Resources/views/index.blade.php:20
msgid "Cartella personalizzata"
msgstr ""
#: Resources/views/index.blade.php:21
msgid "Database personalizzato"
msgstr ""
#: Resources/views/index.blade.php:27 Resources/views/index.blade.php:28
msgid "Si"
msgstr ""
#: Resources/views/index.blade.php:27 Resources/views/index.blade.php:28
msgid "No"
msgstr ""
#: Resources/views/index.blade.php:33
msgid ""
"Si sconsiglia l'aggiornamento senza il supporto dell'assistenza ufficiale"
msgstr ""
#: Resources/views/index.blade.php:35
msgid "Non ci sono strutture personalizzate"
msgstr ""
#: Resources/views/index.blade.php:41 Resources/views/update.blade.php:41
msgid "Attenzione!"
msgstr ""
#: Resources/views/index.blade.php:41
msgid ""
"Ci sono delle tabelle non previste nella versione standard del gestionale: "
"_LIST_"
msgstr ""
#: Resources/views/index.blade.php:53
msgid ""
"Devi modificare il seguenti parametri del file di configurazione PHP "
"(_FILE_) per poter caricare gli aggiornamenti"
msgstr ""
#: Resources/views/index.blade.php:135
msgid "Carica un aggiornamento"
msgstr ""
#: Resources/views/index.blade.php:147
msgid "Carica"
msgstr ""
#: Resources/views/index.blade.php:158
msgid "Verifica l'integrità dell'intallazione"
msgstr ""
#: Resources/views/index.blade.php:166
msgid "Controlla file"
msgstr ""
#: Resources/views/index.blade.php:170
msgid "Controlla database"
msgstr ""
#: Resources/views/index.blade.php:174
msgid "Controlla gestionale"
msgstr ""
#: Resources/views/index.blade.php:184
msgid "Ricerca aggiornamenti"
msgstr ""
#: Resources/views/index.blade.php:192
msgid "Ricerca"
msgstr ""
#: Resources/views/index.blade.php:197
msgid "Estensione curl non supportata"
msgstr ""
#: Resources/views/index.blade.php:202
msgid "E' stato individuato un nuovo aggiornamento"
msgstr ""
#: Resources/views/index.blade.php:203
msgid ""
"Attenzione: la versione individuata è in fase sperimentale, e pertanto può "
"presentare diversi bug e malfunzionamenti"
msgstr ""
#: Resources/views/index.blade.php:205
msgid "Scaricalo manualmente (_LINK_) oppure in automatico"
msgstr ""
#: Resources/views/index.blade.php:208
msgid "Scarica"
msgstr ""
#: Resources/views/index.blade.php:213
msgid "Nessun aggiornamento presente"
msgstr ""
#: Resources/views/index.blade.php:223
msgid "Requisiti"
msgstr ""
#: Resources/views/update.blade.php:3
msgid "Aggiornamento"
msgstr ""
#: Resources/views/update.blade.php:9
msgid "Informazioni sull'aggiornamento"
msgstr ""
#: Resources/views/update.blade.php:13
msgid "Changelog"
msgstr ""
#: Resources/views/update.blade.php:22
msgid ""
"Il pacchetto selezionato contiene un aggiornamento dell'intero gestionale"
msgstr ""
#: Resources/views/update.blade.php:23
msgid ""
"Si consiglia vivamente di effettuare un backup dell'installazione prima di "
"procedere"
msgstr ""
#: Resources/views/update.blade.php:26
msgid "Crea backup"
msgstr ""
#: Resources/views/update.blade.php:32
msgid "OpenSTAManager versione _VERSION_"
msgstr ""
#: Resources/views/update.blade.php:41
msgid ""
"Verranno aggiornate le sole componenti del pacchetto che non sono già "
"installate e aggiornate"
msgstr ""
#: Resources/views/update.blade.php:45
msgid "Il pacchetto selezionato comprende i seguenti moduli"
msgstr ""
#: Resources/views/update.blade.php:53 Resources/views/update.blade.php:72
msgid "Installato"
msgstr ""
#: Resources/views/update.blade.php:64
msgid "Il pacchetto selezionato comprende i seguenti plugin"
msgstr ""
#: Resources/views/update.blade.php:91
msgid "Nessuna changelog individuabile"
msgstr ""
#: Resources/views/update.blade.php:100
msgid "Annulla"
msgstr ""
#: Resources/views/update.blade.php:106
msgid "Procedi"
msgstr ""
#: Http/Controllers/AggiornamentiController.php:41
msgid "Estensione ZIP"
msgstr ""
#: Http/Controllers/AggiornamentiController.php:41
msgid "da abilitare"
msgstr ""
#: Http/Controllers/AggiornamentiController.php:191
msgid "Accesso negato"
msgstr ""
#: Http/Controllers/AggiornamentiController.php:197
msgid "Il pacchetto contiene una versione precedente del gestionale"
msgstr ""
#: Http/Controllers/AggiornamentiController.php:199
msgid "Il pacchetto contiene solo componenti già installate e aggiornate"
msgstr ""
#: Http/UpdateHook.php:53
msgid "E' disponibile la versione _VERSION_ del gestionale"
msgstr ""

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore

View File

@ -155,16 +155,21 @@
<div class="box box-warning"> <div class="box box-warning">
<div class="box-header with-border"> <div class="box-header with-border">
<h3 class="box-title"> <h3 class="box-title">
{{ tr("Verifica l'integrità dell'intallazione") }} <span class="tip" title="{{ tr("Verifica l'integrità della tua installazione attraverso un controllo sui checksum dei file e sulla struttura del database") }}."><i class="fa fa-question-circle-o"></i></span> {{ tr("Verifica l'integrità dell'intallazione") }}
<span class="tip" title="{{ tr("Verifica l'integrità della tua installazione attraverso un controllo sui checksum dei file e sulla struttura del database") }}.">
<i class="fa fa-question-circle-o"></i>
</span>
</h3> </h3>
</div> </div>
<div class="box-body"> <div class="box-body">
<button type="button" class="btn btn-primary btn-block" onclick="checksum(this)"> <button type="button" class="btn btn-primary btn-block" onclick="checksum(this)">
<i class="fa fa-list-alt"></i> {{ tr('Controlla file') }} <i class="fa fa-list-alt"></i> {{ tr('Controlla file') }}
</button> </button>
<button type="button" class="btn btn-info btn-block" onclick="database(this)"> <button type="button" class="btn btn-info btn-block" onclick="database(this)">
<i class="fa fa-database"></i> {{ tr('Controlla database') }} <i class="fa fa-database"></i> {{ tr('Controlla database') }}
</button> </button>
<button type="button" class="btn btn-block" onclick="controlli(this)"> <button type="button" class="btn btn-block" onclick="controlli(this)">
<i class="fa fa-stethoscope"></i> {{ tr('Controlla gestionale') }} <i class="fa fa-stethoscope"></i> {{ tr('Controlla gestionale') }}
</button> </button>

View File

@ -1,16 +1,16 @@
{% extends "layouts/base.twig" %} @extends('layouts.base')
{% block body_class %}hold-transition login-page{% endblock %} @section('title', tr('Aggiornamento'))
{% block title %}{{ 'Aggiornamento'|trans }}{% endblock %} @section('body_class', 'hold-transition login-page')
{% block body %} @section('body')
<div class="card card-outline card-center-large card-warning"> <div class="card card-outline card-center-large card-warning">
<div class="card-header"> <div class="card-header">
<a class="h5" data-toggle="tab" href="#info">{{ "Informazioni sull'aggiornamento"|trans }}</a> <a class="h5" data-toggle="tab" href="#info">{{ tr("Informazioni sull'aggiornamento") }}</a>
<ul class="nav nav-tabs float-right" id="tabs" role="tablist"> <ul class="nav nav-tabs float-right" id="tabs" role="tablist">
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" data-toggle="tab" href="#changelog">{{ 'Changelog'|trans }}</a> <a class="nav-link" data-toggle="tab" href="#changelog">{{ tr('Changelog') }}</a>
</li> </li>
</ul> </ul>
</div> </div>
@ -18,92 +18,92 @@
<div class="card-body tab-content"> <div class="card-body tab-content">
<div id="info" class="tab-pane fade in active"> <div id="info" class="tab-pane fade in active">
{% if update.isCoreUpdate() %} @if($update->isCoreUpdate())
<p>{{ "Il pacchetto selezionato contiene un aggiornamento dell'intero gestionale"|trans }}.</p> <p>{{ tr("Il pacchetto selezionato contiene un aggiornamento dell'intero gestionale") }}.</p>
<p>{{ "Si consiglia vivamente di effettuare un backup dell'installazione prima di procedere"|trans }}.</p> <p>{{ tr("Si consiglia vivamente di effettuare un backup dell'installazione prima di procedere") }}.</p>
<button type="button" class="btn btn-primary float-right" onclick="backup()"> <button type="button" class="btn btn-primary float-right" onclick="backup()">
<i class="fa fa-database"></i> {{ 'Crea backup'|trans }} <i class="fa fa-database"></i> {{ tr('Crea backup') }}
</button> </button>
<div class="clearfix"></div> <div class="clearfix"></div>
<hr> <hr>
<h3 class="text-center">{{ 'OpenSTAManager versione _VERSION_'|trans({'_VERSION_': update.getVersion()}) }}</h3> <h3 class="text-center">{{ tr('OpenSTAManager versione _VERSION_')({'_VERSION_': update.getVersion()}) }}</h3>
{% include 'config/list.twig' with {requirements: update.getRequirements()} only %} {% include 'config/list.twig' with {requirements: update.getRequirements()} only %}
{% else %} @else
{% set elements = update.componentUpdates() %} @php($elements = $update->componentUpdates())
<div class="alert alert-warning"> <div class="alert alert-warning">
<i class="fa fa-warning"></i> <i class="fa fa-warning"></i>
<b>{{ 'Attenzione!'|trans }}</b> {{ 'Verranno aggiornate le sole componenti del pacchetto che non sono già installate e aggiornate'|trans }}. <b>{{ tr('Attenzione!') }}</b> {{ tr('Verranno aggiornate le sole componenti del pacchetto che non sono già installate e aggiornate') }}.
</div> </div>
{% if elements.modules is not empty %} @if(!empty($elements['modules']))
<p>{{ 'Il pacchetto selezionato comprende i seguenti moduli'|trans }}:</p> <p>{{ tr('Il pacchetto selezionato comprende i seguenti moduli') }}:</p>
<ul class="list-group"> <ul class="list-group">
{% for element in elements.modules %} @foreach($elements['modules'] as $element)
<li class="list-group-item"> <li class="list-group-item">
<span class="badge">{{ element['info']['version'] }}</span> <span class="badge">{{ $element['info']['version'] }}</span>
{% if element.is_installed %} @if($element['is_installed'])
<span class="badge">{{ 'Installato'|trans }}</span>'; <span class="badge">{{ tr('Installato') }}</span>
{% endif %} @endif
{{ element['info']['name'] }} {{ $element['info']['name'] }}
</li> </li>
{% endfor %} @endforeach
</ul> </ul>
{% endif %} @endif
{% if elements.plugins is not empty %} @if(!empty($elements['plugins']))
<p>{{ 'Il pacchetto selezionato comprende i seguenti plugin'|trans }}:</p> <p>{{ tr('Il pacchetto selezionato comprende i seguenti plugin') }}:</p>
<ul class="list-group">'; <ul class="list-group">
{% for element in elements.plugins %} @foreach($elements['plugins'] as $element)
<li class="list-group-item"> <li class="list-group-item">
<span class="badge">{{ element['info']['version'] }}</span> <span class="badge">{{ $element['info']['version'] }}</span>
{% if element.is_installed %} @if($element['is_installed'])
<span class="badge">{{ 'Installato'|trans }}</span>'; <span class="badge">{{ tr('Installato') }}</span>
{% endif %} @endif
{{ element['info']['name'] }} {{ $element['info']['name'] }}
</li> </li>
{% endfor %} @endforeach
</ul> </ul>
{% endif %} @endif
{% endif %} @endif
</div> </div>
<div id="changelog" class="tab-pane fade"> <div id="changelog" class="tab-pane fade">
{% set changelog = update.getChangelog() %} @php($changelog = $update->getChangelog())
{% if changelog is not empty %} @if(!empty($changelog))
{{ changelog|raw }} {!! $changelog !!}
{% else %} @else
<p>{{ 'Nessuna changelog individuabile'|trans }}.</p> <p>{{ tr('Nessuna changelog individuabile') }}.</p>
{% endif %} @endif
</div> </div>
<hr> <hr>
<form action="{{ action_link|replace({'|action|': 'cancel'}) }}" method="post" style="display:inline-block"> <form action="{{ route('cancella-aggiornamento') }}" method="post" style="display:inline-block">
<button type="submit" class="btn btn-warning"> <button type="submit" class="btn btn-warning">
<i class="fa fa-arrow-left"></i> {{ 'Annulla'|trans }} <i class="fa fa-arrow-left"></i> {{ tr('Annulla') }}
</button> </button>
</form> </form>
<form action="{{ action_link|replace({'|action|': 'execute'}) }}" method="post" class="float-right" style="display:inline-block"> <form action="{{ route('completa-aggiornamento') }}" method="post" class="float-right" style="display:inline-block">
<button type="submit" class="btn btn-success"> <button type="submit" class="btn btn-success">
<i class="fa fa-arrow-right"></i> {{ 'Procedi'|trans }} <i class="fa fa-arrow-right"></i> {{ tr('Procedi') }}
</button> </button>
</form> </form>
</div> </div>
@ -112,17 +112,17 @@
<script> <script>
function backup(){ function backup(){
swal({ swal({
title: "{{ 'Nuovo backup'|trans }}", title: "{{ tr('Nuovo backup') }}",
text: "{{ 'Sei sicuro di voler creare un nuovo backup?'|trans }}", text: "{{ tr('Sei sicuro di voler creare un nuovo backup?') }}",
type: "warning", type: "warning",
showCancelButton: true, showCancelButton: true,
confirmButtonClass: "btn btn-lg btn-success", confirmButtonClass: "btn btn-lg btn-success",
confirmButtonText: "{{ 'Crea'|trans }}", confirmButtonText: "{{ tr('Crea') }}",
}).then(function(){ }).then(function(){
$("#main_loading").show(); $("#main_loading").show();
$.ajax({ $.ajax({
url: "{{ url_for('module', {'module_id': module('Backup').id}) }}", url: "{{ route('module', ['module_id' => module('Backup')->id]) }}",
type: "post", type: "post",
data: { data: {
op: "backup", op: "backup",
@ -134,4 +134,4 @@
}, function(){}); }, function(){});
} }
</script> </script>
{% endblock %} @endsection

View File

@ -1,17 +0,0 @@
{
"private": true,
"scripts": {
"dev": "npm run development",
"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch-poll": "npm run watch -- --watch-poll",
"hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
"prod": "npm run production",
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
},
"devDependencies": {
"cross-env": "^7.0",
"laravel-mix": "^5.0.1",
"laravel-mix-merge-manifest": "^0.1.2"
}
}

View File

@ -1,14 +0,0 @@
const dotenvExpand = require('dotenv-expand');
dotenvExpand(require('dotenv').config({ path: '../../.env'/*, debug: true*/}));
const mix = require('laravel-mix');
require('laravel-mix-merge-manifest');
mix.setPublicPath('../../public').mergeManifest();
mix.js(__dirname + '/Resources/assets/js/app.js', 'js/aggiornamenti.js')
.sass( __dirname + '/Resources/assets/sass/app.scss', 'css/aggiornamenti.css');
if (mix.inProduction()) {
mix.version();
}