Skip to content

chore: make injective-ui optional; minimal config for mainnet dev#1034

Closed
ckhbtc wants to merge 2 commits into
devfrom
chore/optional-layer-and-minimal-config
Closed

chore: make injective-ui optional; minimal config for mainnet dev#1034
ckhbtc wants to merge 2 commits into
devfrom
chore/optional-layer-and-minimal-config

Conversation

@ckhbtc

@ckhbtc ckhbtc commented Oct 6, 2025

Copy link
Copy Markdown
Contributor
  • Adds LOCAL_LAYER-gated Vite aliases so the vendored layer is optional
  • Restores defineNuxtConfig import
  • Adds yarn script to fetch the layer locally without committing it
  • Ignores injective-ui/ in .gitignore to keep the PR minimal

This keeps the repo lean while allowing local dev on mainnet with public endpoints. Set LOCAL_LAYER=true and run yarn layer:fetch to work with the layer locally.

Chris Khan added 2 commits October 6, 2025 10:13
… precise Vite aliases for @shared/* paths\n- local layer extends; alias fixes and caches cleared\n- add Service API proxies; export TURNKEY_CONTAINER_ID\n- fix SECONDS_IN_A_DAY usage; install missing deps\n- mainnet env endpoints and local run stability
@coderabbitai

coderabbitai Bot commented Oct 6, 2025

Copy link
Copy Markdown

Important

Review skipped

More than 25% of the files skipped due to max files limit. The review is being skipped to prevent a low-quality review.

192 files out of 299 files are above the max files limit of 100. Please upgrade to Pro plan to get higher limits.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/optional-layer-and-minimal-config

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​magic-ext/​cosmos@​24.4.0 ⏵ 23.9.178 +410061 +4100 +1100
Added@​walletconnect/​safe-json@​1.0.01001006581100
Updated@​magic-sdk/​commons@​25.4.0 ⏵ 25.4.294 -210066 +399 -1100
Added@​cosmostation/​cosmos-client@​0.0.5741006783100
Added@​trezor/​websocket-client@​1.1.0-beta.11001006792100
Added@​trezor/​type-utils@​1.1.41001006995100
Added@​walletconnect/​browser-utils@​1.8.0991007082100
Added@​walletconnect/​iso-crypto@​1.8.01001007182100
Added@​walletconnect/​socket-transport@​1.8.01001007282100
Added@​cosmostation/​wc-modal@​0.0.4721007283100
Updated@​walletconnect/​window-metadata@​1.0.1 ⏵ 1.0.0100 +11007381100
Updated@​injectivelabs/​wallet-strategy@​1.16.7 ⏵ 1.16.1674 +310088 +1100100
Updated@​injectivelabs/​wallet-cosmos-strategy@​1.16.7 ⏵ 1.16.1675 +310088 +1100100
Added@​walletconnect/​window-getters@​1.0.01001007581100
Updated@​walletconnect/​core@​2.18.1 ⏵ 1.8.0100 +110075 +198 +1100
Updatedscheduler@​0.23.2 ⏵ 0.19.110010075 +197100
Updated@​injectivelabs/​wallet-private-key@​1.16.7 ⏵ 1.16.1675 +110099 +1100100
Updated@​injectivelabs/​wallet-magic@​1.16.7 ⏵ 1.16.1676 +210099100100
Updated@​injectivelabs/​wallet-wallet-connect@​1.16.7 ⏵ 1.16.1676 +110099100100
Updated@​injectivelabs/​wallet-cosmostation@​1.16.7 ⏵ 1.16.1676 +110099100100
Added@​walletconnect/​randombytes@​1.1.01001007783100
Addedqr.js@​0.0.01001007777100
Updated@​injectivelabs/​indexer-proto-ts@​1.13.14 ⏵ 1.13.18100 +110077 +1100 +1100
Updated@​injectivelabs/​wallet-turnkey@​1.16.7 ⏵ 1.16.1677100100100 +1100
Addedfast-stable-stringify@​1.0.01001009577100
Updated@​injectivelabs/​wallet-cosmos@​1.16.7 ⏵ 1.16.1677 +1100100100100
Updatedreact@​18.3.1 ⏵ 16.14.010010077 -797 +1100
Addedbigint-buffer@​1.1.5928610078100
Updated@​injectivelabs/​wallet-trezor@​1.16.7 ⏵ 1.16.1678 +2100100100100
Addedts-mixer@​6.0.410010010078100
Updated@​magic-sdk/​provider@​29.4.0 ⏵ 29.5.096 -110078 +299 -1100
Addedbchaddrjs@​0.5.210010010078100
See 45 more rows in the dashboard

View full report

@ckhbtc ckhbtc closed this Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant