From c9e4f5de0cb8caefbcb3e397204747dc483a8ef6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 26 Oct 2026 08:32:25 +0100 Subject: [PATCH] remove old -install.sh (verdaccio) (#18218) * verdaccio: bump Node.js from 24 to 26 * Delete install/verdaccio-install.sh --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: CanbiZ (MickLesk) <47820557+MickLesk@users.noreply.github.com> --- install/verdaccio-install.sh | 85 ------------------------------------ 1 file changed, 85 deletions(-) delete mode 100644 install/verdaccio-install.sh diff --git a/install/verdaccio-install.sh b/install/verdaccio-install.sh deleted file mode 100644 index a241c6e25..000000000 --- a/install/verdaccio-install.sh +++ /dev/null @@ -1,85 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2021-2026 community-scripts ORG -# Author: BrynnJKnight -# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://verdaccio.org/ | Github: https://github.com/verdaccio/verdaccio - -source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" -color -verb_ip6 -catch_errors -setting_up_container -network_check -update_os - -msg_info "Installing Dependencies" -$STD apt install -y build-essential -msg_ok "Installed Dependencies" - -NODE_VERSION="24" NODE_MODULE="verdaccio" setup_nodejs - -msg_info "Configuring Verdaccio" -mkdir -p /opt/verdaccio/config -mkdir -p /opt/verdaccio/storage -cat </opt/verdaccio/config/config.yaml -# Verdaccio configuration -storage: /opt/verdaccio/storage -auth: - htpasswd: - file: /opt/verdaccio/storage/htpasswd - max_users: 1000 -uplinks: - npmjs: - url: https://registry.npmjs.org/ -packages: - '@*/*': - access: \$all - publish: \$authenticated - proxy: npmjs - '**': - access: \$all - publish: \$authenticated - proxy: npmjs -middlewares: - audit: - enabled: true -logs: - - {type: stdout, format: pretty, level: http} -listen: - - 0.0.0.0:4873 -web: - enable: true - title: Verdaccio - gravatar: true - sort_packages: asc - login: true -EOF -chown -R root:root /opt/verdaccio -chmod -R 755 /opt/verdaccio -msg_ok "Configured Verdaccio" - -msg_info "Creating Service" -cat </etc/systemd/system/verdaccio.service -[Unit] -Description=Verdaccio lightweight private npm proxy registry -After=network.target - -[Service] -Type=simple -ExecStart=/usr/bin/verdaccio --config /opt/verdaccio/config/config.yaml -Restart=on-failure -StandardOutput=journal -StandardError=journal -SyslogIdentifier=verdaccio -KillMode=control-group - -[Install] -WantedBy=multi-user.target -EOF -systemctl enable -q --now verdaccio -msg_ok "Created Service" - -motd_ssh -customize -cleanup_lxc