From 62f74f381a36d0e8b5f50e8ad60f05fcabb89032 Mon Sep 17 00:00:00 2001 From: Fabio Bonelli Date: Wed, 15 Nov 2023 13:52:21 +0100 Subject: [PATCH] feat: only print tags and redir generation in debug mode (#907) Reduce the noise caused at build by too much output, so we don't risk to miss important messages. Building DEBUG=true re-enables the logs. Also just use cp(1) and ln(1) instead of a node package. --- gatsby-node.js | 13 +- package-lock.json | 217 ------------------ package.json | 3 +- .../come-iniziare/componente-base/base.html | 2 +- .../accordion/accordion-annidati.html | 2 +- .../bsi/componenti/accordion/accordion.html | 2 +- .../bsi/componenti/accordion/base.html | 2 +- .../accordion/con-icona-a-sinistra.html | 2 +- .../con-sfondo-header-all'hover.html | 2 +- .../accordion/con-sfondo-header-attivi.html | 2 +- .../componenti/affix/orizzontale-in-alto.html | 2 +- .../affix/orizzontale-in-basso.html | 2 +- .../componenti/affix/verticale-in-alto.html | 2 +- .../componenti/affix/verticale-in-basso.html | 2 +- .../alert/contenuto-aggiuntivo.html | 2 +- .../componenti/alert/link-evidenziato.html | 2 +- .../alert/pulsante-di-chiusura.html | 2 +- .../alert/varianti-per-tipologia.html | 2 +- .../con-comportamento-presenza-utente.html | 2 +- .../con-comportamento-status-utente.html | 2 +- .../avatar/con-testo-aggiuntivo.html | 2 +- .../componenti/avatar/gruppo-lista-media.html | 2 +- .../avatar/gruppo-lista-piccola.html | 2 +- .../avatar/gruppo-sovrapposti-medi.html | 2 +- .../avatar/gruppo-sovrapposti-piccoli.html | 2 +- .../examples/bsi/componenti/avatar/icona.html | 2 +- .../bsi/componenti/avatar/immagine.html | 2 +- .../componenti/avatar/link-con-tooltip.html | 2 +- .../examples/bsi/componenti/avatar/link.html | 2 +- .../examples/bsi/componenti/avatar/testo.html | 2 +- .../bsi/componenti/badge/arrotondati.html | 2 +- .../examples/bsi/componenti/badge/base.html | 2 +- .../badge/in-pulsante-per-screen-reader.html | 2 +- .../bsi/componenti/badge/in-pulsante.html | 2 +- .../examples/bsi/componenti/badge/link.html | 2 +- .../componenti/badge/varianti-di-colore.html | 2 +- .../a-tutta-larghezza-solo-su-mobile.html | 2 +- .../componenti/buttons/a-tutta-larghezza.html | 2 +- .../examples/bsi/componenti/buttons/base.html | 2 +- .../componenti/buttons/con-classe-.btn.html | 2 +- .../buttons/con-icona-cerchiata.html | 2 +- .../bsi/componenti/buttons/con-icona.html | 2 +- .../componenti/buttons/dimensione-grande.html | 2 +- .../componenti/buttons/dimensione-minima.html | 2 +- .../buttons/dimensione-normale.html | 2 +- .../bsi/componenti/buttons/disabilitato.html | 2 +- .../componenti/buttons/su-fondo-scuro.html | 2 +- .../buttons/varianti-di-colore.html | 2 +- .../componenti/callout/approfondimento.html | 2 +- .../callout/attenzione-in-evidenza.html | 2 +- .../bsi/componenti/callout/attenzione.html | 2 +- .../callout/importante-in-evidenza.html | 2 +- .../bsi/componenti/callout/importante.html | 2 +- .../componenti/callout/nota-in-evidenza.html | 2 +- .../examples/bsi/componenti/callout/nota.html | 2 +- .../pericolo-o-errore-in-evidenza.html | 4 +- .../componenti/callout/pericolo-o-errore.html | 2 +- .../periocolo-o-errore-in-evidenza.html | 2 +- .../callout/successo-in-evidenza.html | 2 +- .../bsi/componenti/callout/successo.html | 2 +- .../componenti/callout/testo-in-evidenza.html | 2 +- .../bsi/componenti/callout/testo.html | 2 +- .../bsi/componenti/card/base-articolo.html | 2 +- .../componenti/card/base-su-piu-colonne.html | 2 +- static/examples/bsi/componenti/card/base.html | 2 +- .../card/con-icona-sottotitolo-e-link.html | 2 +- .../bsi/componenti/card/con-icona.html | 2 +- .../bsi/componenti/card/con-immagine.html | 2 +- ...a-grande-con-categoria-ed-in-evidenza.html | 2 +- ...-grande-con-tag-data-e-call-to-action.html | 2 +- .../bsi/componenti/card/con-ombra-grande.html | 2 +- .../bsi/componenti/card/con-ombra.html | 2 +- .../bsi/componenti/card/speciale.html | 2 +- .../examples/bsi/componenti/card/teaser.html | 2 +- .../componenti/carousel/card-articolo.html | 2 +- .../carousel/card-con-immagine-in-alto.html | 2 +- .../card-con-immagine-in-evidenza.html | 2 +- .../componenti/carousel/card-speciali.html | 2 +- .../immagini-di-dimensione-standard.html | 2 +- .../bsi/componenti/carousel/immagini.html | 2 +- .../carousel/titolo-e-card-base.html | 2 +- .../bsi/componenti/chips/disabilitata.html | 2 +- .../examples/bsi/componenti/chips/gruppi.html | 2 +- .../componenti/chips/standard-e-grandi.html | 2 +- .../componenti/chips/varianti-di-colore.html | 2 +- .../attivazione-elementi-richiudibili.html | 2 +- .../bsi/componenti/collapse/base.html | 2 +- .../dimmer/base-default-disattivato.html | 2 +- .../examples/bsi/componenti/dimmer/base.html | 2 +- .../bsi/componenti/dimmer/colore-primary.html | 2 +- .../dimmer/con-azioni-colore-primary.html | 2 +- .../bsi/componenti/dimmer/con-azioni.html | 2 +- .../dropdown/base-con-pulsante.html | 2 +- .../dropdown/con-varianti-di-pulsanti.html | 2 +- .../dropdown/dropend-si-apre-a-destra.html | 2 +- .../dropstart-si-apre-a-sinistra.html | 2 +- .../dropdown/dropup-si-apre-verso-l'alto.html | 2 +- .../bsi/componenti/dropdown/link.html | 2 +- .../dropdown/menu-a-tutta-larghezza.html | 2 +- .../dropdown/menu-con-icona-a-destra.html | 2 +- .../dropdown/menu-con-icona-a-sinistra.html | 2 +- .../menu-con-instestazioni-e-separatori.html | 2 +- .../menu-con-intestazioni-e-separatori.html | 4 +- .../dropdown/menu-con-voci-grandi.html | 2 +- .../bsi/componenti/dropdown/menu-dark.html | 2 +- .../componenti/dropdown/menu-voci-attive.html | 2 +- .../dropdown/menu-voci-disabilitate.html | 2 +- .../examples/bsi/componenti/forward/base.html | 2 +- .../hero/con-immagine-e-margine-negativo.html | 2 +- .../componenti/hero/con-immagine-piccolo.html | 2 +- .../bsi/componenti/hero/con-immagine.html | 2 +- .../hero/con-overlay-di-colore-primary.html | 2 +- ...on-overlay-e-filtro-di-colore-primary.html | 2 +- .../componenti/hero/con-testo-centrato.html | 2 +- .../hero/con-testo-e-immagine-di-sfondo.html | 2 +- .../bsi/componenti/hero/con-testo.html | 2 +- .../modale/componenti-della-modale.html | 2 +- .../componenti/modale/con-elementi-form.html | 2 +- .../bsi/componenti/modale/con-icona.html | 2 +- .../bsi/componenti/modale/con-lista-link.html | 2 +- .../modale/con-pulsante-di-chiusura.html | 2 +- .../modale/demo-allineata-a-destra.html | 2 +- .../modale/demo-allineata-a-sinistra.html | 2 +- .../bsi/componenti/modale/demo-base.html | 2 +- .../modale/demo-centrata-in-verticale.html | 2 +- ...o-con-contenuti-lunghi-scroll-interno.html | 2 +- .../modale/demo-con-contenuti-lunghi.html | 2 +- .../bsi/componenti/modale/popconfirm.html | 2 +- .../pulsante-di-chiusura-dettaglio.html | 2 +- .../modale/varianti-di-dimensione.html | 2 +- .../notifiche/base-con-o-senza-icona.html | 2 +- .../componenti/notifiche/con-messaggio.html | 2 +- .../bsi/componenti/notifiche/eliminabili.html | 2 +- .../notifiche/posizione-e-arrotondamento.html | 2 +- .../componenti/notifiche/posizione-fissa.html | 2 +- .../notifiche/posizione-predefinita.html | 2 +- .../notifiche/varianti-di-stato.html | 2 +- .../bsi/componenti/overlay/colore-nero.html | 2 +- .../componenti/overlay/colore-primary.html | 2 +- .../bsi/componenti/overlay/con-icona.html | 2 +- .../bsi/componenti/paginazione/base.html | 2 +- .../con-funzionalita-cambia-pagina.html | 2 +- .../paginazione/con-funzionalita-piu.html | 2 +- .../con-funzionalita-salta-alla-pagina.html | 2 +- .../paginazione/con-link-testuali.html | 2 +- ...con-numero-totale-elementi-per-pagina.html | 2 +- .../con-numero-totale-elementi.html | 2 +- .../paginazione/con-stato-disabilitato.html | 2 +- .../modalita-semplificata-mobile.html | 2 +- .../paginazione/navigazione-a-destra.html | 2 +- .../paginazione/navigazione-centrata.html | 2 +- .../paginazione/navigazione-responsive.html | 2 +- .../examples/bsi/componenti/popover/base.html | 2 +- .../con-chiusura-al-click-successivo.html | 2 +- .../componenti/popover/con-icona-e-link.html | 2 +- .../componenti/popover/modalita-hover.html | 2 +- .../popover/per-elementi-disabilitati.html | 2 +- .../popover/varianti-di-allineamento.html | 2 +- .../barra-di-progresso-con-etichetta.html | 2 +- ...barra-di-progresso-varianti-di-colore.html | 2 +- .../barra-di-progresso.html | 2 +- .../progress-indicators/ciambelle.html | 2 +- .../progresso-indeterminato.html | 4 +- .../progresso-intederminato.html | 2 +- .../pulsante-con-barra-di-progresso.html | 2 +- .../spinner-animazione-alternativa.html | 2 +- .../progress-indicators/spinner.html | 2 +- .../examples/bsi/componenti/rating/base.html | 2 +- .../bsi/componenti/rating/con-etichetta.html | 2 +- .../bsi/componenti/rating/sola-lettura.html | 2 +- .../bsi/componenti/sections/base.html | 2 +- .../bsi/componenti/sections/con-card.html | 2 +- .../sections/con-immagine-di-sfondo.html | 2 +- .../componenti/sections/sfondo-neutrale.html | 2 +- .../componenti/sections/sfondo-primario.html | 2 +- .../bsi/componenti/sections/sfondo-tenue.html | 2 +- .../steppers/con-navigazione-degli-step.html | 2 +- ...navigazione-mobile-barra-di-progresso.html | 2 +- ...avigazione-mobile-e-pulsante-conferma.html | 2 +- ...n-navigazione-mobile-e-pulsante-salva.html | 2 +- .../con-navigazione-mobile-pallini.html | 2 +- ...navigazione-mobile-barra-di-progresso.html | 2 +- ...avigazione-mobile-e-pulsante-conferma.html | 2 +- ...o-navigazione-mobile-e-pulsante-salva.html | 2 +- ...ondo-scuro-navigazione-mobile-pallini.html | 2 +- ...on-sfondo-scuro-varianti-intestazione.html | 2 +- .../componenti/steppers/con-sfondo-scuro.html | 2 +- .../steppers/intestazione-ordinata.html | 2 +- .../steppers/intestazione-solo-testo.html | 2 +- .../steppers/intestazione-testo-e-icone.html | 2 +- .../sticky/attivabile-con-target.html | 2 +- .../examples/bsi/componenti/sticky/base.html | 2 +- .../sticky/con-posizione-fissa.html | 2 +- .../sticky/variante-impilabile.html | 2 +- .../con-controllo-pannelli-icona-grande.html | 2 +- ...controllo-pannelli-markup-alternativo.html | 2 +- ...ntrollo-pannelli-orizzontale-in-basso.html | 2 +- ...ntale-a-tutta-larghezza-testo-e-icona.html | 2 +- ...o-scuro-orizzontale-a-tutta-larghezza.html | 2 +- ...nelli-sfondo-scuro-verticale-a-destra.html | 2 +- ...lli-sfondo-scuro-verticale-a-sinistra.html | 2 +- .../con-controllo-pannelli-testo-e-icona.html | 2 +- .../tab/con-controllo-pannelli-testuali.html | 2 +- ...ipo-card-con-pulsanti-aggiungielimina.html | 2 +- .../tab/con-controllo-pannelli-tipo-card.html | 2 +- ...controllo-pannelli-verticale-a-destra.html | 2 +- ...o-pannelli-verticale-colore-di-sfondo.html | 2 +- ...on-controllo-pannelli-verticale-icona.html | 2 +- ...ollo-pannelli-verticale-testo-e-icona.html | 2 +- ...controllo-pannelli-verticale-testuale.html | 2 +- ...li-a-tutta-larghezza-con-icona-grande.html | 2 +- ...izzontali-a-tutta-larghezza-con-icona.html | 2 +- ...i-a-tutta-larghezza-con-testo-e-icona.html | 2 +- ...rizzontali-a-tutta-larghezza-testuali.html | 2 +- .../tab/orizzontali-con-icona-grande.html | 2 +- .../componenti/tab/orizzontali-con-icona.html | 2 +- .../tab/orizzontali-con-testo-e-icona.html | 2 +- .../componenti/tab/orizzontali-testuali.html | 2 +- .../tab/senza-scrollbar-su-mobile.html | 2 +- .../componenti/timeline/base-verticale.html | 2 +- .../bsi/componenti/toasts/toasts-1.html | 2 +- .../bsi/componenti/toasts/toasts-2.html | 2 +- .../bsi/componenti/toasts/toasts-3.html | 2 +- .../bsi/componenti/toasts/toasts-4.html | 2 +- .../bsi/componenti/toasts/toasts-5.html | 2 +- .../bsi/componenti/toasts/toasts-6.html | 2 +- .../bsi/componenti/toasts/toasts-7.html | 2 +- .../bsi/componenti/tooltip/esempi.html | 2 +- .../tooltip/varianti-di-allineamento.html | 2 +- .../bsi/componenti/video-player/base.html | 2 +- .../con-configurazione-iniziale.html | 2 +- .../con-didascalie-in-piu-lingue.html | 2 +- ...-overlay-di-consenso-cookie-(youtube).html | 2 +- ...eo-e-piu-tracce-audio-hls-multilingua.html | 2 +- ...deo-in-streaming-in-formato-mpeg-dash.html | 2 +- .../bsi/form/autocompletamento/base.html | 2 +- static/examples/bsi/form/checkbox/base.html | 2 +- .../bsi/form/checkbox/con-stato-mixed.html | 2 +- .../bsi/form/checkbox/disabilitato.html | 2 +- static/examples/bsi/form/checkbox/gruppi.html | 2 +- .../examples/bsi/form/checkbox/in-linea.html | 2 +- .../bsi/form/input-calendario/base.html | 2 +- .../bsi/form/input-numerico/base.html | 2 +- .../con-limiti-e-incremento.html | 2 +- .../form/input-numerico/con-percentuale.html | 2 +- .../input-numerico/con-ridimensionamento.html | 2 +- .../bsi/form/input-numerico/con-valuta.html | 2 +- .../bsi/form/input-numerico/disabilitato.html | 2 +- static/examples/bsi/form/input-ora/base.html | 2 +- .../bsi/form/input/area-di-testo.html | 2 +- .../input/con-etichetta-e-segnaposto.html | 2 +- .../bsi/form/input/con-etichetta.html | 2 +- .../bsi/form/input/con-testo-di-aiuto.html | 2 +- .../examples/bsi/form/input/disabilitato.html | 2 +- static/examples/bsi/form/input/password.html | 2 +- ...ompletamento-e-dati-cerca-una-nazione.html | 2 +- ...nto-e-dati-cerca-una-regione-italiana.html | 2 +- .../ricerca-con-autocompletamento-grande.html | 2 +- .../input/ricerca-con-autocompletamento.html | 2 +- .../form/input/solo-lettura-normalizzato.html | 2 +- .../examples/bsi/form/input/solo-lettura.html | 2 +- .../input/varianti-con-icona-o-pulsanti.html | 2 +- .../form/input/varianti-di-dimensione.html | 2 +- .../bsi/form/input/varianti-per-tipo.html | 2 +- .../introduzione/auto-dimensionamento.html | 2 +- .../campo-input-disabilitato.html | 2 +- .../introduzione/con-sistema-a-griglie.html | 2 +- .../form/introduzione/con-validazione.html | 2 +- .../introduzione/dimensionamento-colonne.html | 2 +- .../form/introduzione/form-disabilitato.html | 2 +- .../examples/bsi/form/radio-button/base.html | 2 +- .../bsi/form/radio-button/disabilitato.html | 2 +- .../bsi/form/radio-button/gruppi.html | 2 +- .../bsi/form/radio-button/in-linea.html | 2 +- static/examples/bsi/form/select/base.html | 2 +- .../examples/bsi/form/select/con-gruppi.html | 2 +- .../bsi/form/select/disabilitata.html | 2 +- static/examples/bsi/form/toggles/base.html | 2 +- .../bsi/form/toggles/disabilitato.html | 2 +- static/examples/bsi/form/toggles/gruppi.html | 2 +- static/examples/bsi/form/transfer/base.html | 2 +- .../bsi/form/upload/con-animazione.html | 2 +- .../upload/con-anteprima-delle-immagini.html | 2 +- .../examples/bsi/form/upload/con-avatar.html | 2 +- .../bsi/form/upload/con-lista-di-file.html | 2 +- static/examples/bsi/form/upload/galleria.html | 2 +- .../bsi/form/upload/trascina-e-rilascia.html | 2 +- .../bottomnav/base-con-4-link.html | 2 +- .../menu-di-navigazione/bottomnav/base.html | 2 +- .../bottomnav/con-alert.html | 2 +- .../bottomnav/con-badge.html | 2 +- .../menu-di-navigazione/breadcrumbs/base.html | 2 +- .../breadcrumbs/con-icona.html | 2 +- .../breadcrumbs/con-sfondo-scuro.html | 2 +- .../menu-di-navigazione/footer/compatto.html | 4 +- .../menu-di-navigazione/footer/completo.html | 4 +- .../menu-di-navigazione/footer/footer-1.html | 4 +- .../menu-di-navigazione/footer/footer-2.html | 4 +- .../header-centrale-variante-chiara.html | 2 +- .../header-centrale-variante-compatta.html | 2 +- .../header/header-centrale.html | 2 +- .../header-completa-variante-chiara.html | 2 +- .../header/header-completa.html | 2 +- .../header-navigazione-desktop-chiara.html | 2 +- .../header-navigazione-mobile-scura.html | 2 +- .../header/header-navigazione-secondaria.html | 2 +- .../header/header-navigazione-standard.html | 2 +- .../header/header-navigazione.html | 2 +- ...r-con-pulsante-accedi-full-responsive.html | 2 +- .../header/slim-header-variante-chiara.html | 2 +- .../header/slim-header.html | 2 +- .../menu-di-navigazione/megamenu/base.html | 2 +- .../megamenu/con-call-to-action-a-destra.html | 2 +- .../megamenu/con-call-to-action-in-basso.html | 2 +- ...simmetriche-e-call-to-action-a-destra.html | 2 +- .../megamenu/con-colonne-asimmetriche.html | 2 +- .../megamenu/con-immagine-e-descrizione.html | 2 +- .../megamenu/con-link-vedi-tutti.html | 2 +- .../con-sezioni-e-link-vedi-tutti.html | 2 +- .../megamenu/con-sezioni.html | 2 +- .../navscroll/con-barra-progresso.html | 2 +- .../navscroll/menu-in-linea.html | 2 +- ...a-a-fondo-pagina-con-linea-a-sinistra.html | 2 +- ...ta-in-testa-pagina-con-linea-a-destra.html | 2 +- .../navscroll/variante-scura.html | 2 +- .../menu-di-navigazione/sidebar/annidata.html | 2 +- .../bsi/menu-di-navigazione/sidebar/base.html | 2 +- .../sidebar/con-icona.html | 2 +- .../sidebar/con-linea-a-destra.html | 2 +- .../sidebar/con-linea-a-sinistra.html | 2 +- .../sidebar/con-sfondo-scuro.html | 2 +- .../menu-di-navigazione/skiplinks/base.html | 2 +- .../menu-di-navigazione/thumbnav/base.html | 2 +- .../thumbnav/con-hover-con-livello-nero.html | 2 +- .../con-hover-con-livello-primary.html | 2 +- .../con-hover-senza-ingrandimento.html | 2 +- .../griglia-a-larghezza-automatica-eg.-1.html | 2 +- .../griglia-a-larghezza-automatica-eg.-2.html | 2 +- .../thumbnav/griglia-a-larghezza-fissa.html | 2 +- .../thumbnav/overlay-orizzontale-in-alto.html | 2 +- .../overlay-orizzontale-in-basso.html | 2 +- .../thumbnav/overlay-verticale-a-destra.html | 2 +- .../overlay-verticale-a-sinistra.html | 2 +- .../thumbnav/variante-compatta.html | 2 +- .../thumbnav/verticale.html | 2 +- .../toolbar/con-divisori.html | 2 +- .../toolbar/grande-con-badge.html | 2 +- .../toolbar/grande-con-dropdown.html | 2 +- .../toolbar/grande-verticale.html | 2 +- .../menu-di-navigazione/toolbar/grande.html | 2 +- .../toolbar/media-con-badge.html | 2 +- .../toolbar/media-con-dropdown.html | 2 +- .../toolbar/media-verticale.html | 2 +- .../menu-di-navigazione/toolbar/media.html | 2 +- .../toolbar/piccola-con-badge.html | 2 +- .../toolbar/piccola-con-dropdown.html | 2 +- .../toolbar/piccola-verticale.html | 2 +- .../menu-di-navigazione/toolbar/piccola.html | 2 +- .../torna-indietro/link.html | 2 +- .../torna-indietro/pulsanti-con-freccia.html | 2 +- .../torna-indietro/pulsanti-solo-icona.html | 2 +- .../torna-su/base-esempio.html | 2 +- .../torna-su/base-funzionante.html | 2 +- .../torna-su/compatto-esempio.html | 2 +- .../torna-su/con-ombra-esempio.html | 2 +- .../con-ombra-per-sfondo-scuro-esempio.html | 2 +- .../torna-su/per-sfondo-scuro-esempio.html | 2 +- .../con-celle-di-tabella.html | 2 +- .../con-elementi-inline.html | 2 +- .../bordi/aggiuntivo.html | 2 +- .../bordi/arrotondati.html | 2 +- .../organizzare-gli-spazi/bordi/bordi-2.html | 2 +- .../bordi/sottrattivo.html | 2 +- .../bordi/varianti-di-colore.html | 2 +- .../organizzare-gli-spazi/clearfix/base.html | 2 +- .../dimensionamento/altezza-fissa.html | 2 +- .../dimensionamento/altezza-massima.html | 2 +- .../dimensionamento/larghezza-fissa.html | 2 +- .../dimensionamento/larghezza-massima.html | 2 +- .../organizzare-gli-spazi/display/block.html | 2 +- .../organizzare-gli-spazi/display/inline.html | 2 +- .../display/responsive.html | 2 +- .../organizzare-gli-spazi/display/stampa.html | 2 +- .../flex/align-content-around.html | 2 +- .../flex/align-content-between.html | 2 +- .../flex/align-content-center.html | 2 +- .../flex/align-content-end.html | 2 +- .../flex/align-content-start.html | 2 +- .../flex/align-content-stretch.html | 2 +- .../flex/allineamento-elementi.html | 2 +- .../flex/auto-allineamento.html | 2 +- ...-elementi-spostati-in-cima-o-in-fondo.html | 2 +- .../flex/contenuto-giustificato.html | 2 +- .../organizzare-gli-spazi/flex/flexbox.html | 2 +- .../flex/inline-flexbox.html | 2 +- .../flex/margini-automatici.html | 2 +- .../organizzare-gli-spazi/flex/no-wrap.html | 2 +- .../flex/ordinamento.html | 2 +- .../flex/varianti-di-direzione-verticale.html | 2 +- .../flex/varianti-di-direzione.html | 2 +- .../flex/wrap-reverse.html | 2 +- .../bsi/organizzare-gli-spazi/flex/wrap.html | 2 +- .../float/varianti-responsive.html | 2 +- .../float/varianti-start-end-none.html | 2 +- .../griglie/allineamento-orizzontale.html | 2 +- .../griglie/allineamento-verticale-misto.html | 2 +- .../griglie/allineamento-verticale.html | 2 +- .../griglie/annidamento.html | 2 +- .../organizzare-gli-spazi/griglie/base.html | 2 +- .../griglie/colonna-a-capo.html | 2 +- ...ne-con-larghezze-omogenee-alternativa.html | 2 +- .../colonne-con-larghezze-omogenee.html | 2 +- .../contenuto-a-larghezza-variabile.html | 2 +- .../griglie/gutter-variabile.html | 2 +- ...impostare-la-larghezza-di-una-colonna.html | 2 +- .../interruzione-di-colonna-responsive.html | 2 +- .../griglie/interruzione-di-colonna.html | 2 +- .../larghezza-identica-su-piu-righe.html | 2 +- ...margini-forzati-tra-colonne-adiacenti.html | 2 +- .../griglie/offset-responsive.html | 2 +- .../organizzare-gli-spazi/griglie/offset.html | 2 +- .../responsive-mischiare-e-abbinare.html | 2 +- .../responsive-per-tutti-i-breakpoint.html | 2 +- .../responsive-raccolti-in-orizzontale.html | 2 +- .../responsive-righe-di-colonne-eg.-1.html | 2 +- .../responsive-righe-di-colonne-eg.-2.html | 2 +- .../responsive-righe-di-colonne-eg.-3.html | 2 +- .../responsive-righe-di-colonne-eg.-4.html | 2 +- .../responsive-righe-di-colonne-eg.-5.html | 2 +- .../griglie/riordinamento-first-e-last.html | 2 +- .../griglie/riordinamento.html | 2 +- .../griglie/senza-gutter.html | 2 +- .../ombreggiature/varianti-di-profondita.html | 2 +- .../proporzioni/esempio-proporzione-16x9.html | 2 +- ...proporzione-personalizzata-responsive.html | 2 +- .../proporzione-personalizzata.html | 2 +- .../proporzioni/varianti-di-proporzioni.html | 2 +- .../spaziature/centratura-orizzontale.html | 2 +- .../codice/blocchi-di-codice.html | 2 +- .../codice/codice-inline.html | 2 +- .../codice/input-utente.html | 2 +- .../codice/output-di-esempio.html | 2 +- .../codice/variabili.html | 2 +- .../immagini-sostitutive-1.html | 2 +- .../immagini/allineamenti-start-end.html | 2 +- .../allineamento-centrato-alternativa.html | 2 +- .../immagini/allineamento-centrato.html | 2 +- .../immagini/base.html | 2 +- ...ure-con-didascalia-allineata-a-destra.html | 2 +- .../immagini/figure.html | 2 +- .../immagini/thumbnail.html | 2 +- .../liste-di-immagini/griglia-masonry.html | 2 +- .../griglia-proporzionale.html | 2 +- .../griglia-standard-con-didascalia.html | 2 +- .../liste-di-immagini/griglia-standard.html | 2 +- .../varianti-didascalia.html | 2 +- .../liste/azioni-con-freccia.html | 2 +- .../liste/azioni-multiple.html | 2 +- .../liste/base-con-avatar.html | 2 +- .../liste/base-con-icona.html | 2 +- .../liste/base-con-immagine.html | 2 +- .../liste/base-con-testo.html | 2 +- .../liste/con-medatada.html | 2 +- .../liste/con-metadata.html | 4 +- ...aggiuntivo-azioni-multiple-e-metadata.html | 2 +- .../liste/lista-di-link-con-checkbox.html | 2 +- .../liste/lista-di-link-con-toggle.html | 2 +- .../liste/per-menu-annidata-collassabile.html | 2 +- .../liste/per-menu-annidata-espansa.html | 2 +- .../liste/per-menu-base.html | 2 +- ...e-secondaria-varianti-posizione-icona.html | 2 +- ...r-menu-con-controlli-e-icona-a-destra.html | 2 +- ...menu-con-controlli-e-icona-a-sinistra.html | 2 +- .../liste/per-menu-con-dimensione-grande.html | 2 +- .../per-menu-con-intestazione-e-divisore.html | 2 +- ...nu-con-intestazione-e-link-e-divisore.html | 2 +- .../liste/per-menu-con-stato-attivo.html | 2 +- .../per-menu-con-stato-disabilitato.html | 2 +- .../liste/per-menu-multilinea-con-icona.html | 2 +- .../tabelle/allineamenti-verticali.html | 2 +- .../tabelle/annidamento.html | 2 +- .../organizzare-i-contenuti/tabelle/base.html | 2 +- .../tabelle/celle-colorate.html | 2 +- .../tabelle/compatta.html | 2 +- .../tabelle/con-bordi-varianti-di-colore.html | 2 +- .../tabelle/con-bordi.html | 2 +- .../tabelle/con-didascalia-al-piede.html | 2 +- .../tabelle/con-didascalia-in-alto.html | 2 +- .../tabelle/con-piede.html | 2 +- .../tabelle/con-stato-attivo.html | 2 +- .../tabelle/con-testata-scura.html | 2 +- .../responsive-breakpoint-specifici.html | 2 +- .../tabelle/responsive-sempre.html | 2 +- .../tabelle/righe-colorate.html | 2 +- .../tabelle/righe-con-stato-hover.html | 2 +- .../righe-striate-con-stato-hover.html | 2 +- .../tabelle/righe-striate-sfondo-scuro.html | 2 +- .../tabelle/righe-striate.html | 2 +- .../tabelle/senza-bordi-sfondo-scuro.html | 2 +- .../tabelle/senza-bordi.html | 2 +- .../tabelle/tabelle-colorate.html | 2 +- .../testo/allineato-a-sinistra.html | 2 +- ...n-troncamento-in-punti-di-sospensione.html | 2 +- .../testo/monospaziato.html | 2 +- .../testo/per-esteso-e-overflow.html | 2 +- .../organizzare-i-contenuti/testo/stile.html | 2 +- .../testo/trasformazioni.html | 2 +- .../testo/varianti-di-allineamento.html | 2 +- .../tipografia/abbreviazioni.html | 2 +- .../tipografia/citazione-a-destra.html | 2 +- .../tipografia/citazione-base.html | 2 +- .../citazione-card-con-sfondo-scuro.html | 2 +- .../tipografia/citazione-card.html | 2 +- .../tipografia/citazione-centrata.html | 2 +- .../tipografia/citazioni-con-fonte.html | 2 +- .../tipografia/citazioni.html | 2 +- .../intestazione-h1-in-evidenza.html | 2 +- .../tipografia/intestazioni.html | 2 +- .../tipografia/link.html | 2 +- .../lista-allineamento-descrizione.html | 2 +- .../tipografia/lista-inline.html | 2 +- .../tipografia/lista-senza-stile.html | 2 +- .../tipografia/lora.html | 2 +- .../markup-semantico-nei-paragrafi.html | 2 +- .../tipografia/paragrafi-contenuti.html | 2 +- .../tipografia/paragrafi-in-evidenza.html | 2 +- .../tipografia/roboto.html | 2 +- .../tipografia/tipografia-6.html | 2 +- .../tipografia/titillium-web.html | 2 +- .../colori-complementari-e-triadici.html | 2 +- .../colori-custom/colori-primari.html | 2 +- .../colori-custom/colori-secondari.html | 2 +- .../utilities/colori-custom/grigi-chiari.html | 2 +- .../varianti-colori-neutrali.html | 2 +- .../varianti-colori-secondari-analoghi.html | 2 +- ...ri-secondari-complementari-e-triadici.html | 2 +- ...rianti-monocromatiche-del-colore-base.html | 2 +- .../examples/bsi/utilities/colori/sfondo.html | 2 +- .../examples/bsi/utilities/colori/testo.html | 2 +- .../bsi/utilities/icone/allineamenti.html | 2 +- static/examples/bsi/utilities/icone/base.html | 2 +- .../utilities/icone/icone-disponibili.html | 2 +- .../bsi/utilities/icone/varianti-colori.html | 2 +- .../varianti-dimensioni-con-padding.html | 2 +- .../utilities/icone/varianti-dimensioni.html | 2 +- static/examples/templates/base.html | 2 +- 546 files changed, 562 insertions(+), 773 deletions(-) diff --git a/gatsby-node.js b/gatsby-node.js index bf8367d279..fb1b0e25f9 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -126,7 +126,9 @@ exports.createPages = async ({ graphql, actions }) => { } `); tags.data.tagsGroup.group.forEach((tag) => { - console.log(`Creating tag page: ${tag.fieldValue}`); + if (process.env.DEBUG === "true") { + console.log(`Creating tag page: ${tag.fieldValue}`); + } createPage({ path: `/argomenti/${_.kebabCase(tag.fieldValue)}/`, component: tagTemplate, @@ -153,7 +155,9 @@ exports.createPages = async ({ graphql, actions }) => { } `); tagsDesignSystem.data.tagsDesignSystemGroup.group.forEach((tag) => { - console.log(`Creating tag page: ${tag.fieldValue}`); + if (process.env.DEBUG === "true") { + console.log(`Creating tag page: ${tag.fieldValue}`); + } createPage({ path: `/design-system/componenti/utili-per/${_.kebabCase( tag.fieldValue, @@ -187,7 +191,10 @@ exports.createPages = async ({ graphql, actions }) => { const { node } = edge; node.metadata.redirect_from.forEach((fromPath) => { const toPath = edge.node.seo.pathname; - console.log(`Creating redirect: ${fromPath} -> ${toPath}...`); + if (process.env.DEBUG === "true") { + console.log(`Creating redirect: ${fromPath} -> ${toPath}...`); + } + createRedirect({ fromPath, toPath }); }); }); diff --git a/package-lock.json b/package-lock.json index 7a7fc4b899..092d4b9fb4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -63,7 +63,6 @@ "gh-pages": "^6.0.0", "mustache": "^4.2.0", "prettier": "3.0.3", - "recursive-copy-cli": "^1.0.20", "slugify": "^1.6.5" } }, @@ -5240,14 +5239,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/array-differ": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/array-flatten": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", @@ -6515,19 +6506,6 @@ "which": "bin/which" } }, - "node_modules/cliui": { - "version": "8.0.1", - "dev": true, - "license": "ISC", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/clone": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", @@ -7950,17 +7928,6 @@ "version": "0.9.1", "license": "MIT" }, - "node_modules/errno": { - "version": "0.1.8", - "dev": true, - "license": "MIT", - "dependencies": { - "prr": "~1.0.1" - }, - "bin": { - "errno": "cli.js" - } - }, "node_modules/error-ex": { "version": "1.3.2", "license": "MIT", @@ -11841,14 +11808,6 @@ "node": ">=8" } }, - "node_modules/highland": { - "version": "2.13.5", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "util-deprecate": "^1.0.2" - } - }, "node_modules/highlight.js": { "version": "10.7.3", "license": "BSD-3-Clause", @@ -13164,14 +13123,6 @@ "node": ">=4.0" } }, - "node_modules/junk": { - "version": "1.0.3", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/just-validate": { "version": "3.10.0", "resolved": "https://registry.npmjs.org/just-validate/-/just-validate-3.10.0.tgz", @@ -13588,39 +13539,6 @@ "outlayer": "^2.1.0" } }, - "node_modules/maximatch": { - "version": "0.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "array-differ": "^1.0.0", - "array-union": "^1.0.1", - "arrify": "^1.0.0", - "minimatch": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/maximatch/node_modules/array-union": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "array-uniq": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/maximatch/node_modules/arrify": { - "version": "1.0.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/mdast-util-definitions": { "version": "5.1.1", "license": "MIT", @@ -14705,11 +14623,6 @@ "version": "2.6.2", "license": "MIT" }, - "node_modules/nested-error-stacks": { - "version": "2.0.1", - "dev": true, - "license": "MIT" - }, "node_modules/next-tick": { "version": "1.1.0", "license": "ISC" @@ -16517,11 +16430,6 @@ "node": ">= 0.10" } }, - "node_modules/prr": { - "version": "1.0.1", - "dev": true, - "license": "MIT" - }, "node_modules/pseudomap": { "version": "1.0.2", "license": "ISC" @@ -16986,78 +16894,6 @@ "node": ">=8.10.0" } }, - "node_modules/recursive-copy": { - "version": "2.0.14", - "dev": true, - "license": "ISC", - "dependencies": { - "errno": "^0.1.2", - "graceful-fs": "^4.1.4", - "junk": "^1.0.1", - "maximatch": "^0.1.0", - "mkdirp": "^0.5.1", - "pify": "^2.3.0", - "promise": "^7.0.1", - "rimraf": "^2.7.1", - "slash": "^1.0.0" - } - }, - "node_modules/recursive-copy-cli": { - "version": "1.0.20", - "dev": true, - "license": "ISC", - "dependencies": { - "highland": "^2.13.5", - "lodash": "^4.17.19", - "recursive-copy": "^2.0.10", - "requireg": "^0.2.2", - "yargs": "^17.0.1" - }, - "bin": { - "recursive-copy": "src/cli.js" - }, - "engines": { - "node": ">=10.19.0" - } - }, - "node_modules/recursive-copy/node_modules/glob": { - "version": "7.2.3", - "dev": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/recursive-copy/node_modules/rimraf": { - "version": "2.7.1", - "dev": true, - "license": "ISC", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - } - }, - "node_modules/recursive-copy/node_modules/slash": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/recursive-readdir": { "version": "2.2.3", "license": "MIT", @@ -17327,26 +17163,6 @@ "version": "2.0.1", "license": "MIT" }, - "node_modules/requireg": { - "version": "0.2.2", - "dev": true, - "dependencies": { - "nested-error-stacks": "~2.0.1", - "rc": "~1.2.7", - "resolve": "~1.7.1" - }, - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/requireg/node_modules/resolve": { - "version": "1.7.1", - "dev": true, - "license": "MIT", - "dependencies": { - "path-parse": "^1.0.5" - } - }, "node_modules/resolve": { "version": "1.22.1", "license": "MIT", @@ -20023,14 +19839,6 @@ "resolved": "https://registry.npmjs.org/xxhash-wasm/-/xxhash-wasm-0.4.2.tgz", "integrity": "sha512-/eyHVRJQCirEkSZ1agRSCwriMhwlyUcFkXD5TPVSLP+IPzjsqMVzZwdoczLp1SoQU0R3dxz1RpIK+4YNQbCVOA==" }, - "node_modules/y18n": { - "version": "5.0.8", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=10" - } - }, "node_modules/yallist": { "version": "2.1.2", "license": "ISC" @@ -20063,23 +19871,6 @@ "node": ">= 14" } }, - "node_modules/yargs": { - "version": "17.6.2", - "dev": true, - "license": "MIT", - "dependencies": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/yargs-parser": { "version": "18.1.3", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", @@ -20100,14 +19891,6 @@ "node": ">=6" } }, - "node_modules/yargs/node_modules/yargs-parser": { - "version": "21.1.1", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=12" - } - }, "node_modules/yocto-queue": { "version": "0.1.0", "license": "MIT", diff --git a/package.json b/package.json index b82f4a95a8..a84aa86ef6 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "site" ], "scripts": { - "prepare-lib": "recursive-copy -w ./node_modules/bootstrap-italia/dist/svg/ ./static/svg/ && recursive-copy -w ./node_modules/bootstrap-italia/dist/svg/ ./static/dist/svg/ && recursive-copy -w ./node_modules/bootstrap-italia/dist/fonts/ ./static/fonts/ && recursive-copy -w ./node_modules/bootstrap-italia/dist/fonts/ ./static/dist/fonts/", + "prepare-lib": "cp -r node_modules/bootstrap-italia/dist/svg/ static/ && cp -r node_modules/bootstrap-italia/dist/fonts static/", "prepare-content": "node ./scripts/prepare.js", "start": "npm run prepare-lib && gatsby develop", "develop": "npm run start", @@ -88,7 +88,6 @@ "gh-pages": "^6.0.0", "mustache": "^4.2.0", "prettier": "3.0.3", - "recursive-copy-cli": "^1.0.20", "slugify": "^1.6.5" } } diff --git a/static/examples/bsi/come-iniziare/componente-base/base.html b/static/examples/bsi/come-iniziare/componente-base/base.html index 3b27454c1c..935fd3a50e 100644 --- a/static/examples/bsi/come-iniziare/componente-base/base.html +++ b/static/examples/bsi/come-iniziare/componente-base/base.html @@ -119,7 +119,7 @@ - \ No newline at end of file + diff --git a/static/examples/bsi/componenti/callout/pericolo-o-errore.html b/static/examples/bsi/componenti/callout/pericolo-o-errore.html index 2bdb73176d..2c63e2b350 100644 --- a/static/examples/bsi/componenti/callout/pericolo-o-errore.html +++ b/static/examples/bsi/componenti/callout/pericolo-o-errore.html @@ -129,7 +129,7 @@ - \ No newline at end of file + diff --git a/static/examples/bsi/componenti/dropdown/menu-con-voci-grandi.html b/static/examples/bsi/componenti/dropdown/menu-con-voci-grandi.html index 90f0430928..ee60d72542 100644 --- a/static/examples/bsi/componenti/dropdown/menu-con-voci-grandi.html +++ b/static/examples/bsi/componenti/dropdown/menu-con-voci-grandi.html @@ -128,7 +128,7 @@ - \ No newline at end of file + diff --git a/static/examples/bsi/componenti/progress-indicators/progresso-intederminato.html b/static/examples/bsi/componenti/progress-indicators/progresso-intederminato.html index d9dc1bc9bd..351542059a 100644 --- a/static/examples/bsi/componenti/progress-indicators/progresso-intederminato.html +++ b/static/examples/bsi/componenti/progress-indicators/progresso-intederminato.html @@ -122,7 +122,7 @@ - \ No newline at end of file + diff --git a/static/examples/bsi/menu-di-navigazione/footer/completo.html b/static/examples/bsi/menu-di-navigazione/footer/completo.html index 2c94598b57..ff36fbc2cb 100644 --- a/static/examples/bsi/menu-di-navigazione/footer/completo.html +++ b/static/examples/bsi/menu-di-navigazione/footer/completo.html @@ -252,7 +252,7 @@

Seguici su

- \ No newline at end of file + diff --git a/static/examples/bsi/menu-di-navigazione/footer/footer-1.html b/static/examples/bsi/menu-di-navigazione/footer/footer-1.html index a9facbb70f..7c5e777ef2 100644 --- a/static/examples/bsi/menu-di-navigazione/footer/footer-1.html +++ b/static/examples/bsi/menu-di-navigazione/footer/footer-1.html @@ -252,7 +252,7 @@

Seguici su

- \ No newline at end of file + diff --git a/static/examples/bsi/menu-di-navigazione/footer/footer-2.html b/static/examples/bsi/menu-di-navigazione/footer/footer-2.html index f0e635b02a..26900059a3 100644 --- a/static/examples/bsi/menu-di-navigazione/footer/footer-2.html +++ b/static/examples/bsi/menu-di-navigazione/footer/footer-2.html @@ -193,7 +193,7 @@

Seguici su

- \ No newline at end of file + diff --git a/static/examples/bsi/menu-di-navigazione/header/header-centrale-variante-chiara.html b/static/examples/bsi/menu-di-navigazione/header/header-centrale-variante-chiara.html index ba4a6da326..ca6d4a773b 100644 --- a/static/examples/bsi/menu-di-navigazione/header/header-centrale-variante-chiara.html +++ b/static/examples/bsi/menu-di-navigazione/header/header-centrale-variante-chiara.html @@ -175,7 +175,7 @@ - \ No newline at end of file + diff --git a/static/examples/bsi/organizzare-i-contenuti/liste/con-testo-aggiuntivo-azioni-multiple-e-metadata.html b/static/examples/bsi/organizzare-i-contenuti/liste/con-testo-aggiuntivo-azioni-multiple-e-metadata.html index 9a3aec6ed4..487ce86b46 100644 --- a/static/examples/bsi/organizzare-i-contenuti/liste/con-testo-aggiuntivo-azioni-multiple-e-metadata.html +++ b/static/examples/bsi/organizzare-i-contenuti/liste/con-testo-aggiuntivo-azioni-multiple-e-metadata.html @@ -222,7 +222,7 @@