Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@somethingnew2-0
Copy link
Collaborator

@somethingnew2-0 somethingnew2-0 commented Aug 4, 2025

create-react-app is deprecated and no longer being maintained, move to a more supported build tool instead

https://react.dev/blog/2025/02/14/sunsetting-create-react-app

@somethingnew2-0 somethingnew2-0 marked this pull request as ready for review August 15, 2025 00:54
Copilot AI review requested due to automatic review settings August 15, 2025 00:54

This comment was marked as outdated.

@savathoon savathoon requested a review from Copilot August 15, 2025 18:07
Copy link
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

This pull request migrates from the deprecated create-react-app (CRA) to Vite as the build tool for improved performance and ongoing support. The migration involves updating the build configuration, environment variable naming conventions, and dependency management.

  • Replace CRA and CRACO with Vite configuration and plugins
  • Update environment variable references from process.env.REACT_APP_* to import.meta.env.VITE_*
  • Migrate Sentry integration from CLI-based to Vite plugin-based source map handling

Reviewed Changes

Copilot reviewed 11 out of 15 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
vite.config.ts New Vite configuration with React plugin, Sentry integration, and test setup
package.json Updated dependencies and scripts to use Vite instead of CRA/CRACO
src/index.tsx Environment variable updates for Vite compatibility
src/api/apiFetcher.ts Environment variable updates for Vite compatibility
src/pages/groups/CreateUpdate.tsx Fixed operator precedence issue with string concatenation
index.html Updated HTML template for Vite with direct script imports
craco.config.js Removed obsolete CRACO configuration file
Dockerfile Updated build process to use Vite and new Sentry plugin approach
.vscode/settings.json Removed Python-specific settings unrelated to the migration
.github/workflows/docker-image.yml Updated Sentry secrets configuration for new plugin
.env.production.example Updated environment variable naming convention

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

savathoon
savathoon previously approved these changes Aug 15, 2025
Copy link
Contributor

@savathoon savathoon left a comment

Choose a reason for hiding this comment

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

Some questions but otherwise LGTM

@somethingnew2-0 somethingnew2-0 merged commit 7458a6a into main Aug 15, 2025
6 checks passed
@somethingnew2-0 somethingnew2-0 deleted the vite branch August 15, 2025 22:44
sean-m-benson added a commit to sean-m-benson/access that referenced this pull request Sep 17, 2025
Given [this PR](discord#325), I believe the documentation needs to be updated to reflect the use of Vite.
sean-m-benson added a commit to sean-m-benson/access that referenced this pull request Sep 17, 2025
Given [this PR](discord#325), I believe the documentation needs to be updated to reflect the use of Vite.
sean-m-benson added a commit to sean-m-benson/access that referenced this pull request Sep 17, 2025
Given [this PR](discord#325), I believe the documentation needs to be updated to reflect the use of Vite.
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.

3 participants