From 27a00c237ea70d00ae80734bbb85f7bc9ec0fe30 Mon Sep 17 00:00:00 2001 From: Xoconoch Date: Mon, 4 Aug 2025 12:02:23 -0600 Subject: [PATCH] Preparing for docker build --- docker-compose.yaml | 2 +- spotizerr-ui/pnpm-lock.yaml | 88 ------------------- .../src/components/config/ProfileTab.tsx | 1 - .../components/config/UserManagementTab.tsx | 2 +- spotizerr-ui/src/lib/api-client.ts | 3 +- 5 files changed, 3 insertions(+), 93 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 2c19e70..476a9e2 100755 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -2,7 +2,7 @@ name: spotizerr services: spotizerr: - image: cooldockerizer93/spotizerr + image: cooldockerizer93/spotizerr:beta volumes: - ./data:/app/data - ./downloads:/app/downloads # <-- Change this for your music library dir diff --git a/spotizerr-ui/pnpm-lock.yaml b/spotizerr-ui/pnpm-lock.yaml index d7dc7a9..dd19649 100644 --- a/spotizerr-ui/pnpm-lock.yaml +++ b/spotizerr-ui/pnpm-lock.yaml @@ -47,9 +47,6 @@ importers: react-icons: specifier: ^5.5.0 version: 5.5.0(react@19.1.0) - socket.io-client: - specifier: ^4.8.1 - version: 4.8.1 sonner: specifier: ^2.0.5 version: 2.0.5(react-dom@19.1.0(react@19.1.0))(react@19.1.0) @@ -1194,9 +1191,6 @@ packages: cpu: [x64] os: [win32] - '@socket.io/component-emitter@3.1.2': - resolution: {integrity: sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==} - '@surma/rollup-plugin-off-main-thread@2.2.3': resolution: {integrity: sha512-lR8q/9W7hZpMWweNiAKU7NQerBnzQQLvi8qnTDU/fxItPhtZVMbPV3lbCwjhIlNBe9Bbr5V+KHshvWmVSG9cxQ==} @@ -1716,15 +1710,6 @@ packages: resolution: {integrity: sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==} engines: {node: '>= 0.4'} - debug@4.3.7: - resolution: {integrity: sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==} - engines: {node: '>=6.0'} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true - debug@4.4.1: resolution: {integrity: sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==} engines: {node: '>=6.0'} @@ -1778,13 +1763,6 @@ packages: electron-to-chromium@1.5.191: resolution: {integrity: sha512-xcwe9ELcuxYLUFqZZxL19Z6HVKcvNkIwhbHUz7L3us6u12yR+7uY89dSl570f/IqNthx8dAw3tojG7i4Ni4tDA==} - engine.io-client@6.6.3: - resolution: {integrity: sha512-T0iLjnyNWahNyv/lcjS2y4oE358tVS/SYQNxYXGAJ9/GLgH4VCvOQ/mhTjqU88mLZCQgiG8RIegFHYCdVC+j5w==} - - engine.io-parser@5.2.3: - resolution: {integrity: sha512-HqD3yTBfnBxIrbnM1DoD6Pcq8NECnh8d4As1Qgh0z5Gg3jRRIqijury0CL3ghu/edArpUYiYqQiDUQBIs4np3Q==} - engines: {node: '>=10.0.0'} - enhanced-resolve@5.18.1: resolution: {integrity: sha512-ZSW3ma5GkcQBIpwZTSRAI8N71Uuwgs93IezB7mf7R60tC8ZbJideoDNKjHn2O9KIlx6rkGTTEk1xUCK2E1Y2Yg==} engines: {node: '>=10.13.0'} @@ -2903,14 +2881,6 @@ packages: smob@1.5.0: resolution: {integrity: sha512-g6T+p7QO8npa+/hNx9ohv1E5pVCmWrVCUzUXJyLdMmftX6ER0oiWY/w9knEonLpnOp6b6FenKnMfR8gqwWdwig==} - socket.io-client@4.8.1: - resolution: {integrity: sha512-hJVXfu3E28NmzGk8o1sHhN3om52tRvwYeidbj7xKy2eIIse5IoKX3USlS6Tqt3BHAtflLIkCQBkzVrEEfWUyYQ==} - engines: {node: '>=10.0.0'} - - socket.io-parser@4.2.4: - resolution: {integrity: sha512-/GbIKmo8ioc+NIWIhwdecY0ge+qVBSMdgxGygevmdHj24bsfgtCmcUUcQ5ZzcylGFHsN3k4HB4Cgkl96KVnuew==} - engines: {node: '>=10.0.0'} - solid-js@1.9.7: resolution: {integrity: sha512-/saTKi8iWEM233n5OSi1YHCCuh66ZIQ7aK2hsToPe4tqGm7qAejU1SwNuTPivbWAYq7SjuHVVYxxuZQNRbICiw==} @@ -3307,18 +3277,6 @@ packages: wrappy@1.0.2: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} - ws@8.17.1: - resolution: {integrity: sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==} - engines: {node: '>=10.0.0'} - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: '>=5.0.2' - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - xhr@2.6.0: resolution: {integrity: sha512-/eCGLb5rxjx5e3mF1A7s+pLlR6CGyqWN91fv1JgER5mVWg1MZmlhBvy9kjcsOdRk8RrIujotWyJamfyrp+WIcA==} @@ -3333,10 +3291,6 @@ packages: resolution: {integrity: sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==} engines: {node: '>=4.0'} - xmlhttprequest-ssl@2.1.2: - resolution: {integrity: sha512-TEU+nJVUUnA4CYJFLvK5X9AOeH4KvDvhIfm0vV1GaQRtchnG0hgK5p8hw/xjv8cunWYCsiPCSDzObPyhEwq3KQ==} - engines: {node: '>=0.4.0'} - xtend@4.0.2: resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==} engines: {node: '>=0.4'} @@ -4448,8 +4402,6 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.42.0': optional: true - '@socket.io/component-emitter@3.1.2': {} - '@surma/rollup-plugin-off-main-thread@2.2.3': dependencies: ejs: 3.1.10 @@ -5021,10 +4973,6 @@ snapshots: es-errors: 1.3.0 is-data-view: 1.0.2 - debug@4.3.7: - dependencies: - ms: 2.1.3 - debug@4.4.1: dependencies: ms: 2.1.3 @@ -5070,20 +5018,6 @@ snapshots: electron-to-chromium@1.5.191: {} - engine.io-client@6.6.3: - dependencies: - '@socket.io/component-emitter': 3.1.2 - debug: 4.3.7 - engine.io-parser: 5.2.3 - ws: 8.17.1 - xmlhttprequest-ssl: 2.1.2 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - - engine.io-parser@5.2.3: {} - enhanced-resolve@5.18.1: dependencies: graceful-fs: 4.2.11 @@ -6306,24 +6240,6 @@ snapshots: smob@1.5.0: {} - socket.io-client@4.8.1: - dependencies: - '@socket.io/component-emitter': 3.1.2 - debug: 4.3.7 - engine.io-client: 6.6.3 - socket.io-parser: 4.2.4 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - - socket.io-parser@4.2.4: - dependencies: - '@socket.io/component-emitter': 3.1.2 - debug: 4.3.7 - transitivePeerDependencies: - - supports-color - solid-js@1.9.7: dependencies: csstype: 3.1.3 @@ -6821,8 +6737,6 @@ snapshots: wrappy@1.0.2: {} - ws@8.17.1: {} - xhr@2.6.0: dependencies: global: 4.4.0 @@ -6839,8 +6753,6 @@ snapshots: xmlbuilder@11.0.1: {} - xmlhttprequest-ssl@2.1.2: {} - xtend@4.0.2: {} yallist@3.1.1: {} diff --git a/spotizerr-ui/src/components/config/ProfileTab.tsx b/spotizerr-ui/src/components/config/ProfileTab.tsx index 9ae54c6..614ee35 100644 --- a/spotizerr-ui/src/components/config/ProfileTab.tsx +++ b/spotizerr-ui/src/components/config/ProfileTab.tsx @@ -1,7 +1,6 @@ import { useState } from "react"; import { useAuth } from "@/contexts/auth-context"; import { authApiClient } from "@/lib/api-client"; -import { toast } from "sonner"; export function ProfileTab() { const { user } = useAuth(); diff --git a/spotizerr-ui/src/components/config/UserManagementTab.tsx b/spotizerr-ui/src/components/config/UserManagementTab.tsx index f6b76df..6b4cc8c 100644 --- a/spotizerr-ui/src/components/config/UserManagementTab.tsx +++ b/spotizerr-ui/src/components/config/UserManagementTab.tsx @@ -2,7 +2,7 @@ import { useState, useEffect } from "react"; import { useAuth } from "@/contexts/auth-context"; import { authApiClient } from "@/lib/api-client"; import { toast } from "sonner"; -import type { User, CreateUserRequest, AdminPasswordResetRequest } from "@/types/auth"; +import type { User, CreateUserRequest } from "@/types/auth"; export function UserManagementTab() { const { user: currentUser } = useAuth(); diff --git a/spotizerr-ui/src/lib/api-client.ts b/spotizerr-ui/src/lib/api-client.ts index 203897a..f97c621 100644 --- a/spotizerr-ui/src/lib/api-client.ts +++ b/spotizerr-ui/src/lib/api-client.ts @@ -8,8 +8,7 @@ import type { AuthStatusResponse, User, CreateUserRequest, - SSOStatusResponse, - AdminPasswordResetRequest + SSOStatusResponse } from "@/types/auth"; class AuthApiClient {