trying stuff

This commit is contained in:
Cody Seibert
2025-12-11 22:43:57 -05:00
parent 95913714cc
commit 8b62bf9817
4 changed files with 16 additions and 4 deletions

View File

@@ -25,7 +25,9 @@ jobs:
cache-dependency-path: package-lock.json
- name: Install dependencies
run: npm ci
# Use npm install instead of npm ci to correctly resolve platform-specific
# optional dependencies (e.g., @tailwindcss/oxide, lightningcss binaries)
run: npm install
- name: Run build:electron
run: npm run build:electron

View File

@@ -41,7 +41,9 @@ jobs:
cache-dependency-path: package-lock.json
- name: Install dependencies
run: npm ci
# Use npm install instead of npm ci to correctly resolve platform-specific
# optional dependencies (e.g., @tailwindcss/oxide, lightningcss binaries)
run: npm install
- name: Build Electron App (macOS)
if: matrix.os == 'macos-latest'

10
.npmrc Normal file
View File

@@ -0,0 +1,10 @@
# Cross-platform compatibility for Tailwind CSS v4 and lightningcss
# These packages use platform-specific optional dependencies that npm
# automatically resolves based on your OS (macOS, Linux, Windows, WSL)
#
# IMPORTANT: When switching platforms or getting platform mismatch errors:
# 1. Delete node_modules: rm -rf node_modules apps/*/node_modules
# 2. Run: npm install
#
# In CI/CD: Use "npm install" instead of "npm ci" to allow npm to resolve
# the correct platform-specific binaries at install time.

View File

@@ -43,14 +43,12 @@
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-tabs": "^1.1.13",
"@radix-ui/react-tooltip": "^1.2.8",
"@tailwindcss/oxide-linux-x64-gnu": "^4.1.17",
"@tanstack/react-query": "^5.90.12",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"dotenv": "^17.2.3",
"geist": "^1.5.1",
"lightningcss-linux-x64-gnu": "^1.30.2",
"lucide-react": "^0.556.0",
"next": "16.0.7",
"react": "19.2.0",