mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-30 02:31:16 -07:00
Update to Gatsby 4 (#1673)
* Update to Gatsby 4 - remove old/unused packages - update existing packages * Roll back Gatsby * Update README with package version info
This commit is contained in:
parent
88628291e8
commit
9882e9ba22
3 changed files with 623 additions and 894 deletions
|
@ -12,6 +12,7 @@ This README contains the following content:
|
|||
- [Feature toggling](#feature-toggling)
|
||||
- [Environment variables](#environment-variables)
|
||||
- [Debugging](#debugging)
|
||||
- [Package versions](#package-versions)
|
||||
|
||||
## Installing and running the client site
|
||||
|
||||
|
@ -203,3 +204,16 @@ When developing, to use a flag:
|
|||
4. Run the _Debug Chrome_ configuration by hitting the green play button
|
||||
5. Install the [CORS chrome extension](https://chrome.google.com/webstore/detail/allow-cors-access-control/lhobafahddgcelffkeicbaginigeejlf?hl=en) in the browser that is launched by the debugger.
|
||||
6. Set breakpoints in VS code!
|
||||
|
||||
|
||||
## Package Versions
|
||||
|
||||
The following attemps to explain why certain packages versions have been chosen and what their current limitations are
|
||||
|
||||
| package | current version | latest version | using latest? | how does it break? |
|
||||
|------------|-----------------|----------------|---------------|--------------------|
|
||||
| gatsby | 3.14.6 | 4.14.2 | No | when attempting to update - breaks all unit tests. Compatibility warning come up with all plugins but this doesn't seems to effect functionality. This is the latest version we can release without investigating unit tests. |
|
||||
| gatsby-cli | 3.14.2 | 4.15.2 | No | when attempting to update - breaks all unit tests. Compatibility warning come up with all plugins but this doesn't seems to effect functionality. This is the latest version we can release without investigating unit tests.|
|
||||
| sass | 1.32.12 | 1.52.3 | No | This version is needed to surpress the dart warnings on / as division for each component. See [here](https://github.com/twbs/bootstrap/issues/34051#issuecomment-845884423) for more information |
|
||||
| uswds | 2.11.2 | 3.0.2 | No | Needs to stay at 2.11 for peer dependency on trussworks|
|
||||
| trussworks | 2.9.0 | 3.0.2 | No | Needs to stay at 2.9 as 3.0 is breaking change |
|
1497
client/package-lock.json
generated
1497
client/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -69,17 +69,15 @@
|
|||
"license-checker": "^25.0.1",
|
||||
"prettier": "^2.6.0",
|
||||
"react-test-renderer": "^17.0.2",
|
||||
"sass": "^1.49.9",
|
||||
"sass": "~1.32.13",
|
||||
"sass-loader": "^11.1.1",
|
||||
"start-server-and-test": "^1.14.0",
|
||||
"ts-jest": "^27.1.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"-": "^0.0.1",
|
||||
"@sentry/gatsby": "^6.19.1",
|
||||
"@trussworks/react-uswds": "^2.8.0",
|
||||
"@trussworks/react-uswds": "^2.9.0",
|
||||
"@turf/bbox": "^6.5.0",
|
||||
"D": "^1.0.0",
|
||||
"d3-ease": "^3.0.1",
|
||||
"gatsby-plugin-env-variables": "^2.2.0",
|
||||
"gatsby-plugin-robots-txt": "^1.7.0",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue