-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Init csv translation, update packages * Implemented dynamic header translations * Added date translations * Reverted team member name translation * Remove unwind transform * Added recursive function to translate data * Added support for parent level translations, added comments * Added better support for discussion/replies with users, fixed heading parsing * Added ignore pattern for json2csv node module file * Revert ignore pattern config * Added ignore pattern, updated snaps * Added global timezone to jest config * Added unit tests * Added comment for clarity * Added slash to allowed characters/ removed unneeded field * Init an mimic EASI vite config/changes * Updated widget config, address/deleted unneeded unit tests * Updated cypress config * Push updates to snapshots and lock file * Revert run_tests.yml to main * Extend cypress timeout on login to account for vite sass * Add warmup * Revert "Add warmup" This reverts commit 64b1df3. * Clean then seed * Added cy.exec assertions and timeout * Add failOnNonZeroExit: false --------- Co-authored-by: Justin Woodson <Jdwoodson@gmail.com> Co-authored-by: ClayBenson94 <clay.benson@oddball.io>
- Loading branch information
1 parent
aa1a545
commit c466cc4
Showing
167 changed files
with
4,880 additions
and
11,780 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -228,3 +228,5 @@ Elasticsearch | |
Debezium | ||
StateTrace | ||
performant | ||
Vite | ||
EASI-3250 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
beforeEach(() => { | ||
cy.exec('scripts/dev db:clean').then(result => { | ||
cy.log('db:clean code', result.code); | ||
cy.log('db:clean stdout', result.stdout); | ||
cy.log('db:clean stderr', result.stderr); | ||
}); | ||
cy.exec('scripts/dev db:seed').then(result => { | ||
cy.log('db:seed code', result.code); | ||
cy.log('db:seed stdout', result.stdout); | ||
cy.log('db:seed stderr', result.stderr); | ||
cy.exec('scripts/dev db:clean', { | ||
timeout: 20000, | ||
failOnNonZeroExit: false | ||
}).then(cleanResult => { | ||
cy.log('db:clean code', cleanResult.code); | ||
cy.log('db:clean stdout', cleanResult.stdout); | ||
cy.log('db:clean stderr', cleanResult.stderr); | ||
|
||
cy.exec('scripts/dev db:seed', { | ||
timeout: 20000, | ||
failOnNonZeroExit: false | ||
}).then(seedResult => { | ||
cy.log('db:seed code', seedResult.code); | ||
cy.log('db:seed stdout', seedResult.stdout); | ||
cy.log('db:seed stderr', seedResult.stderr); | ||
}); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Migrate from Create React App & Craco to Vite | ||
|
||
**User Story:** [EASI-3250](https://jiraent.cms.gov/browse/EASI-3250) | ||
|
||
Meta (the organization who created React) has formally stopped recommending that developers use Create React App. The reasons won't be enumerated here in perfect detail, but this [Pull Request](https://github.com/reactjs/react.dev/pull/5487) on the official React docs site is a good place to start if you want more context. | ||
|
||
Given this recommendation, and with the fact that Vite promises (and delivers) faster compilation times, we have considered (and settled on) migrating the application to Vite. | ||
|
||
|
||
## Considered Alternatives | ||
|
||
* Stay on CRA/Craco | ||
* Migrate to Vite | ||
|
||
## Decision Outcome | ||
|
||
* Chosen Alternative: **Migrate to Vite** | ||
|
||
This approach, while a heavy lift, should provide us with faster compilation, better support, and a more modern toolchain. | ||
|
||
## Pros and Cons of the Alternatives | ||
|
||
### Stay on CRA/Craco | ||
|
||
* `+` No config changes to make | ||
* `+` CRA is a popular tool, despite its age and limitations | ||
* `-` Less efficient (larger) bundle sizes | ||
* `-` Much slower compilation times | ||
|
||
### Migrate to Vite | ||
|
||
* `+` Faster build times | ||
* `+` More active support and development | ||
* `-` Requires a lot of trial and error to migrate, with potential breaking changes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.