From 757ba547a6f4712a7d57cff0355d70fe75f66a99 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 28 Apr 2026 07:50:42 +0000 Subject: [PATCH] Delete storybook (ct) after migration to ProxmoxVE (#1763) Co-authored-by: github-actions[bot] --- ct/headers/storybook | 6 ---- ct/storybook.sh | 54 ----------------------------------- install/storybook-install.sh | 55 ------------------------------------ json/storybook.json | 44 ----------------------------- 4 files changed, 159 deletions(-) delete mode 100644 ct/headers/storybook delete mode 100644 ct/storybook.sh delete mode 100644 install/storybook-install.sh delete mode 100644 json/storybook.json diff --git a/ct/headers/storybook b/ct/headers/storybook deleted file mode 100644 index a0e7f1e8..00000000 --- a/ct/headers/storybook +++ /dev/null @@ -1,6 +0,0 @@ - _____ __ __ __ - / ___// /_____ _______ __/ /_ ____ ____ / /__ - \__ \/ __/ __ \/ ___/ / / / __ \/ __ \/ __ \/ //_/ - ___/ / /_/ /_/ / / / /_/ / /_/ / /_/ / /_/ / ,< -/____/\__/\____/_/ \__, /_.___/\____/\____/_/|_| - /____/ diff --git a/ct/storybook.sh b/ct/storybook.sh deleted file mode 100644 index 3ac60894..00000000 --- a/ct/storybook.sh +++ /dev/null @@ -1,54 +0,0 @@ -#!/usr/bin/env bash -source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func) - -# Copyright (c) 2021-2026 community-scripts ORG -# Author: community-scripts -# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE -# Source: https://github.com/storybookjs/storybook - -APP="Storybook" -var_tags="${var_tags:-dev-tools;frontend;ui}" -var_cpu="${var_cpu:-2}" -var_ram="${var_ram:-2048}" -var_disk="${var_disk:-8}" -var_os="${var_os:-debian}" -var_version="${var_version:-13}" -var_unprivileged="${var_unprivileged:-1}" - -header_info "$APP" -variables -color -catch_errors - -function update_script() { - header_info - check_container_storage - check_container_resources - - if [[ ! -f /opt/storybook/.projectpath ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - - PROJECT_PATH=$(cat /opt/storybook/.projectpath) - - if [[ ! -d "$PROJECT_PATH" ]]; then - msg_error "Project directory not found: $PROJECT_PATH" - exit - fi - - msg_info "Updating Storybook" - cd "$PROJECT_PATH" - $STD npx storybook@latest upgrade --yes - msg_ok "Updated Storybook" - exit -} - -start -build_container -description - -msg_ok "Completed Successfully!\n" -echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" -echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:6006${CL}" diff --git a/install/storybook-install.sh b/install/storybook-install.sh deleted file mode 100644 index df792cdc..00000000 --- a/install/storybook-install.sh +++ /dev/null @@ -1,55 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2021-2026 community-scripts ORG -# Author: MickLesk (CanbiZ) -# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE -# Source: https://github.com/storybookjs/storybook - -source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" -color -verb_ip6 -catch_errors -setting_up_container -network_check -update_os - -NODE_VERSION="24" NODE_MODULE="pnpm" setup_nodejs - -msg_info "Preparing Storybook" -mkdir -p /opt/storybook -cd /opt/storybook -msg_ok "Important: Interactive configuration will start now." - -npx -y storybook@latest init --yes --no-dev -PROJECT_PATH=$(find /opt/storybook -maxdepth 2 -name ".storybook" -type d 2>/dev/null | head -n1 | xargs dirname) - -if [[ -z "$PROJECT_PATH" ]]; then - PROJECT_PATH="/opt/storybook" -fi - -cd "$PROJECT_PATH" -echo "$PROJECT_PATH" >/opt/storybook/.projectpath - -msg_info "Creating Service" -cat </etc/systemd/system/storybook.service -[Unit] -Description=Storybook Dev Server -After=network.target - -[Service] -Type=simple -User=root -WorkingDirectory=${PROJECT_PATH} -ExecStart=/usr/bin/npx storybook dev --host 0.0.0.0 --port 6006 --no-open -Restart=on-failure -RestartSec=5 - -[Install] -WantedBy=multi-user.target -EOF -systemctl enable -q --now storybook -msg_ok "Created Service" - -motd_ssh -customize -cleanup_lxc diff --git a/json/storybook.json b/json/storybook.json deleted file mode 100644 index 3daa8f6c..00000000 --- a/json/storybook.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "Storybook", - "slug": "storybook", - "categories": [ - 20 - ], - "date_created": "2026-03-25", - "type": "ct", - "updateable": true, - "privileged": false, - "interface_port": 6006, - "documentation": "https://storybook.js.org/docs", - "website": "https://storybook.js.org/", - "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/storybook.webp", - "description": "Storybook is a frontend workshop for building UI components and pages in isolation. It's used for UI development, testing, and documentation.", - "install_methods": [ - { - "type": "default", - "script": "ct/storybook.sh", - "config_path": "", - "resources": { - "cpu": 2, - "ram": 2048, - "hdd": 8, - "os": "Debian", - "version": "13" - } - } - ], - "default_credentials": { - "username": null, - "password": null - }, - "notes": [ - { - "text": "The installer uses an interactive setup wizard (like fumadocs). Follow the prompts during installation.", - "type": "info" - }, - { - "text": "Storybook runs in development mode on port 6006.", - "type": "info" - } - ] -}