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

Upgrade node 18 #198

Merged
merged 3 commits into from
Nov 20, 2023
Merged

Upgrade node 18 #198

merged 3 commits into from
Nov 20, 2023

Conversation

phantomjinx
Copy link
Member

@phantomjinx phantomjinx commented Nov 17, 2023

* By default webpack resolve/modules contains the placeholder 'node_modules'
  which recursively checks each dependency for their own node_modules
  directory. The current config does not contain this so no recursive
  resolution occurs.

* No need for the override at all so removing from all webpack configs


* Upgrades type/node to 18.18.9

* The upgrade of type/node causes an incompatibility with the overriding
  of fetch where the API is verbose and difficult to patch. As we are
  simply wanting an interceptor to supply the authorization header, we can
  employ fetch-intercept instead. This registers a function that jumps in
  front of the request before it is sent, allowing the auth header to be
  added.

* Supercedes PR hawtio#190
@phantomjinx phantomjinx merged commit 3bcf2a0 into hawtio:main Nov 20, 2023
3 checks passed
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.

2 participants