mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
- 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
17 lines
458 B
Bash
Executable File
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 |