Skip to content

Provide @keycloak/keycloak-admin-client as commonjs project

Notifications You must be signed in to change notification settings

greentriangle/keycloak-cjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

keycloak-cjs

Usage

To install, run yarn add greentriangle/keycloak-cjs#semver:23.0.6.

To update this project, run yarn upgrade and then run yarn build to update the commonjs export index.js.

After committing git commit -a -m "Version upgrade to vX.X.X", add a new tag git tag vX.X.X and push it using git push --tags. Using version tags enable us to use #semver: in the yarn add command.

Finally, on dependent projects, run yarn upgrade greentriangle/keycloak-cjs#semver:X.X.X.

Background

@keycloak/keycloak-admin-client is a pure ESModule package, so it can't be used in CommonJS projects. To use it in CommonJS projects, we need to re-export it as a CommonJS module. Which this package does.

Based on this: keycloak/keycloak-nodejs-admin-client#523 (comment)

About

Provide @keycloak/keycloak-admin-client as commonjs project

Resources

Stars

Watchers

Forks

Packages

No packages published