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
22 lines
570 B
Bash
Executable File
22 lines
570 B
Bash
Executable File
#!/bin/bash
|
|
|
|
master_url="${FAVICON_MASTER_URL:-$NEXT_PUBLIC_NETWORK_ICON}"
|
|
export MASTER_URL="$master_url"
|
|
|
|
cd ./deploy/tools/favicon-generator
|
|
pnpm install --frozen-lockfile
|
|
node "$(pwd)/index.js"
|
|
if [ $? -ne 0 ]; then
|
|
cd ../../../
|
|
exit 1
|
|
else
|
|
cd ../../../
|
|
favicon_folder="./public/assets/favicon/"
|
|
|
|
echo "⏳ Replacing default favicons with freshly generated pack..."
|
|
if [ -d "$favicon_folder" ]; then
|
|
rm -r "$favicon_folder"
|
|
fi
|
|
mkdir -p "$favicon_folder"
|
|
cp -r ./deploy/tools/favicon-generator/output/* "$favicon_folder"
|
|
fi |