Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React / NodeJs 18 / Typescript / Webpack 5 Upgrade #3501

Merged
merged 111 commits into from
Feb 16, 2024
Merged

React / NodeJs 18 / Typescript / Webpack 5 Upgrade #3501

merged 111 commits into from
Feb 16, 2024

Conversation

t83714
Copy link
Contributor

@t83714 t83714 commented Dec 12, 2023

What this PR does

Fixes:

  • React 18 Upgrade & NodeJs Upgrade #3484
  • Upgrade to Node 18 #3472
  • React 18 Upgrade & NodeJs Upgrade #3484
  • replace ts-node with tsx
  • replace nyc with c8
  • web worker handling re-written
  • Upgraded to typescript 5 & webpack 5
  • Move away from the pancake #3486: Removed @gov.au/pancake from dependencies
  • re-written frontend web worker handling
  • fixed: when the supplied API key is not found, 401 code will be responded rather than 500
  • adjusted CI pipeline workflow
  • replaced isomorphic-fetch with cross-fetch
  • replaced request lib usage (including registry client libs) with cross-fetch or node-fetch
  • removed request function export from @magda/utils & @magda/typescript-common
  • reduced the size of magda-scss-compiler docker image
  • upgraded http-proxy, pg & other dependencies

Checklist

  • There are unit tests to verify my changes are correct
  • I've updated CHANGES.md with what I changed.

- correct getUserApiKeyById error message
- remove magda-web-server `devProxy`
- replace request lib usage with node-fetch
- remove "request" function from @magda/utils
- clean up remove "request" from other modules
- remove unused `pkg` dependency
- scss-compiler cleanUp code should skip package.json
@t83714 t83714 added this to the v2.3.4 milestone Feb 16, 2024
@t83714 t83714 merged commit 2e90219 into main Feb 16, 2024
4 checks passed
@t83714 t83714 deleted the react-18 branch February 16, 2024 05:56
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