Files
zeekay 7049344343 Switch from yarn to pnpm, clean up dependency tree
- Replace yarn v1 with pnpm 10.11.0 across all build configs
- Move misplaced deps to devDependencies (cspell, esbuild, @openzeppelin/contracts, @next/bundle-analyzer, @types/papaparse, @types/react-scroll)
- Remove stale @types/[email protected] override — use correct React 19 types (fixes 22 type errors)
- Convert yarn resolutions to pnpm.overrides
- Update Dockerfile, Dockerfile.lux, CI workflows, and all shell scripts
- Add .npmrc with shamefully-hoist for Next.js compatibility
- Add outputFileTracingRoot to next.config.js
2026-02-24 17:35:30 -08:00

17 lines
458 B
Bash
Executable File

#!/bin/bash
# Install build tools required for native dependencies
apt-get update && apt-get install -y \
build-essential \
python3 \
cmake \
pkg-config \
libssl-dev \
&& rm -rf /var/lib/apt/lists/*
# Set environment variables to help with native compilation
export npm_config_build_from_source=false
export npm_config_prefer_offline=true
export NODE_PATH=$(pwd)/node_modules_linux
pnpm install --modules-folder node_modules_linux