Skip to content

chore: update medium-risk dependencies#439

Open
gabitoesmiapodo wants to merge 1 commit intochore/update-depsfrom
chore/update-medium-risk-deps
Open

chore: update medium-risk dependencies#439
gabitoesmiapodo wants to merge 1 commit intochore/update-depsfrom
chore/update-medium-risk-deps

Conversation

@gabitoesmiapodo
Copy link
Copy Markdown
Collaborator

@gabitoesmiapodo gabitoesmiapodo commented Apr 1, 2026

Summary

Update dev tooling and build dependencies to their latest major versions. Affects development and CI pipeline only -- no runtime behavior changes.

Closes #435

Changes

  • @biomejs/biome 1.9.4 → 2.4.10: config migrated via biome migrate (schema URL, organizeImports moved to assist.actions.source, files.ignore converted to files.includes with negations); 93 source files reformatted
  • vitest 3.x → 4.1.2, @vitest/coverage-v8 3.x → 4.1.2: vite.config.ts triple-slash directive updated to vitest/config
  • jsdom 26.x → 29.0.1
  • @commitlint/cli 19.x → 20.5.0, @commitlint/config-conventional 19.x → 20.5.0
  • lint-staged 15.x → 16.4.0
  • @vitejs/plugin-react-swc 3.x → 4.3.0
  • vite-tsconfig-paths 5.x → 6.1.1
  • vite-plugin-sitemap 0.7.x → 0.8.2
  • @vercel/analytics 1.x → 2.0.1

Acceptance criteria

  • All listed packages updated
  • Migration guides followed for each major bump
  • Config files updated where required (biome.json, vite.config.ts)
  • pnpm lint && pnpm test && pnpm build pass
  • Git hooks (pre-commit, commit-msg, pre-push) still function correctly
  • Manual smoke test: dev server starts, app loads correctly

Test plan

  • pnpm lint -- pass (exit 0)
  • pnpm test -- 32 files, 170 tests pass
  • pnpm build -- pass
  • Commitlint and lint-staged hooks verified

Checklist

  • Self-reviewed my own diff
  • Tests added or updated
  • Docs updated (if applicable)
  • No unrelated changes bundled in

Update dev tooling and build dependencies to their latest major versions:

- @biomejs/biome 1.9.4 -> 2.4.10 (config migrated via biome migrate)
- vitest 3.x -> 4.1.2, @vitest/coverage-v8 3.x -> 4.1.2
- jsdom 26.x -> 29.0.1
- @commitlint/cli 19.x -> 20.5.0, config-conventional 19.x -> 20.5.0
- lint-staged 15.x -> 16.4.0
- @vitejs/plugin-react-swc 3.x -> 4.3.0
- vite-tsconfig-paths 5.x -> 6.1.1
- vite-plugin-sitemap 0.7.x -> 0.8.2
- @vercel/analytics 1.x -> 2.0.1

Closes #435
Copilot AI review requested due to automatic review settings April 1, 2026 19:14
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
components.dappbooster Ready Ready Preview, Comment Apr 1, 2026 7:16pm
demo.dappbooster Ready Ready Preview, Comment Apr 1, 2026 7:16pm
docs.dappbooster Ready Ready Preview, Comment Apr 1, 2026 7:16pm

Request Review

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates medium-risk developer tooling dependencies (Biome, Vitest, jsdom, commitlint, lint-staged, Vite plugins, Vercel Analytics) and applies the required config migrations/auto-formatting so the repo continues to lint, test, and build cleanly.

Changes:

  • Bump dev-tooling/build dependencies to new major versions and refresh pnpm-lock.yaml.
  • Migrate Biome configuration to the 2.x schema and updated config shape.
  • Update Vitest typing reference in vite.config.ts and apply Biome-driven import/format normalization across touched source files.

Reviewed changes

Copilot reviewed 96 out of 97 changed files in this pull request and generated no comments.

