Skip to content

chore: use modern keycloak types#65

Open
alukach wants to merge 3 commits intomainfrom
chore/use-keycloak-types
Open

chore: use modern keycloak types#65
alukach wants to merge 3 commits intomainfrom
chore/use-keycloak-types

Conversation

@alukach
Copy link
Member

@alukach alukach commented Mar 13, 2026

What I'm changing

This codebase currently uses @types/keycloak-js which was last updated 8 years ago and is now deprecated:

image

Instead, we now use the types packages with keycloak-js

How I did it

  1. Rm @types/keycloak-js
  2. Set moduleResolution in tsconfig.json from node to bundler. node is for versions of Node <v10. Seeing as we're using Rollup, bundler feels appropriate. This allows TS to find the Keycloak types.
  3. Update types
  4. For reasons that aren't entirely clear to me, I needed to also exclude some test files from packaging and install a testing library

@alukach alukach requested review from AliceR and danielfdsilva March 13, 2026 05:32
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