Skip to content

chore(deps): update#176

Merged
fmorency merged 14 commits intoliftedinit:mainfrom
fmorency:next-update
Oct 15, 2025
Merged

chore(deps): update#176
fmorency merged 14 commits intoliftedinit:mainfrom
fmorency:next-update

Conversation

@fmorency
Copy link
Copy Markdown
Contributor

@fmorency fmorency commented Oct 10, 2025

This pull request introduces a major migration from Create React App (CRA) to Vite as the build tool for the project, along with an upgrade to Node.js 22.20.0 and related dependency updates. The changes affect environment variable handling, build/test scripts, dependencies, and CI configuration, and include targeted code updates to support the new toolchain.

Build System Migration and Environment Updates

  • Migrated build system from CRA (react-app-rewired) to Vite, updating all build and test scripts in package.json to use Vite and Vitest, and removing CRA-specific dependencies.
  • Refactored environment variable usage: replaced all REACT_APP_ prefixed variables with VITE_ prefixes across .env, .env.production, and .env.staging files, and updated code to use import.meta.env for variable access. [1] [2] [3] [4]
  • Added a new index.html entry point for Vite, replacing the previous CRA setup.

Node.js and Dependency Upgrades

  • Upgraded Node.js version from 20.9.0 to 22.20.0 in .nvmrc and .circleci/config.yml, and updated the matrix for CI workflows accordingly. [1] [2] [3] [4] [5]
  • Updated and aligned dependencies and devDependencies to versions compatible with React 18 and Vite, including major upgrades to react, react-dom, @chakra-ui/react, and others.

Test and CI Adjustments

  • Updated CircleCI test command to use npm run test:run and Vitest, and adjusted Node version checks for CI workflows. [1] [2]
  • Refactored test files to use act from react instead of react-dom/test-utils, and replaced Jest globals with Vitest equivalents (vi). [1] [2]

Codebase Modernization and Compatibility Fixes

  • Updated usage of Chakra UI components to use new props (isDisabled instead of disabled, w="full" instead of isFullWidth). [1] [2]
  • Refactored account and social login code to use new environment variable access and updated Web3Auth API usage for compatibility with newer versions. [1] [2] [3] [4] [5]
  • Improved type safety and component props in AccountSelector and related files.

These changes collectively modernize the codebase, improve build performance, and ensure compatibility with the latest tools and libraries.

@fmorency fmorency self-assigned this Oct 10, 2025
@netlify
Copy link
Copy Markdown

netlify Bot commented Oct 10, 2025

Deploy Preview for lifted-alberto ready!

Name Link
🔨 Latest commit cb05561
🔍 Latest deploy log https://app.netlify.com/projects/lifted-alberto/deploys/68eff7ceb08e900008e7440b
😎 Deploy Preview https://deploy-preview-176--lifted-alberto.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 10, 2025

Codecov Report

❌ Patch coverage is 33.48624% with 145 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@c40d25c). Learn more about missing BASE report.
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
vite.config.ts 0.00% 57 Missing ⚠️
src/polyfills.ts 0.00% 20 Missing ⚠️
vitest.config.ts 0.00% 17 Missing ⚠️
.../accounts/components/social-login/social-login.tsx 18.18% 9 Missing ⚠️
.../txn-list/txn-list-item/multisig-txn-list-item.tsx 0.00% 8 Missing ⚠️
...-list/txn-list-item/add-features-txn-list-item.tsx 0.00% 7 Missing ⚠️
...s/components/account-selector/account-selector.tsx 0.00% 6 Missing ⚠️
...onents/txn-list/txn-list-item/base-txn-details.tsx 16.66% 5 Missing ⚠️
src/views/app/app.provider.tsx 0.00% 4 Missing ⚠️
src/views/layout/layout.tsx 62.50% 3 Missing ⚠️
... and 7 more
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #176   +/-   ##
=======================================
  Coverage        ?   52.30%           
=======================================
  Files           ?      184           
  Lines           ?     9965           
  Branches        ?      444           
=======================================
  Hits            ?     5212           
  Misses          ?     4738           
  Partials        ?       15           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@fmorency fmorency marked this pull request as ready for review October 15, 2025 15:08
@fmorency fmorency merged commit ff5cc13 into liftedinit:main Oct 15, 2025
10 checks passed
@fmorency fmorency deleted the next-update branch October 15, 2025 19:40
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