Show a summary per file
File Description
vocs.config.ts Import ordering normalized (Biome).
vite.config.ts Update Vitest types reference to vitest/config for Vite test config typing.
biome.json Biome 2.x schema + migrated organize-imports configuration and file include patterns.
package.json Dependency and devDependency major version bumps (Biome/Vitest/jsdom/commitlint/lint-staged/vite plugins/Vercel Analytics).
pnpm-lock.yaml Lockfile updated to reflect new dependency graph/versions.
src/utils/suspenseWrapper.tsx Import consolidation/ordering normalized (Biome).
src/utils/numberFormat.test.ts Import ordering normalized (Biome).
src/utils/hash.ts Import ordering normalized (Biome).
src/utils/hash.test.ts Import ordering normalized (Biome).
src/utils/getTransactionOutputs.ts Import ordering normalized (Biome).
src/utils/getTransactionOutputs.test.ts Import ordering normalized (Biome).
src/utils/getExplorerLink.test.ts Import ordering normalized (Biome).
src/routes/__root.tsx Import ordering normalized (Biome).
src/main.tsx Import ordering normalized (Biome).
src/providers/Web3Provider.tsx Import ordering normalized (Biome).
src/providers/TransactionNotificationProvider.tsx Import ordering normalized (Biome).
src/lib/wallets/web3modal.config.tsx Import ordering normalized (Biome).
src/lib/wallets/portoInit.ts Import ordering normalized (Biome).
src/lib/wallets/connectkit.config.tsx Import ordering normalized (Biome).
src/hooks/useWeb3Status.test.ts Import ordering normalized (Biome).
src/hooks/useWalletStatus.ts Import ordering normalized (Biome).
src/hooks/useTokens.ts Import ordering + inline type formatting normalized (Biome).
src/hooks/useTokenLists.ts Import ordering normalized (Biome).
src/hooks/useTokenLists.test.ts Import ordering normalized (Biome).
src/hooks/useOPL1CrossDomainMessengerProxy.ts Import ordering normalized (Biome).
src/hooks/useNetworkBlockNumber.ts Import ordering normalized (Biome).
src/hooks/useErc20Balance.test.ts Import ordering normalized (Biome).
src/constants/contracts/contracts.ts Type formatting normalized (Biome).
src/components/ui/toaster.tsx Import ordering normalized (Biome).
src/components/sharedComponents/WalletStatusVerifier.tsx Import ordering normalized (Biome).
src/components/sharedComponents/WalletStatusVerifier.test.tsx Import ordering normalized (Biome).
src/components/sharedComponents/ui/SwitchThemeButton/index.tsx Import ordering normalized (Biome).
src/components/sharedComponents/ui/SwitchThemeButton/assets/Light.tsx Import ordering normalized (Biome).
src/components/sharedComponents/ui/SwitchThemeButton/assets/Dark.tsx Import ordering normalized (Biome).
src/components/sharedComponents/ui/SwitchChainButton.tsx Import ordering normalized (Biome).
src/components/sharedComponents/ui/SecondaryButton/index.tsx Import ordering normalized (Biome).
src/components/sharedComponents/ui/PrimaryButton/index.tsx Import ordering normalized (Biome).
src/components/sharedComponents/ui/Modal/index.tsx Import ordering normalized (Biome).
src/components/sharedComponents/ui/Header/MobileMenu/MobileMenu.tsx Import consolidation/ordering normalized (Biome).
src/components/sharedComponents/ui/Header/MainMenu.tsx Import ordering normalized (Biome).
src/components/sharedComponents/ui/Header/Logo.tsx Import ordering normalized (Biome).
src/components/sharedComponents/ui/Header/index.tsx Import ordering normalized (Biome).
src/components/sharedComponents/ui/Footer/Socials/index.tsx Import ordering normalized (Biome).
src/components/sharedComponents/ui/Footer/index.tsx Import ordering normalized (Biome).
src/components/sharedComponents/ui/ExternalLink/index.tsx Import ordering normalized (Biome).
src/components/sharedComponents/ui/DropdownButton.tsx Import ordering normalized (Biome).
src/components/sharedComponents/TransactionButton.tsx Import ordering normalized (Biome).
src/components/sharedComponents/TransactionButton.test.tsx Import ordering normalized (Biome).
src/components/sharedComponents/TokenSelect/TopTokens/Item.tsx Import ordering normalized (Biome).
src/components/sharedComponents/TokenSelect/TopTokens/index.tsx Import ordering normalized (Biome).
src/components/sharedComponents/TokenSelect/Search/index.tsx Import ordering normalized (Biome).
src/components/sharedComponents/TokenSelect/List/TokenBalance.tsx Import ordering normalized (Biome).
src/components/sharedComponents/TokenSelect/List/Row.tsx Import ordering normalized (Biome).
src/components/sharedComponents/TokenSelect/List/index.tsx Import ordering normalized (Biome).
src/components/sharedComponents/TokenSelect/List/AddERC20TokenButton.tsx Import ordering normalized (Biome).
src/components/sharedComponents/TokenSelect/index.tsx Import ordering normalized (Biome).
src/components/sharedComponents/TokenLogo.tsx Import ordering normalized (Biome).
src/components/sharedComponents/TokenLogo.test.tsx Import ordering normalized (Biome).
src/components/sharedComponents/TokenInput/useTokenInput.tsx Import ordering normalized (Biome).
src/components/sharedComponents/TokenInput/index.tsx Import ordering normalized (Biome).
src/components/sharedComponents/TokenInput/Components.tsx Import ordering normalized (Biome).
src/components/sharedComponents/TokenDropdown.tsx Import ordering normalized (Biome).
src/components/sharedComponents/SwitchNetwork.tsx Import ordering normalized (Biome).
src/components/sharedComponents/SwitchNetwork.test.tsx Import ordering normalized (Biome).
src/components/sharedComponents/SignButton.tsx Import ordering normalized (Biome).
src/components/sharedComponents/NotificationToast.tsx Import ordering normalized (Biome).
src/components/sharedComponents/HashInput.tsx Import ordering normalized (Biome).
src/components/sharedComponents/Hash.tsx Import ordering normalized (Biome).
src/components/sharedComponents/ExplorerLink.tsx Import ordering normalized (Biome).
src/components/sharedComponents/dev/TanStackRouterDevtools.tsx Import ordering normalized (Biome).
src/components/sharedComponents/dev/TanStackReactQueryDevtools.tsx Import ordering normalized (Biome).
src/components/sharedComponents/ConnectButton/index.tsx Import ordering normalized (Biome).
src/components/sharedComponents/BigNumberInput.tsx Import ordering normalized (Biome).
src/components/pageComponents/NotFound404.tsx Import ordering normalized (Biome).
src/components/pageComponents/home/Welcome/index.tsx Import ordering normalized (Biome).
src/components/pageComponents/home/index.test.tsx Import ordering normalized (Biome).
src/components/pageComponents/home/Examples/List/index.tsx Import ordering normalized (Biome).
src/components/pageComponents/home/Examples/Item/index.tsx Import ordering normalized (Biome).
src/components/pageComponents/home/Examples/index.tsx Import ordering normalized (Biome).
src/components/pageComponents/home/Examples/demos/TransactionButton/NativeToken.tsx Import ordering normalized (Biome).
src/components/pageComponents/home/Examples/demos/TransactionButton/index.tsx Import ordering normalized (Biome).
src/components/pageComponents/home/Examples/demos/TransactionButton/index.test.tsx Import ordering normalized (Biome).
src/components/pageComponents/home/Examples/demos/TransactionButton/ERC20ApproveAndTransferButton/MintUSDC.tsx Import ordering normalized (Biome).
src/components/pageComponents/home/Examples/demos/TransactionButton/ERC20ApproveAndTransferButton/index.tsx Import ordering normalized (Biome).
src/components/pageComponents/home/Examples/demos/TransactionButton/ERC20ApproveAndTransferButton/ERC20ApproveAndTransferButton.tsx Import ordering normalized (Biome).
src/components/pageComponents/home/Examples/demos/TokenInput/index.tsx Import ordering normalized (Biome).
src/components/pageComponents/home/Examples/demos/TokenInput/index.test.tsx Import ordering normalized (Biome).
src/components/pageComponents/home/Examples/demos/TokenDropdown/index.tsx Import ordering normalized (Biome).
src/components/pageComponents/home/Examples/demos/SwitchNetwork/index.tsx Import ordering normalized (Biome).
src/components/pageComponents/home/Examples/demos/subgraphs/SubgraphStatus/index.tsx Import ordering normalized (Biome).
src/components/pageComponents/home/Examples/demos/subgraphs/Subgraph/index.tsx Import ordering normalized (Biome).
src/components/pageComponents/home/Examples/demos/SignMessage/index.tsx Import ordering normalized (Biome).
src/components/pageComponents/home/Examples/demos/OptionsDropdown/index.tsx Import ordering normalized (Biome).
src/components/pageComponents/home/Examples/demos/OptimismCrossDomainMessenger/index.tsx Import ordering normalized (Biome).
src/components/pageComponents/home/Examples/demos/HashHandling/index.tsx Import ordering normalized (Biome).
src/components/pageComponents/home/Examples/demos/HashHandling/Hash.tsx Import ordering normalized (Biome).
src/components/pageComponents/home/Examples/demos/EnsName/index.tsx Import ordering normalized (Biome).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gabitoesmiapodo gabitoesmiapodo linked an issue Apr 2, 2026 that may be closed by this pull request
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update medium-risk dependencies

2 participants