From 4c4b3e5463eaf1d41e5bc3422c208bd0a65e20be Mon Sep 17 00:00:00 2001 From: Jamie Pine Date: Mon, 2 Feb 2026 00:36:24 -0800 Subject: [PATCH] Update dependencies and enhance project configuration - Removed `lucide-react` version 0.454.0 and downgraded to version 0.316.0 in `bun.lock`. - Added `@tailwindcss/vite` and `tailwindcss` as development dependencies in `package.json`. - Updated Vite configuration to include Tailwind CSS plugin. - Set the HTML document to use a dark theme by adding the `class="dark"` attribute to the `` tag. --- .github/workflows/release.yml | 17 +++++++++++------ bun.lock | 7 +++---- web/index.html | 2 +- web/package.json | 2 ++ web/vite.config.ts | 3 ++- 5 files changed, 19 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4ee9475f..bfc92e62 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,15 +59,20 @@ jobs: python-version: ${{ matrix.python-version }} cache: "pip" - - name: Install Python dependencies (CPU) - if: matrix.provider == 'pytorch-cpu' + - name: Install CPU-only torch (Linux) + if: matrix.provider == 'pytorch-cpu' && matrix.platform == 'ubuntu-22.04' + run: | + python -m pip install --upgrade pip + pip install pyinstaller + pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu + pip install -r providers/pytorch-cpu/requirements.txt + pip install -r backend/requirements.txt + + - name: Install Python dependencies (CPU - non-Linux) + if: matrix.provider == 'pytorch-cpu' && matrix.platform != 'ubuntu-22.04' run: | python -m pip install --upgrade pip pip install pyinstaller - # Install CPU-only torch on Linux to avoid CUDA bloat - if [ "${{ matrix.platform }}" == "ubuntu-22.04" ]; then - pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu - fi pip install -r providers/pytorch-cpu/requirements.txt pip install -r backend/requirements.txt diff --git a/bun.lock b/bun.lock index 2a2e89f0..bcbf37be 100644 --- a/bun.lock +++ b/bun.lock @@ -48,7 +48,6 @@ "clsx": "^2.1.1", "date-fns": "^3.6.0", "framer-motion": "^12.29.0", - "lucide-react": "^0.454.0", "motion": "^12.29.0", "react": "^18.3.0", "react-dom": "^18.3.0", @@ -128,6 +127,7 @@ "zustand": "^4.5.0", }, "devDependencies": { + "@tailwindcss/vite": "^4.1.18", "@types/react": "^18.3.0", "@types/react-dom": "^18.3.0", "@typescript-eslint/eslint-plugin": "^7.0.0", @@ -136,6 +136,7 @@ "eslint": "^8.57.0", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.0", + "tailwindcss": "^4.1.0", "typescript": "^5.6.0", "vite": "^5.4.0", }, @@ -890,7 +891,7 @@ "lru-cache": ["lru-cache@5.1.1", "", { "dependencies": { "yallist": "^3.0.2" } }, "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w=="], - "lucide-react": ["lucide-react@0.454.0", "", { "peerDependencies": { "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc" } }, "sha512-hw7zMDwykCLnEzgncEEjHeA6+45aeEzRYuKHuyRSOPkhko+J3ySGjGIzu+mmMfDFG1vazHepMaYFYHbTFAZAAQ=="], + "lucide-react": ["lucide-react@0.316.0", "", { "peerDependencies": { "react": "^16.5.1 || ^17.0.0 || ^18.0.0" } }, "sha512-dTmYX1H4IXsRfVcj/KUxworV6814ApTl7iXaS21AimK2RUEl4j4AfOmqD3VR8phe5V91m4vEJ8tCK4uT1jE5nA=="], "magic-string": ["magic-string@0.30.21", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.5" } }, "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ=="], @@ -1146,8 +1147,6 @@ "@typescript-eslint/typescript-estree/semver": ["semver@7.7.3", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q=="], - "@voicebox/landing/lucide-react": ["lucide-react@0.316.0", "", { "peerDependencies": { "react": "^16.5.1 || ^17.0.0 || ^18.0.0" } }, "sha512-dTmYX1H4IXsRfVcj/KUxworV6814ApTl7iXaS21AimK2RUEl4j4AfOmqD3VR8phe5V91m4vEJ8tCK4uT1jE5nA=="], - "@voicebox/landing/tailwind-merge": ["tailwind-merge@3.4.0", "", {}, "sha512-uSaO4gnW+b3Y2aWoWfFpX62vn2sR3skfhbjsEnaBI81WD1wBLlHZe5sWf0AqjksNdYTbGBEd0UasQMT3SNV15g=="], "@voicebox/landing/tailwindcss": ["tailwindcss@3.4.19", "", { "dependencies": { "@alloc/quick-lru": "^5.2.0", "arg": "^5.0.2", "chokidar": "^3.6.0", "didyoumean": "^1.2.2", "dlv": "^1.1.3", "fast-glob": "^3.3.2", "glob-parent": "^6.0.2", "is-glob": "^4.0.3", "jiti": "^1.21.7", "lilconfig": "^3.1.3", "micromatch": "^4.0.8", "normalize-path": "^3.0.0", "object-hash": "^3.0.0", "picocolors": "^1.1.1", "postcss": "^8.4.47", "postcss-import": "^15.1.0", "postcss-js": "^4.0.1", "postcss-load-config": "^4.0.2 || ^5.0 || ^6.0", "postcss-nested": "^6.2.0", "postcss-selector-parser": "^6.1.2", "resolve": "^1.22.8", "sucrase": "^3.35.0" }, "bin": { "tailwind": "lib/cli.js", "tailwindcss": "lib/cli.js" } }, "sha512-3ofp+LL8E+pK/JuPLPggVAIaEuhvIz4qNcf3nA1Xn2o/7fb7s/TYpHhwGDv1ZU3PkBluUVaF8PyCHcm48cKLWQ=="], diff --git a/web/index.html b/web/index.html index 1ae976ad..c7a4be9f 100644 --- a/web/index.html +++ b/web/index.html @@ -1,5 +1,5 @@ - + diff --git a/web/package.json b/web/package.json index 1f44b3df..0fa0534d 100644 --- a/web/package.json +++ b/web/package.json @@ -17,6 +17,7 @@ "wavesurfer.js": "^7.0.0" }, "devDependencies": { + "@tailwindcss/vite": "^4.1.18", "@types/react": "^18.3.0", "@types/react-dom": "^18.3.0", "@typescript-eslint/eslint-plugin": "^7.0.0", @@ -25,6 +26,7 @@ "eslint": "^8.57.0", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.0", + "tailwindcss": "^4.1.0", "typescript": "^5.6.0", "vite": "^5.4.0" } diff --git a/web/vite.config.ts b/web/vite.config.ts index 27a79a73..e418b3ef 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -1,9 +1,10 @@ import path from 'node:path'; +import tailwindcss from '@tailwindcss/vite'; import react from '@vitejs/plugin-react'; import { defineConfig } from 'vite'; export default defineConfig({ - plugins: [react()], + plugins: [tailwindcss(), react()], resolve: { alias: { '@': path.resolve(__dirname, '../app/src'),