@keycloak/keycloak-admin-client 16.0.0-dev.53 → 16.0.0-dev.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +16 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -102,6 +102,22 @@ await kcAdminClient.auth(credentials);
102
102
  setInterval(() => kcAdminClient.auth(credentials), 58 * 1000); // 58 seconds
103
103
  ```
104
104
 
105
+ ## Building and running the tests
106
+ To build the source do a build:
107
+
108
+ ```bash
109
+ npm run build
110
+ ```
111
+ Start keycloak in a docker container or run it locally:
112
+ ```bash
113
+ docker run --name keycloak -d -p 127.0.0.1:8080:8080 -e KEYCLOAK_USER=wwwy3y3 -e KEYCLOAK_PASSWORD=wwwy3y3 quay.io/keycloak/keycloak:latest
114
+ ```
115
+ If you started your container manually make sure there is an admin user named www3y3 with password www3y3 as admin on master realm.
116
+ Then start the tests with:
117
+ ```bash
118
+ npm run test
119
+ ```
120
+
105
121
  ## Supported APIs
106
122
 
107
123
  ### [Realm admin](https://www.keycloak.org/docs-api/11.0/rest-api/index.html#_realms_admin_resource)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keycloak/keycloak-admin-client",
3
- "version": "16.0.0-dev.53",
3
+ "version": "16.0.0-dev.54",
4
4
  "description": "keycloak admin client",
5
5
  "main": "lib/index.js",
6
6
  "files": [